From 1d18e65bc2014a10484c20aa0c97dfcc39d439c7 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 1 Sep 2026 19:29:21 +0000 Subject: [PATCH] feat(generation): update request builders and models Update generated files with build 238048 --- .../generated/admin/admin_request_builder.py | 2 +- .../configuration_drifts_request_builder.py | 46 - ...onfiguration_drift_item_request_builder.py | 81 - ...onfiguration_management_request_builder.py | 169 +- ...tion_monitoring_results_request_builder.py | 46 - ..._monitoring_result_item_request_builder.py | 81 - .../item/baseline/baseline_request_builder.py | 81 - ...iguration_snapshot_jobs_request_builder.py | 56 - ...ation_snapshot_job_item_request_builder.py | 45 - ...configuration_snapshots_request_builder.py | 56 - ...iguration_baseline_item_request_builder.py | 81 - .../generated/base_graph_service_client.py | 2 + .../device_app_management_request_builder.py | 4 +- ...enhanced_log_collection_request_builder.py | 78 + .../managed_device_item_request_builder.py | 20 + .../count/count_request_builder.py | 3 + ...ity_baseline_state_item_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...line_setting_state_item_request_builder.py | 7 + .../setting_states_request_builder.py | 6 + ...ecurity_baseline_states_request_builder.py | 6 + ...hanced_log_collection_post_request_body.py | 50 + ...enhanced_log_collection_request_builder.py | 86 + ...ce_report_summarization_request_builder.py | 3 + ...on_user_state_summaries_request_builder.py | 7 + ...enhanced_log_collection_request_builder.py | 78 + .../managed_device_item_request_builder.py | 20 + .../count/count_request_builder.py | 3 + ...ity_baseline_state_item_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...line_setting_state_item_request_builder.py | 7 + .../setting_states_request_builder.py | 6 + ...ecurity_baseline_states_request_builder.py | 6 + ...hanced_log_collection_post_request_body.py | 50 + ...enhanced_log_collection_request_builder.py | 86 + .../begin_onboarding_post_request_body.py | 50 + .../begin_onboarding_request_builder.py | 14 +- .../devices/devices_request_builder.py | 10 + .../provision/provision_post_request_body.py | 50 + .../provision/provision_request_builder.py | 89 + .../add_tag/add_tag_post_request_body.py | 54 + .../add_tag/add_tag_post_response.py | 58 + .../add_tag/add_tag_request_builder.py | 89 + .../impacted_resources_request_builder.py | 20 + .../accept_risk_request_builder.py | 81 + .../item/add_tag/add_tag_post_request_body.py | 50 + .../item/add_tag/add_tag_request_builder.py | 89 + ...ly_alternate_mitigation_request_builder.py | 81 + .../impacted_resource_item_request_builder.py | 60 + .../mark_planned_request_builder.py | 81 + .../remove_tag_post_request_body.py | 50 + .../remove_tag/remove_tag_request_builder.py | 89 + .../item/tags}/count/count_request_builder.py | 6 +- ...recommendation_tag_item_request_builder.py | 188 + .../item/tags/tags_request_builder.py | 208 + .../remove_tag_post_request_body.py | 54 + .../remove_tag/remove_tag_post_response.py | 58 + .../remove_tag/remove_tag_request_builder.py | 89 + .../accept_risk_request_builder.py | 81 + .../item/add_tag/add_tag_post_request_body.py | 50 + .../item/add_tag/add_tag_request_builder.py | 89 + ...ly_alternate_mitigation_request_builder.py | 81 + .../add_tag/add_tag_post_request_body.py | 54 + .../add_tag/add_tag_post_response.py | 58 + .../add_tag/add_tag_request_builder.py | 89 + .../impacted_resources_request_builder.py | 20 + .../accept_risk_request_builder.py | 81 + .../item/add_tag/add_tag_post_request_body.py | 50 + .../item/add_tag/add_tag_request_builder.py | 89 + ...ly_alternate_mitigation_request_builder.py | 81 + .../impacted_resource_item_request_builder.py | 60 + .../mark_planned_request_builder.py | 81 + .../remove_tag_post_request_body.py | 50 + .../remove_tag/remove_tag_request_builder.py | 89 + .../item/tags}/count/count_request_builder.py | 6 +- ...recommendation_tag_item_request_builder.py | 188 + .../item/tags/tags_request_builder.py | 208 + .../remove_tag_post_request_body.py | 54 + .../remove_tag/remove_tag_post_response.py | 58 + .../remove_tag/remove_tag_request_builder.py | 89 + .../mark_planned_request_builder.py | 81 + .../recommendation_item_request_builder.py | 60 + .../remove_tag_post_request_body.py | 50 + .../remove_tag/remove_tag_request_builder.py | 89 + .../item/tags}/count/count_request_builder.py | 6 +- ...recommendation_tag_item_request_builder.py | 188 + .../item/tags/tags_request_builder.py | 208 + .../governance_invitations_request_builder.py | 12 +- ...ernance_invitation_item_request_builder.py | 8 +- ...rnance_policy_templates_request_builder.py | 44 +- ...e_policy_template_item_request_builder.py} | 44 +- ...overnance_relationships_request_builder.py | 12 +- ...nance_relationship_item_request_builder.py | 8 +- .../governance_requests_request_builder.py | 12 +- ...ernance_policy_template_request_builder.py | 18 +- ...governance_request_item_request_builder.py | 10 +- ...ign_in_activity_metrics_request_builder.py | 12 +- ..._b_registration_metrics_request_builder.py | 12 +- ...ign_in_activity_metrics_request_builder.py | 12 +- .../billing_metrics_request_builder.py | 12 +- ...ant_application_metrics_request_builder.py | 12 +- .../related_tenant_item_request_builder.py | 18 +- .../refresh_request_builder.py} | 14 +- .../refresh_status_request_builder.py} | 18 +- .../related_tenants_request_builder.py | 28 +- ...enable_related_tenants_request_builder.py} | 14 +- .../settings/settings_request_builder.py | 16 +- .../tenant_governance_request_builder.py | 18 +- ...ign_sensitivity_label_post_request_body.py | 7 + .../communities_request_builder.py | 10 - ...gement_async_operations_request_builder.py | 56 - ...nt_async_operation_item_request_builder.py | 81 - .../engagement_role_item_request_builder.py | 81 - ...gement_role_member_item_request_builder.py | 45 - .../roles/roles_request_builder.py | 56 - .../access_reviews_request_builder.py | 7 + .../decisions/count/count_request_builder.py | 3 + .../decisions/decisions_request_builder.py | 7 + ...by_current_user_with_on_request_builder.py | 3 + ...ance_decision_item_item_request_builder.py | 7 + .../insights/count/count_request_builder.py | 3 + .../item/insights/insights_request_builder.py | 6 + ...governance_insight_item_request_builder.py | 7 + .../record_all_decisions_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../definitions_request_builder.py | 7 + ...by_current_user_with_on_request_builder.py | 3 + ...chedule_definition_item_request_builder.py | 7 + .../instances/count/count_request_builder.py | 3 + ...by_current_user_with_on_request_builder.py | 3 + .../instances/instances_request_builder.py | 7 + .../accept_recommendations_request_builder.py | 3 + ...ss_review_instance_item_request_builder.py | 7 + .../apply_decisions_request_builder.py | 3 + ...ided_resource_decisions_request_builder.py | 3 + .../batch_record_decisions_request_builder.py | 3 + .../contacted_reviewers_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...ss_review_reviewer_item_request_builder.py | 7 + .../decisions/count/count_request_builder.py | 3 + .../decisions/decisions_request_builder.py | 7 + ...by_current_user_with_on_request_builder.py | 3 + ...ance_decision_item_item_request_builder.py | 7 + .../insights/count/count_request_builder.py | 3 + .../item/insights/insights_request_builder.py | 6 + ...governance_insight_item_request_builder.py | 7 + .../record_all_decisions_request_builder.py | 3 + .../definition/definition_request_builder.py | 3 + .../reset_decisions_request_builder.py | 3 + .../send_reminder_request_builder.py | 3 + .../stages/count/count_request_builder.py | 3 + ...by_current_user_with_on_request_builder.py | 3 + .../accept_recommendations_request_builder.py | 3 + ...ccess_review_stage_item_request_builder.py | 7 + .../batch_record_decisions_request_builder.py | 3 + .../decisions/count/count_request_builder.py | 3 + .../decisions/decisions_request_builder.py | 7 + ...by_current_user_with_on_request_builder.py | 3 + ...ance_decision_item_item_request_builder.py | 7 + .../insights/count/count_request_builder.py | 3 + .../item/insights/insights_request_builder.py | 6 + ...governance_insight_item_request_builder.py | 7 + .../record_all_decisions_request_builder.py | 3 + .../stages/item/stop/stop_request_builder.py | 3 + .../item/stages/stages_request_builder.py | 7 + .../item/stop/stop_request_builder.py | 3 + .../stop_apply_decisions_request_builder.py | 3 + .../item/stop/stop_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../history_definitions_request_builder.py | 6 + ...history_definition_item_request_builder.py | 7 + .../instances/count/count_request_builder.py | 3 + .../instances/instances_request_builder.py | 6 + ...w_history_instance_item_request_builder.py | 7 + .../generate_download_uri_request_builder.py | 3 + .../instances/count/count_request_builder.py | 3 + ...by_current_user_with_on_request_builder.py | 3 + .../instances/instances_request_builder.py | 7 + .../accept_recommendations_request_builder.py | 3 + ...ss_review_instance_item_request_builder.py | 7 + .../apply_decisions_request_builder.py | 3 + ...ided_resource_decisions_request_builder.py | 3 + .../batch_record_decisions_request_builder.py | 3 + .../contacted_reviewers_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...ss_review_reviewer_item_request_builder.py | 7 + .../decisions/count/count_request_builder.py | 3 + .../decisions/decisions_request_builder.py | 7 + ...by_current_user_with_on_request_builder.py | 3 + ...ance_decision_item_item_request_builder.py | 7 + .../insights/count/count_request_builder.py | 3 + .../item/insights/insights_request_builder.py | 6 + ...governance_insight_item_request_builder.py | 7 + .../record_all_decisions_request_builder.py | 3 + .../definition/definition_request_builder.py | 3 + .../reset_decisions_request_builder.py | 3 + .../send_reminder_request_builder.py | 3 + .../stages/count/count_request_builder.py | 3 + ...by_current_user_with_on_request_builder.py | 3 + .../accept_recommendations_request_builder.py | 3 + ...ccess_review_stage_item_request_builder.py | 7 + .../batch_record_decisions_request_builder.py | 3 + .../decisions/count/count_request_builder.py | 3 + .../decisions/decisions_request_builder.py | 7 + ...by_current_user_with_on_request_builder.py | 3 + ...ance_decision_item_item_request_builder.py | 7 + .../insights/count/count_request_builder.py | 3 + .../item/insights/insights_request_builder.py | 6 + ...governance_insight_item_request_builder.py | 7 + .../record_all_decisions_request_builder.py | 3 + .../stages/item/stop/stop_request_builder.py | 3 + .../item/stages/stages_request_builder.py | 7 + .../item/stop/stop_request_builder.py | 3 + .../stop_apply_decisions_request_builder.py | 3 + .../policy/policy_request_builder.py | 7 + .../decisions/count/count_request_builder.py | 3 + .../decisions/decisions_request_builder.py | 7 + ...by_current_user_with_on_request_builder.py | 3 + ...ance_decision_item_item_request_builder.py | 7 + .../insights/count/count_request_builder.py | 3 + .../item/insights/insights_request_builder.py | 6 + ...governance_insight_item_request_builder.py | 7 + .../record_all_decisions_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../definitions_request_builder.py | 7 + ...by_current_user_with_on_request_builder.py | 3 + ...chedule_definition_item_request_builder.py | 7 + .../instances/count/count_request_builder.py | 3 + ...by_current_user_with_on_request_builder.py | 3 + .../instances/instances_request_builder.py | 7 + .../accept_recommendations_request_builder.py | 3 + ...ss_review_instance_item_request_builder.py | 7 + .../apply_decisions_request_builder.py | 3 + ...ided_resource_decisions_request_builder.py | 3 + .../batch_record_decisions_request_builder.py | 3 + .../contacted_reviewers_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...ss_review_reviewer_item_request_builder.py | 7 + .../decisions/count/count_request_builder.py | 3 + .../decisions/decisions_request_builder.py | 7 + ...by_current_user_with_on_request_builder.py | 3 + ...ance_decision_item_item_request_builder.py | 7 + .../insights/count/count_request_builder.py | 3 + .../item/insights/insights_request_builder.py | 6 + ...governance_insight_item_request_builder.py | 7 + .../record_all_decisions_request_builder.py | 3 + .../definition/definition_request_builder.py | 3 + .../reset_decisions_request_builder.py | 3 + .../send_reminder_request_builder.py | 3 + .../stages/count/count_request_builder.py | 3 + ...by_current_user_with_on_request_builder.py | 3 + .../accept_recommendations_request_builder.py | 3 + ...ccess_review_stage_item_request_builder.py | 7 + .../batch_record_decisions_request_builder.py | 3 + .../decisions/count/count_request_builder.py | 3 + .../decisions/decisions_request_builder.py | 7 + ...by_current_user_with_on_request_builder.py | 3 + ...ance_decision_item_item_request_builder.py | 7 + .../insights/count/count_request_builder.py | 3 + .../item/insights/insights_request_builder.py | 6 + ...governance_insight_item_request_builder.py | 7 + .../record_all_decisions_request_builder.py | 3 + .../stages/item/stop/stop_request_builder.py | 3 + .../item/stages/stages_request_builder.py | 7 + .../item/stop/stop_request_builder.py | 3 + .../stop_apply_decisions_request_builder.py | 3 + .../item/stop/stop_request_builder.py | 3 + .../instances/count/count_request_builder.py | 3 + ...by_current_user_with_on_request_builder.py | 3 + .../instances/instances_request_builder.py | 7 + .../accept_recommendations_request_builder.py | 3 + ...ss_review_instance_item_request_builder.py | 7 + .../apply_decisions_request_builder.py | 3 + ...ided_resource_decisions_request_builder.py | 3 + .../batch_record_decisions_request_builder.py | 3 + .../contacted_reviewers_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...ss_review_reviewer_item_request_builder.py | 7 + .../decisions/count/count_request_builder.py | 3 + .../decisions/decisions_request_builder.py | 7 + ...by_current_user_with_on_request_builder.py | 3 + ...ance_decision_item_item_request_builder.py | 7 + .../insights/count/count_request_builder.py | 3 + .../item/insights/insights_request_builder.py | 6 + ...governance_insight_item_request_builder.py | 7 + .../record_all_decisions_request_builder.py | 3 + .../definition/definition_request_builder.py | 3 + .../reset_decisions_request_builder.py | 3 + .../send_reminder_request_builder.py | 3 + .../stages/count/count_request_builder.py | 3 + ...by_current_user_with_on_request_builder.py | 3 + .../accept_recommendations_request_builder.py | 3 + ...ccess_review_stage_item_request_builder.py | 7 + .../batch_record_decisions_request_builder.py | 3 + .../decisions/count/count_request_builder.py | 3 + .../decisions/decisions_request_builder.py | 7 + ...by_current_user_with_on_request_builder.py | 3 + ...ance_decision_item_item_request_builder.py | 7 + .../insights/count/count_request_builder.py | 3 + .../item/insights/insights_request_builder.py | 6 + ...governance_insight_item_request_builder.py | 7 + .../record_all_decisions_request_builder.py | 3 + .../stages/item/stop/stop_request_builder.py | 3 + .../item/stages/stages_request_builder.py | 7 + .../item/stop/stop_request_builder.py | 3 + .../stop_apply_decisions_request_builder.py | 3 + .../unified/unified_request_builder.py | 7 + .../app_consent_request_builder.py | 7 + .../app_consent_requests_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...by_current_user_with_on_request_builder.py | 3 + ...pp_consent_request_item_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...by_current_user_with_on_request_builder.py | 3 + .../item/approval/approval_request_builder.py | 7 + .../steps/count/count_request_builder.py | 3 + .../approval_step_item_request_builder.py | 7 + .../approval/steps/steps_request_builder.py | 6 + ...er_consent_request_item_request_builder.py | 7 + .../user_consent_requests_request_builder.py | 7 + ...ge_assignment_approvals_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...by_current_user_with_on_request_builder.py | 3 + .../item/approval_item_request_builder.py | 7 + .../item/steps/count/count_request_builder.py | 3 + .../approval_step_item_request_builder.py | 7 + .../item/steps/steps_request_builder.py | 6 + ...signment_resource_roles_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...ment_resource_role_item_request_builder.py | 7 + ...ess_package_assignments_request_builder.py | 4 + .../count/count_request_builder.py | 3 + ...package_assignment_item_request_builder.py | 3 + ...ge_resource_environment_request_builder.py | 3 + ...access_package_resource_request_builder.py | 7 + ..._package_resource_roles_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...kage_resource_role_item_request_builder.py | 7 + ...package_resource_scopes_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...ge_resource_environment_request_builder.py | 3 + ...access_package_resource_request_builder.py | 7 + ..._package_resource_roles_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...kage_resource_role_item_request_builder.py | 7 + ...igin_resource_connector_request_builder.py | 3 + .../refresh/refresh_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...rce_upload_session_item_request_builder.py | 7 + .../item/files/count/count_request_builder.py | 3 + .../item/files/files_request_builder.py | 4 + ...ided_resource_file_item_request_builder.py | 3 + .../item/value/content_request_builder.py | 7 + .../upload_file_request_builder.py | 3 + .../upload_sessions_request_builder.py | 6 + ...age_resource_scope_item_request_builder.py | 7 + ...igin_resource_connector_request_builder.py | 3 + .../refresh/refresh_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...rce_upload_session_item_request_builder.py | 7 + .../item/files/count/count_request_builder.py | 3 + .../item/files/files_request_builder.py | 4 + ...ided_resource_file_item_request_builder.py | 3 + .../item/value/content_request_builder.py | 7 + .../upload_file_request_builder.py | 3 + .../upload_sessions_request_builder.py | 6 + ...s_package_resource_role_request_builder.py | 7 + ...ge_resource_environment_request_builder.py | 3 + ...access_package_resource_request_builder.py | 7 + ..._package_resource_roles_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...ge_resource_environment_request_builder.py | 3 + ...access_package_resource_request_builder.py | 7 + ...package_resource_scopes_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...age_resource_scope_item_request_builder.py | 7 + ...igin_resource_connector_request_builder.py | 3 + .../refresh/refresh_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...rce_upload_session_item_request_builder.py | 7 + .../item/files/count/count_request_builder.py | 3 + .../item/files/files_request_builder.py | 4 + ...ided_resource_file_item_request_builder.py | 3 + .../item/value/content_request_builder.py | 7 + .../upload_file_request_builder.py | 3 + .../upload_sessions_request_builder.py | 6 + ...kage_resource_role_item_request_builder.py | 7 + ...package_resource_scopes_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...age_resource_scope_item_request_builder.py | 7 + ...igin_resource_connector_request_builder.py | 3 + .../refresh/refresh_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...rce_upload_session_item_request_builder.py | 7 + .../item/files/count/count_request_builder.py | 3 + .../item/files/files_request_builder.py | 4 + ...ided_resource_file_item_request_builder.py | 3 + .../item/value/content_request_builder.py | 7 + .../upload_file_request_builder.py | 3 + .../upload_sessions_request_builder.py | 6 + ..._package_resource_scope_request_builder.py | 7 + .../access_package_subject_request_builder.py | 7 + .../connected_organization_request_builder.py | 3 + .../my/my_request_builder.py | 3 + ...ess_package_assignments_request_builder.py | 8 + .../additional_access_request_builder.py | 3 + ...tible_access_package_id_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...by_current_user_with_on_request_builder.py | 3 + .../access_package_request_builder.py | 8 + ...ge_resource_role_scopes_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...ge_resource_environment_request_builder.py | 3 + ...access_package_resource_request_builder.py | 7 + ..._package_resource_roles_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...kage_resource_role_item_request_builder.py | 7 + ...package_resource_scopes_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...ge_resource_environment_request_builder.py | 3 + ...access_package_resource_request_builder.py | 7 + ..._package_resource_roles_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...kage_resource_role_item_request_builder.py | 7 + ...igin_resource_connector_request_builder.py | 3 + .../refresh/refresh_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...rce_upload_session_item_request_builder.py | 7 + .../item/files/count/count_request_builder.py | 3 + .../item/files/files_request_builder.py | 4 + ...ided_resource_file_item_request_builder.py | 3 + .../item/value/content_request_builder.py | 7 + .../upload_file_request_builder.py | 3 + .../upload_sessions_request_builder.py | 6 + ...age_resource_scope_item_request_builder.py | 7 + ...igin_resource_connector_request_builder.py | 3 + .../refresh/refresh_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...rce_upload_session_item_request_builder.py | 7 + .../item/files/count/count_request_builder.py | 3 + .../item/files/files_request_builder.py | 4 + ...ided_resource_file_item_request_builder.py | 3 + .../item/value/content_request_builder.py | 7 + .../upload_file_request_builder.py | 3 + .../upload_sessions_request_builder.py | 6 + ...s_package_resource_role_request_builder.py | 7 + ...esource_role_scope_item_request_builder.py | 7 + ...ge_resource_environment_request_builder.py | 3 + ...access_package_resource_request_builder.py | 7 + ..._package_resource_roles_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...ge_resource_environment_request_builder.py | 3 + ...access_package_resource_request_builder.py | 7 + ...package_resource_scopes_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...age_resource_scope_item_request_builder.py | 7 + ...igin_resource_connector_request_builder.py | 3 + .../refresh/refresh_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...rce_upload_session_item_request_builder.py | 7 + .../item/files/count/count_request_builder.py | 3 + .../item/files/files_request_builder.py | 4 + ...ided_resource_file_item_request_builder.py | 3 + .../item/value/content_request_builder.py | 7 + .../upload_file_request_builder.py | 3 + .../upload_sessions_request_builder.py | 6 + ...kage_resource_role_item_request_builder.py | 7 + ...package_resource_scopes_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...age_resource_scope_item_request_builder.py | 7 + ...igin_resource_connector_request_builder.py | 3 + .../refresh/refresh_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...rce_upload_session_item_request_builder.py | 7 + .../item/files/count/count_request_builder.py | 3 + .../item/files/files_request_builder.py | 4 + ...ided_resource_file_item_request_builder.py | 3 + .../item/value/content_request_builder.py | 7 + .../upload_file_request_builder.py | 3 + .../upload_sessions_request_builder.py | 6 + ..._package_resource_scope_request_builder.py | 7 + ...kages_incompatible_with_request_builder.py | 4 + .../count/count_request_builder.py | 3 + .../access_package_item_request_builder.py | 3 + ...e_with_with_unique_name_request_builder.py | 3 + ...ble_policy_requirements_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...patible_access_packages_request_builder.py | 3 + .../item/ref/ref_request_builder.py | 3 + .../ref/ref_request_builder.py | 7 + .../count/count_request_builder.py | 3 + .../incompatible_groups_request_builder.py | 3 + .../item/ref/ref_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...ice_provisioning_errors_request_builder.py | 3 + .../ref/ref_request_builder.py | 7 + .../move_to_catalog_request_builder.py | 3 + ...package_assignment_item_request_builder.py | 7 + ...signment_resource_roles_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...ment_resource_role_item_request_builder.py | 7 + ...ess_package_assignments_request_builder.py | 4 + .../count/count_request_builder.py | 3 + ...package_assignment_item_request_builder.py | 3 + ...ge_resource_environment_request_builder.py | 3 + ...access_package_resource_request_builder.py | 7 + ..._package_resource_roles_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...kage_resource_role_item_request_builder.py | 7 + ...package_resource_scopes_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...ge_resource_environment_request_builder.py | 3 + ...access_package_resource_request_builder.py | 7 + ..._package_resource_roles_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...kage_resource_role_item_request_builder.py | 7 + ...igin_resource_connector_request_builder.py | 3 + .../refresh/refresh_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...rce_upload_session_item_request_builder.py | 7 + .../item/files/count/count_request_builder.py | 3 + .../item/files/files_request_builder.py | 4 + ...ided_resource_file_item_request_builder.py | 3 + .../item/value/content_request_builder.py | 7 + .../upload_file_request_builder.py | 3 + .../upload_sessions_request_builder.py | 6 + ...age_resource_scope_item_request_builder.py | 7 + ...igin_resource_connector_request_builder.py | 3 + .../refresh/refresh_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...rce_upload_session_item_request_builder.py | 7 + .../item/files/count/count_request_builder.py | 3 + .../item/files/files_request_builder.py | 4 + ...ided_resource_file_item_request_builder.py | 3 + .../item/value/content_request_builder.py | 7 + .../upload_file_request_builder.py | 3 + .../upload_sessions_request_builder.py | 6 + ...s_package_resource_role_request_builder.py | 7 + ...ge_resource_environment_request_builder.py | 3 + ...access_package_resource_request_builder.py | 7 + ..._package_resource_roles_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...ge_resource_environment_request_builder.py | 3 + ...access_package_resource_request_builder.py | 7 + ...package_resource_scopes_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...age_resource_scope_item_request_builder.py | 7 + ...igin_resource_connector_request_builder.py | 3 + .../refresh/refresh_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...rce_upload_session_item_request_builder.py | 7 + .../item/files/count/count_request_builder.py | 3 + .../item/files/files_request_builder.py | 4 + ...ided_resource_file_item_request_builder.py | 3 + .../item/value/content_request_builder.py | 7 + .../upload_file_request_builder.py | 3 + .../upload_sessions_request_builder.py | 6 + ...kage_resource_role_item_request_builder.py | 7 + ...package_resource_scopes_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...age_resource_scope_item_request_builder.py | 7 + ...igin_resource_connector_request_builder.py | 3 + .../refresh/refresh_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...rce_upload_session_item_request_builder.py | 7 + .../item/files/count/count_request_builder.py | 3 + .../item/files/files_request_builder.py | 4 + ...ided_resource_file_item_request_builder.py | 3 + .../item/value/content_request_builder.py | 7 + .../upload_file_request_builder.py | 3 + .../upload_sessions_request_builder.py | 6 + ..._package_resource_scope_request_builder.py | 7 + .../access_package_subject_request_builder.py | 7 + .../connected_organization_request_builder.py | 3 + .../my/my_request_builder.py | 3 + .../reprocess/reprocess_request_builder.py | 3 + ...e_resource_environments_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...source_environment_item_request_builder.py | 7 + ...ccess_package_resources_request_builder.py | 4 + .../count/count_request_builder.py | 3 + ...s_package_resource_item_request_builder.py | 3 + ...ckage_resource_requests_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...access_package_resource_request_builder.py | 3 + ...e_resource_request_item_request_builder.py | 7 + .../connected_organization_request_builder.py | 3 + .../requestor/requestor_request_builder.py | 7 + ...ge_resource_role_scopes_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...ge_resource_environment_request_builder.py | 3 + ...access_package_resource_request_builder.py | 7 + ..._package_resource_roles_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...kage_resource_role_item_request_builder.py | 7 + ...package_resource_scopes_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...ge_resource_environment_request_builder.py | 3 + ...access_package_resource_request_builder.py | 7 + ..._package_resource_roles_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...kage_resource_role_item_request_builder.py | 7 + ...igin_resource_connector_request_builder.py | 3 + .../refresh/refresh_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...rce_upload_session_item_request_builder.py | 7 + .../item/files/count/count_request_builder.py | 3 + .../item/files/files_request_builder.py | 4 + ...ided_resource_file_item_request_builder.py | 3 + .../item/value/content_request_builder.py | 7 + .../upload_file_request_builder.py | 3 + .../upload_sessions_request_builder.py | 6 + ...age_resource_scope_item_request_builder.py | 7 + ...igin_resource_connector_request_builder.py | 3 + .../refresh/refresh_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...rce_upload_session_item_request_builder.py | 7 + .../item/files/count/count_request_builder.py | 3 + .../item/files/files_request_builder.py | 4 + ...ided_resource_file_item_request_builder.py | 3 + .../item/value/content_request_builder.py | 7 + .../upload_file_request_builder.py | 3 + .../upload_sessions_request_builder.py | 6 + ...s_package_resource_role_request_builder.py | 7 + ...esource_role_scope_item_request_builder.py | 7 + ...ge_resource_environment_request_builder.py | 3 + ...access_package_resource_request_builder.py | 7 + ..._package_resource_roles_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...ge_resource_environment_request_builder.py | 3 + ...access_package_resource_request_builder.py | 7 + ...package_resource_scopes_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...age_resource_scope_item_request_builder.py | 7 + ...igin_resource_connector_request_builder.py | 3 + .../refresh/refresh_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...rce_upload_session_item_request_builder.py | 7 + .../item/files/count/count_request_builder.py | 3 + .../item/files/files_request_builder.py | 4 + ...ided_resource_file_item_request_builder.py | 3 + .../item/value/content_request_builder.py | 7 + .../upload_file_request_builder.py | 3 + .../upload_sessions_request_builder.py | 6 + ...kage_resource_role_item_request_builder.py | 7 + ...package_resource_scopes_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...age_resource_scope_item_request_builder.py | 7 + ...igin_resource_connector_request_builder.py | 3 + .../refresh/refresh_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...rce_upload_session_item_request_builder.py | 7 + .../item/files/count/count_request_builder.py | 3 + .../item/files/files_request_builder.py | 4 + ...ided_resource_file_item_request_builder.py | 3 + .../item/value/content_request_builder.py | 7 + .../upload_file_request_builder.py | 3 + .../upload_sessions_request_builder.py | 6 + ..._package_resource_scope_request_builder.py | 7 + ...ccess_package_resources_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...ge_resource_environment_request_builder.py | 3 + ...s_package_resource_item_request_builder.py | 7 + ..._package_resource_roles_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...ge_resource_environment_request_builder.py | 3 + ...access_package_resource_request_builder.py | 7 + ...package_resource_scopes_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...ge_resource_environment_request_builder.py | 3 + ...access_package_resource_request_builder.py | 7 + ...igin_resource_connector_request_builder.py | 3 + .../refresh/refresh_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...rce_upload_session_item_request_builder.py | 7 + .../item/files/count/count_request_builder.py | 3 + .../item/files/files_request_builder.py | 4 + ...ided_resource_file_item_request_builder.py | 3 + .../item/value/content_request_builder.py | 7 + .../upload_file_request_builder.py | 3 + .../upload_sessions_request_builder.py | 6 + ...age_resource_scope_item_request_builder.py | 7 + ...igin_resource_connector_request_builder.py | 3 + .../refresh/refresh_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...rce_upload_session_item_request_builder.py | 7 + .../item/files/count/count_request_builder.py | 3 + .../item/files/files_request_builder.py | 4 + ...ided_resource_file_item_request_builder.py | 3 + .../item/value/content_request_builder.py | 7 + .../upload_file_request_builder.py | 3 + .../upload_sessions_request_builder.py | 6 + ...kage_resource_role_item_request_builder.py | 7 + ...package_resource_scopes_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...ge_resource_environment_request_builder.py | 3 + ...access_package_resource_request_builder.py | 7 + ..._package_resource_roles_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...ge_resource_environment_request_builder.py | 3 + ...access_package_resource_request_builder.py | 7 + ...igin_resource_connector_request_builder.py | 3 + .../refresh/refresh_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...rce_upload_session_item_request_builder.py | 7 + .../item/files/count/count_request_builder.py | 3 + .../item/files/files_request_builder.py | 4 + ...ided_resource_file_item_request_builder.py | 3 + .../item/value/content_request_builder.py | 7 + .../upload_file_request_builder.py | 3 + .../upload_sessions_request_builder.py | 6 + ...kage_resource_role_item_request_builder.py | 7 + ...igin_resource_connector_request_builder.py | 3 + .../refresh/refresh_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...rce_upload_session_item_request_builder.py | 7 + .../item/files/count/count_request_builder.py | 3 + .../item/files/files_request_builder.py | 4 + ...ided_resource_file_item_request_builder.py | 3 + .../item/value/content_request_builder.py | 7 + .../upload_file_request_builder.py | 3 + .../upload_sessions_request_builder.py | 6 + ...age_resource_scope_item_request_builder.py | 7 + ...igin_resource_connector_request_builder.py | 3 + .../item/refresh/refresh_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...rce_upload_session_item_request_builder.py | 7 + .../item/files/count/count_request_builder.py | 3 + .../item/files/files_request_builder.py | 4 + ...ided_resource_file_item_request_builder.py | 3 + .../item/value/content_request_builder.py | 7 + .../upload_file_request_builder.py | 3 + .../upload_sessions_request_builder.py | 6 + ...ess_package_suggestions_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...by_current_user_with_on_request_builder.py | 3 + .../access_package_request_builder.py | 3 + ...package_suggestion_item_request_builder.py | 7 + .../access_packages_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...by_current_user_with_on_request_builder.py | 3 + .../access_package_item_request_builder.py | 8 + ...ge_resource_role_scopes_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...ge_resource_environment_request_builder.py | 3 + ...access_package_resource_request_builder.py | 7 + ..._package_resource_roles_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...kage_resource_role_item_request_builder.py | 7 + ...package_resource_scopes_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...ge_resource_environment_request_builder.py | 3 + ...access_package_resource_request_builder.py | 7 + ..._package_resource_roles_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...kage_resource_role_item_request_builder.py | 7 + ...igin_resource_connector_request_builder.py | 3 + .../refresh/refresh_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...rce_upload_session_item_request_builder.py | 7 + .../item/files/count/count_request_builder.py | 3 + .../item/files/files_request_builder.py | 4 + ...ided_resource_file_item_request_builder.py | 3 + .../item/value/content_request_builder.py | 7 + .../upload_file_request_builder.py | 3 + .../upload_sessions_request_builder.py | 6 + ...age_resource_scope_item_request_builder.py | 7 + ...igin_resource_connector_request_builder.py | 3 + .../refresh/refresh_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...rce_upload_session_item_request_builder.py | 7 + .../item/files/count/count_request_builder.py | 3 + .../item/files/files_request_builder.py | 4 + ...ided_resource_file_item_request_builder.py | 3 + .../item/value/content_request_builder.py | 7 + .../upload_file_request_builder.py | 3 + .../upload_sessions_request_builder.py | 6 + ...s_package_resource_role_request_builder.py | 7 + ...esource_role_scope_item_request_builder.py | 7 + ...ge_resource_environment_request_builder.py | 3 + ...access_package_resource_request_builder.py | 7 + ..._package_resource_roles_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...ge_resource_environment_request_builder.py | 3 + ...access_package_resource_request_builder.py | 7 + ...package_resource_scopes_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...age_resource_scope_item_request_builder.py | 7 + ...igin_resource_connector_request_builder.py | 3 + .../refresh/refresh_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...rce_upload_session_item_request_builder.py | 7 + .../item/files/count/count_request_builder.py | 3 + .../item/files/files_request_builder.py | 4 + ...ided_resource_file_item_request_builder.py | 3 + .../item/value/content_request_builder.py | 7 + .../upload_file_request_builder.py | 3 + .../upload_sessions_request_builder.py | 6 + ...kage_resource_role_item_request_builder.py | 7 + ...package_resource_scopes_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...age_resource_scope_item_request_builder.py | 7 + ...igin_resource_connector_request_builder.py | 3 + .../refresh/refresh_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...rce_upload_session_item_request_builder.py | 7 + .../item/files/count/count_request_builder.py | 3 + .../item/files/files_request_builder.py | 4 + ...ided_resource_file_item_request_builder.py | 3 + .../item/value/content_request_builder.py | 7 + .../upload_file_request_builder.py | 3 + .../upload_sessions_request_builder.py | 6 + ..._package_resource_scope_request_builder.py | 7 + ...kages_incompatible_with_request_builder.py | 4 + .../count/count_request_builder.py | 3 + .../access_package_item_request_builder.py | 3 + ...e_with_with_unique_name_request_builder.py | 3 + ...ble_policy_requirements_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...patible_access_packages_request_builder.py | 3 + .../item/ref/ref_request_builder.py | 3 + .../ref/ref_request_builder.py | 7 + .../count/count_request_builder.py | 3 + .../incompatible_groups_request_builder.py | 3 + .../item/ref/ref_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...ice_provisioning_errors_request_builder.py | 3 + .../ref/ref_request_builder.py | 7 + .../move_to_catalog_request_builder.py | 3 + .../search/search_request_builder.py | 3 + ...ckages_with_unique_name_request_builder.py | 7 + ...ble_policy_requirements_request_builder.py | 3 + .../move_to_catalog_request_builder.py | 3 + ...ailable_access_packages_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...ble_access_package_item_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...esource_role_scope_item_request_builder.py | 3 + .../resource_role_scopes_request_builder.py | 4 + ...connected_organizations_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...ected_organization_item_request_builder.py | 7 + .../count/count_request_builder.py | 3 + .../external_sponsors_request_builder.py | 3 + .../item/ref/ref_request_builder.py | 3 + .../ref/ref_request_builder.py | 7 + .../count/count_request_builder.py | 3 + .../internal_sponsors_request_builder.py | 3 + .../item/ref/ref_request_builder.py | 3 + .../ref/ref_request_builder.py | 7 + .../entitlement_management_request_builder.py | 9 + .../count/count_request_builder.py | 3 + ...gin_resource_connectors_request_builder.py | 6 + ...resource_connector_item_request_builder.py | 7 + .../settings/settings_request_builder.py | 7 + .../subjects/count/count_request_builder.py | 3 + ...ss_package_subject_item_request_builder.py | 7 + .../connected_organization_request_builder.py | 3 + .../subjects/subjects_request_builder.py | 6 + ...subjects_with_object_id_request_builder.py | 7 + .../identity_governance_request_builder.py | 5 + .../count/count_request_builder.py | 3 + .../custom_task_extensions_request_builder.py | 6 + .../created_by/created_by_request_builder.py | 3 + .../mailbox_settings_request_builder.py | 5 + .../count/count_request_builder.py | 3 + ...ice_provisioning_errors_request_builder.py | 3 + ...tom_task_extension_item_request_builder.py | 7 + .../last_modified_by_request_builder.py | 3 + .../mailbox_settings_request_builder.py | 5 + .../count/count_request_builder.py | 3 + ...ice_provisioning_errors_request_builder.py | 3 + .../deleted_items_request_builder.py | 15 + .../count/count_request_builder.py | 107 + .../created_by/created_by_request_builder.py | 110 + .../last_modified_by_request_builder.py | 110 + .../lifecycle_policy_item_request_builder.py | 198 + ...tity_governance_restore_request_builder.py | 84 + ...ecycle_policy_rule_item_request_builder.py | 110 + .../item/rules/rules_request_builder.py | 156 + .../created_by/created_by_request_builder.py | 110 + .../last_modified_by_request_builder.py | 110 + .../lifecycle_policy_item_request_builder.py | 150 + ...tity_governance_restore_request_builder.py | 84 + .../item/rules/count/count_request_builder.py | 107 + ...ecycle_policy_rule_item_request_builder.py | 110 + .../item/rules/rules_request_builder.py | 166 + .../item/versions/versions_request_builder.py | 156 + .../lifecycle_policies_request_builder.py | 166 + .../workflows/count/count_request_builder.py | 3 + ...istration_scope_targets_request_builder.py | 4 + .../count/count_request_builder.py | 3 + .../directory_object_item_request_builder.py | 3 + .../created_by/created_by_request_builder.py | 3 + .../mailbox_settings_request_builder.py | 5 + .../count/count_request_builder.py | 3 + ...ice_provisioning_errors_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../execution_scope_request_builder.py | 4 + ..._processing_result_item_request_builder.py | 3 + .../last_modified_by_request_builder.py | 3 + .../mailbox_settings_request_builder.py | 5 + .../count/count_request_builder.py | 3 + ...ice_provisioning_errors_request_builder.py | 3 + ...ity_governance_activate_request_builder.py | 3 + ...nance_activate_and_wait_request_builder.py | 3 + ...nce_activate_with_scope_request_builder.py | 3 + ...rnance_clear_quarantine_request_builder.py | 3 + ...ance_create_new_version_request_builder.py | 3 + ...tity_governance_restore_request_builder.py | 3 + .../item/runs/count/count_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../item/run_item_request_builder.py | 3 + .../reprocessed_runs_request_builder.py | 4 + .../runs/item/run_item_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../item/run_item_request_builder.py | 3 + .../reprocessed_runs_request_builder.py | 4 + ..._processing_result_item_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...ntity_governance_resume_request_builder.py | 3 + .../mailbox_settings_request_builder.py | 5 + .../count/count_request_builder.py | 3 + ...ice_provisioning_errors_request_builder.py | 3 + .../item/subject/subject_request_builder.py | 3 + .../item/task/task_request_builder.py | 3 + ..._processing_result_item_request_builder.py | 3 + ...task_processing_results_request_builder.py | 4 + ...time_with_end_date_time_request_builder.py | 90 + ...ject_processing_results_request_builder.py | 22 + .../count/count_request_builder.py | 3 + ...ntity_governance_resume_request_builder.py | 3 + .../mailbox_settings_request_builder.py | 5 + .../count/count_request_builder.py | 3 + ...ice_provisioning_errors_request_builder.py | 3 + .../item/subject/subject_request_builder.py | 3 + .../item/task/task_request_builder.py | 3 + ..._processing_result_item_request_builder.py | 3 + ...task_processing_results_request_builder.py | 4 + .../count/count_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../item/run_item_request_builder.py | 3 + .../reprocessed_runs_request_builder.py | 4 + .../mailbox_settings_request_builder.py | 5 + .../count/count_request_builder.py | 3 + ...ice_provisioning_errors_request_builder.py | 3 + .../item/subject/subject_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...ntity_governance_resume_request_builder.py | 3 + .../mailbox_settings_request_builder.py | 5 + .../count/count_request_builder.py | 3 + ...ice_provisioning_errors_request_builder.py | 3 + .../item/subject/subject_request_builder.py | 3 + .../item/task/task_request_builder.py | 3 + ..._processing_result_item_request_builder.py | 3 + ...task_processing_results_request_builder.py | 4 + ..._processing_result_item_request_builder.py | 3 + ...time_with_end_date_time_request_builder.py | 3 + ...user_processing_results_request_builder.py | 5 + ...time_with_end_date_time_request_builder.py | 3 + .../item/runs/runs_request_builder.py | 5 + .../count/count_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../item/run_item_request_builder.py | 3 + .../reprocessed_runs_request_builder.py | 4 + ..._processing_result_item_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...ntity_governance_resume_request_builder.py | 3 + .../mailbox_settings_request_builder.py | 5 + .../count/count_request_builder.py | 3 + ...ice_provisioning_errors_request_builder.py | 3 + .../item/subject/subject_request_builder.py | 3 + .../item/task/task_request_builder.py | 3 + ..._processing_result_item_request_builder.py | 3 + ...task_processing_results_request_builder.py | 4 + ...time_with_end_date_time_request_builder.py | 90 + ...ject_processing_results_request_builder.py | 22 + .../count/count_request_builder.py | 3 + .../item/task/task_request_builder.py | 3 + .../task_definition_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...ntity_governance_resume_request_builder.py | 3 + .../mailbox_settings_request_builder.py | 5 + .../count/count_request_builder.py | 3 + ...ice_provisioning_errors_request_builder.py | 3 + .../item/subject/subject_request_builder.py | 3 + .../item/task/task_request_builder.py | 3 + ..._processing_result_item_request_builder.py | 3 + ...task_processing_results_request_builder.py | 4 + .../item/task_report_item_request_builder.py | 3 + ...time_with_end_date_time_request_builder.py | 3 + .../task_reports_request_builder.py | 5 + .../item/tasks/count/count_request_builder.py | 3 + .../tasks/item/task_item_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...ntity_governance_resume_request_builder.py | 3 + .../mailbox_settings_request_builder.py | 5 + .../count/count_request_builder.py | 3 + ...ice_provisioning_errors_request_builder.py | 3 + .../item/subject/subject_request_builder.py | 3 + .../item/task/task_request_builder.py | 3 + ..._processing_result_item_request_builder.py | 3 + ...task_processing_results_request_builder.py | 4 + .../item/tasks/tasks_request_builder.py | 6 + .../count/count_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../item/run_item_request_builder.py | 3 + .../reprocessed_runs_request_builder.py | 4 + .../mailbox_settings_request_builder.py | 5 + .../count/count_request_builder.py | 3 + ...ice_provisioning_errors_request_builder.py | 3 + .../item/subject/subject_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...ntity_governance_resume_request_builder.py | 3 + .../mailbox_settings_request_builder.py | 5 + .../count/count_request_builder.py | 3 + ...ice_provisioning_errors_request_builder.py | 3 + .../item/subject/subject_request_builder.py | 3 + .../item/task/task_request_builder.py | 3 + ..._processing_result_item_request_builder.py | 3 + ...task_processing_results_request_builder.py | 4 + ..._processing_result_item_request_builder.py | 3 + ...time_with_end_date_time_request_builder.py | 3 + ...user_processing_results_request_builder.py | 5 + .../versions/count/count_request_builder.py | 3 + ...istration_scope_targets_request_builder.py | 4 + .../count/count_request_builder.py | 3 + .../directory_object_item_request_builder.py | 3 + .../created_by/created_by_request_builder.py | 3 + .../mailbox_settings_request_builder.py | 5 + .../count/count_request_builder.py | 3 + ...ice_provisioning_errors_request_builder.py | 3 + .../last_modified_by_request_builder.py | 3 + .../mailbox_settings_request_builder.py | 5 + .../count/count_request_builder.py | 3 + ...ice_provisioning_errors_request_builder.py | 3 + .../item/tasks/count/count_request_builder.py | 3 + .../tasks/item/task_item_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...ntity_governance_resume_request_builder.py | 3 + .../mailbox_settings_request_builder.py | 5 + .../count/count_request_builder.py | 3 + ...ice_provisioning_errors_request_builder.py | 3 + .../item/subject/subject_request_builder.py | 3 + .../item/task/task_request_builder.py | 3 + ..._processing_result_item_request_builder.py | 3 + ...task_processing_results_request_builder.py | 4 + .../item/tasks/tasks_request_builder.py | 6 + ...ion_version_number_item_request_builder.py | 3 + .../item/versions/versions_request_builder.py | 4 + .../item/workflow_item_request_builder.py | 5 + .../workflows/workflows_request_builder.py | 4 + .../insights/insights_request_builder.py | 11 + ...time_with_end_date_time_request_builder.py | 3 + ...time_with_end_date_time_request_builder.py | 3 + ...time_with_end_date_time_request_builder.py | 3 + ...time_with_end_date_time_request_builder.py | 3 + .../count/count_request_builder.py | 107 + .../created_by/created_by_request_builder.py | 110 + .../last_modified_by_request_builder.py | 110 + .../lifecycle_policy_item_request_builder.py | 198 + ...tity_governance_restore_request_builder.py | 84 + ...ecycle_policy_rule_item_request_builder.py | 110 + .../item/rules/rules_request_builder.py | 156 + .../created_by/created_by_request_builder.py | 110 + .../last_modified_by_request_builder.py | 110 + .../lifecycle_policy_item_request_builder.py | 150 + ...tity_governance_restore_request_builder.py | 84 + .../item/rules/count/count_request_builder.py | 107 + ...ecycle_policy_rule_item_request_builder.py | 110 + .../item/rules/rules_request_builder.py | 166 + .../item/versions/versions_request_builder.py | 156 + .../lifecycle_policies_request_builder.py | 214 + .../count/count_request_builder.py | 107 + ...rity_configuration_item_request_builder.py | 157 + ...priority_configurations_request_builder.py | 166 + .../lifecycle_workflows_request_builder.py | 27 + .../settings/settings_request_builder.py | 5 + .../count/count_request_builder.py | 3 + .../task_definition_item_request_builder.py | 3 + .../task_definitions_request_builder.py | 4 + .../count/count_request_builder.py | 3 + .../item/tasks/count/count_request_builder.py | 3 + .../tasks/item/task_item_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...ntity_governance_resume_request_builder.py | 3 + .../mailbox_settings_request_builder.py | 5 + .../count/count_request_builder.py | 3 + ...ice_provisioning_errors_request_builder.py | 3 + .../item/subject/subject_request_builder.py | 3 + .../item/task/task_request_builder.py | 3 + ..._processing_result_item_request_builder.py | 3 + ...task_processing_results_request_builder.py | 4 + .../item/tasks/tasks_request_builder.py | 4 + .../workflow_template_item_request_builder.py | 3 + .../workflow_templates_request_builder.py | 4 + .../workflows/count/count_request_builder.py | 3 + ...istration_scope_targets_request_builder.py | 4 + .../count/count_request_builder.py | 3 + .../directory_object_item_request_builder.py | 3 + .../created_by/created_by_request_builder.py | 3 + .../mailbox_settings_request_builder.py | 5 + .../count/count_request_builder.py | 3 + ...ice_provisioning_errors_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../execution_scope_request_builder.py | 4 + ..._processing_result_item_request_builder.py | 3 + .../last_modified_by_request_builder.py | 3 + .../mailbox_settings_request_builder.py | 5 + .../count/count_request_builder.py | 3 + ...ice_provisioning_errors_request_builder.py | 3 + ...ity_governance_activate_request_builder.py | 3 + ...nance_activate_and_wait_request_builder.py | 3 + ...nce_activate_with_scope_request_builder.py | 3 + ...rnance_clear_quarantine_request_builder.py | 3 + ...ance_create_new_version_request_builder.py | 3 + ...tity_governance_restore_request_builder.py | 3 + .../item/runs/count/count_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../item/run_item_request_builder.py | 3 + .../reprocessed_runs_request_builder.py | 4 + .../runs/item/run_item_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../item/run_item_request_builder.py | 3 + .../reprocessed_runs_request_builder.py | 4 + ..._processing_result_item_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...ntity_governance_resume_request_builder.py | 3 + .../mailbox_settings_request_builder.py | 5 + .../count/count_request_builder.py | 3 + ...ice_provisioning_errors_request_builder.py | 3 + .../item/subject/subject_request_builder.py | 3 + .../item/task/task_request_builder.py | 3 + ..._processing_result_item_request_builder.py | 3 + ...task_processing_results_request_builder.py | 4 + ...time_with_end_date_time_request_builder.py | 90 + ...ject_processing_results_request_builder.py | 22 + .../count/count_request_builder.py | 3 + ...ntity_governance_resume_request_builder.py | 3 + .../mailbox_settings_request_builder.py | 5 + .../count/count_request_builder.py | 3 + ...ice_provisioning_errors_request_builder.py | 3 + .../item/subject/subject_request_builder.py | 3 + .../item/task/task_request_builder.py | 3 + ..._processing_result_item_request_builder.py | 3 + ...task_processing_results_request_builder.py | 4 + .../count/count_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../item/run_item_request_builder.py | 3 + .../reprocessed_runs_request_builder.py | 4 + .../mailbox_settings_request_builder.py | 5 + .../count/count_request_builder.py | 3 + ...ice_provisioning_errors_request_builder.py | 3 + .../item/subject/subject_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...ntity_governance_resume_request_builder.py | 3 + .../mailbox_settings_request_builder.py | 5 + .../count/count_request_builder.py | 3 + ...ice_provisioning_errors_request_builder.py | 3 + .../item/subject/subject_request_builder.py | 3 + .../item/task/task_request_builder.py | 3 + ..._processing_result_item_request_builder.py | 3 + ...task_processing_results_request_builder.py | 4 + ..._processing_result_item_request_builder.py | 3 + ...time_with_end_date_time_request_builder.py | 3 + ...user_processing_results_request_builder.py | 5 + ...time_with_end_date_time_request_builder.py | 3 + .../item/runs/runs_request_builder.py | 5 + .../count/count_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../item/run_item_request_builder.py | 3 + .../reprocessed_runs_request_builder.py | 4 + ..._processing_result_item_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...ntity_governance_resume_request_builder.py | 3 + .../mailbox_settings_request_builder.py | 5 + .../count/count_request_builder.py | 3 + ...ice_provisioning_errors_request_builder.py | 3 + .../item/subject/subject_request_builder.py | 3 + .../item/task/task_request_builder.py | 3 + ..._processing_result_item_request_builder.py | 3 + ...task_processing_results_request_builder.py | 4 + ...time_with_end_date_time_request_builder.py | 90 + ...ject_processing_results_request_builder.py | 22 + .../count/count_request_builder.py | 3 + .../item/task/task_request_builder.py | 3 + .../task_definition_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...ntity_governance_resume_request_builder.py | 3 + .../mailbox_settings_request_builder.py | 5 + .../count/count_request_builder.py | 3 + ...ice_provisioning_errors_request_builder.py | 3 + .../item/subject/subject_request_builder.py | 3 + .../item/task/task_request_builder.py | 3 + ..._processing_result_item_request_builder.py | 3 + ...task_processing_results_request_builder.py | 4 + .../item/task_report_item_request_builder.py | 3 + ...time_with_end_date_time_request_builder.py | 3 + .../task_reports_request_builder.py | 5 + .../item/tasks/count/count_request_builder.py | 3 + .../tasks/item/task_item_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...ntity_governance_resume_request_builder.py | 3 + .../mailbox_settings_request_builder.py | 5 + .../count/count_request_builder.py | 3 + ...ice_provisioning_errors_request_builder.py | 3 + .../item/subject/subject_request_builder.py | 3 + .../item/task/task_request_builder.py | 3 + ..._processing_result_item_request_builder.py | 3 + ...task_processing_results_request_builder.py | 4 + .../item/tasks/tasks_request_builder.py | 6 + .../count/count_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../item/run_item_request_builder.py | 3 + .../reprocessed_runs_request_builder.py | 4 + .../mailbox_settings_request_builder.py | 5 + .../count/count_request_builder.py | 3 + ...ice_provisioning_errors_request_builder.py | 3 + .../item/subject/subject_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...ntity_governance_resume_request_builder.py | 3 + .../mailbox_settings_request_builder.py | 5 + .../count/count_request_builder.py | 3 + ...ice_provisioning_errors_request_builder.py | 3 + .../item/subject/subject_request_builder.py | 3 + .../item/task/task_request_builder.py | 3 + ..._processing_result_item_request_builder.py | 3 + ...task_processing_results_request_builder.py | 4 + ..._processing_result_item_request_builder.py | 3 + ...time_with_end_date_time_request_builder.py | 3 + ...user_processing_results_request_builder.py | 5 + .../versions/count/count_request_builder.py | 3 + ...istration_scope_targets_request_builder.py | 4 + .../count/count_request_builder.py | 3 + .../directory_object_item_request_builder.py | 3 + .../created_by/created_by_request_builder.py | 3 + .../mailbox_settings_request_builder.py | 5 + .../count/count_request_builder.py | 3 + ...ice_provisioning_errors_request_builder.py | 3 + .../last_modified_by_request_builder.py | 3 + .../mailbox_settings_request_builder.py | 5 + .../count/count_request_builder.py | 3 + ...ice_provisioning_errors_request_builder.py | 3 + .../item/tasks/count/count_request_builder.py | 3 + .../tasks/item/task_item_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...ntity_governance_resume_request_builder.py | 3 + .../mailbox_settings_request_builder.py | 5 + .../count/count_request_builder.py | 3 + ...ice_provisioning_errors_request_builder.py | 3 + .../item/subject/subject_request_builder.py | 3 + .../item/task/task_request_builder.py | 3 + ..._processing_result_item_request_builder.py | 3 + ...task_processing_results_request_builder.py | 4 + .../item/tasks/tasks_request_builder.py | 6 + ...ion_version_number_item_request_builder.py | 3 + .../item/versions/versions_request_builder.py | 4 + .../item/workflow_item_request_builder.py | 7 + .../workflows/workflows_request_builder.py | 6 + .../aws/aws_request_builder.py | 7 + .../findings/count/count_request_builder.py | 3 + .../aws/findings/findings_request_builder.py | 6 + .../item/finding_item_request_builder.py | 7 + .../count/count_request_builder.py | 3 + .../authorization_system_request_builder.py | 3 + ...index_distribution_item_request_builder.py | 7 + ...eep_index_distributions_request_builder.py | 6 + .../azure/azure_request_builder.py | 7 + .../findings/count/count_request_builder.py | 3 + .../findings/findings_request_builder.py | 6 + .../item/finding_item_request_builder.py | 7 + .../count/count_request_builder.py | 3 + .../authorization_system_request_builder.py | 3 + ...index_distribution_item_request_builder.py | 7 + ...eep_index_distributions_request_builder.py | 6 + .../findings/count/count_request_builder.py | 3 + .../gcp/findings/findings_request_builder.py | 6 + .../item/finding_item_request_builder.py | 7 + .../gcp/gcp_request_builder.py | 7 + .../count/count_request_builder.py | 3 + .../authorization_system_request_builder.py | 3 + ...index_distribution_item_request_builder.py | 7 + ...eep_index_distributions_request_builder.py | 6 + .../permissions_analytics_request_builder.py | 7 + .../permissions_management_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...ons_request_change_item_request_builder.py | 7 + ...issions_request_changes_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...by_current_user_with_on_request_builder.py | 3 + .../item/approval_item_request_builder.py | 7 + .../item/steps/count/count_request_builder.py | 3 + .../approval_step_item_request_builder.py | 7 + .../item/steps/steps_request_builder.py | 6 + ...d_permissions_approvals_request_builder.py | 7 + ...by_current_user_with_on_request_builder.py | 3 + ...ed_permissions_requests_request_builder.py | 6 + .../assignment_approvals_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...by_current_user_with_on_request_builder.py | 3 + .../item/approval_item_request_builder.py | 7 + .../item/steps/count/count_request_builder.py | 3 + .../approval_step_item_request_builder.py | 7 + .../item/steps/steps_request_builder.py | 6 + ...ment_schedule_instances_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...by_current_user_with_on_request_builder.py | 3 + .../activated_using_request_builder.py | 3 + .../item/group/group_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...ice_provisioning_errors_request_builder.py | 3 + .../principal/principal_request_builder.py | 3 + ..._schedule_instance_item_request_builder.py | 7 + ...nment_schedule_requests_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...by_current_user_with_on_request_builder.py | 3 + .../activated_using_request_builder.py | 3 + .../item/cancel/cancel_request_builder.py | 3 + .../item/group/group_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...ice_provisioning_errors_request_builder.py | 3 + .../principal/principal_request_builder.py | 3 + ...t_schedule_request_item_request_builder.py | 7 + .../target_schedule_request_builder.py | 3 + .../assignment_schedules_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...by_current_user_with_on_request_builder.py | 3 + .../activated_using_request_builder.py | 3 + .../item/group/group_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...ice_provisioning_errors_request_builder.py | 3 + .../principal/principal_request_builder.py | 3 + ...ssignment_schedule_item_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...lity_schedule_instances_request_builder.py | 7 + ...by_current_user_with_on_request_builder.py | 3 + .../item/group/group_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...ice_provisioning_errors_request_builder.py | 3 + .../principal/principal_request_builder.py | 3 + ..._schedule_instance_item_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...ility_schedule_requests_request_builder.py | 7 + ...by_current_user_with_on_request_builder.py | 3 + .../item/cancel/cancel_request_builder.py | 3 + .../item/group/group_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...ice_provisioning_errors_request_builder.py | 3 + .../principal/principal_request_builder.py | 3 + ...y_schedule_request_item_request_builder.py | 7 + .../target_schedule_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../eligibility_schedules_request_builder.py | 7 + ...by_current_user_with_on_request_builder.py | 3 + .../item/group/group_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...ice_provisioning_errors_request_builder.py | 3 + .../principal/principal_request_builder.py | 3 + ...igibility_schedule_item_request_builder.py | 7 + .../group/group_request_builder.py | 7 + .../resources/count/count_request_builder.py | 3 + .../group_resource_item_request_builder.py | 7 + .../resources/resources_request_builder.py | 6 + .../privileged_access_request_builder.py | 7 + .../alert_configurations_request_builder.py | 6 + .../count/count_request_builder.py | 3 + .../alert_definition_request_builder.py | 3 + ...lert_configuration_item_request_builder.py | 7 + .../alert_definitions_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...t_alert_definition_item_request_builder.py | 7 + .../alerts/alerts_request_builder.py | 6 + .../alerts/count/count_request_builder.py | 3 + .../alert_configuration_request_builder.py | 3 + .../alert_definition_request_builder.py | 3 + .../alert_incidents_request_builder.py | 6 + .../count/count_request_builder.py | 3 + .../remediate/remediate_request_builder.py | 3 + ...ent_alert_incident_item_request_builder.py | 7 + .../item/refresh/refresh_request_builder.py | 3 + ...e_management_alert_item_request_builder.py | 7 + .../alerts/refresh/refresh_request_builder.py | 3 + .../operations/count/count_request_builder.py | 3 + ..._running_operation_item_request_builder.py | 7 + .../operations/operations_request_builder.py | 6 + .../role_management_alerts_request_builder.py | 7 + .../agreement_acceptances_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...reement_acceptance_item_request_builder.py | 7 + .../agreements/agreements_request_builder.py | 6 + .../agreements/count/count_request_builder.py | 3 + .../acceptances_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...reement_acceptance_item_request_builder.py | 7 + .../item/agreement_item_request_builder.py | 7 + .../item/file/file_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ..._file_localization_item_request_builder.py | 7 + .../versions/count/count_request_builder.py | 3 + ...ement_file_version_item_request_builder.py | 7 + .../item/versions/versions_request_builder.py | 6 + .../localizations_request_builder.py | 6 + .../item/files/count/count_request_builder.py | 3 + .../item/files/files_request_builder.py | 6 + ..._file_localization_item_request_builder.py | 7 + .../versions/count/count_request_builder.py | 3 + ...ement_file_version_item_request_builder.py | 7 + .../item/versions/versions_request_builder.py | 6 + .../terms_of_use_request_builder.py | 7 + msgraph_beta/generated/kiota-dom-export.txt | 3538 +++++++++++++---- msgraph_beta/generated/kiota-lock.json | 2 +- .../access_package_assignment_request.py | 7 + ..._package_assignment_request_parameters.py} | 16 +- ...pi_based_endpoint_configuration_details.py | 54 + ...ot_based_endpoint_configuration_details.py | 54 + .../agent_communication_configuration.py | 71 + .../agent_conversation_configuration.py | 61 + .../models/agent_endpoint_configuration.py | 75 + .../agent_endpoint_configuration_type.py | 7 + .../generated/models/agent_identity.py | 11 + .../models/agent_identity_blueprint.py | 7 + .../agent_identity_blueprint_principal.py | 4 + .../generated/models/agent_identity_type.py | 1 + .../models/agent_message_notification_mode.py | 7 + .../models/agent_teamwork_configuration.py | 73 + .../models/android_managed_app_protection.py | 4 + ...type.py => application_permission_type.py} | 2 +- ....py => application_resource_permission.py} | 22 +- ... applications_required_resource_access.py} | 22 +- .../models/authentication_behaviors.py | 4 + .../b2_b_registration_metrics_base.py | 18 +- .../b2_b_registration_metrics_initial.py | 4 +- .../b2_b_registration_metrics_recent.py | 4 +- .../b2_b_sign_in_activity_metrics.py | 20 +- .../b2_b_sign_in_activity_metrics_base.py | 22 +- .../b2_b_sign_in_activity_metrics_initial.py | 4 +- .../b2_b_sign_in_activity_metrics_recent.py | 4 +- .../b2b_registration_metrics.py | 20 +- .../billing_metrics.py | 20 +- .../billing_metrics_base.py | 28 +- .../billing_metrics_initial.py | 2 +- .../billing_metrics_recent.py | 2 +- .../models/browse_query_response_item.py | 8 +- msgraph_beta/generated/models/chat_message.py | 11 + .../generated/models/chat_message_citation.py | 81 + ...chat_message_citation_sensitivity_label.py | 58 + msgraph_beta/generated/models/cloud_p_c.py | 7 + .../cloud_pc_provisioning_configuration.py | 61 + .../models/connector_health_check.py | 71 + .../connector_health_check_metric_name.py | 14 + .../generated/models/copilot_package.py | 4 + .../models/copilot_package_detail.py | 21 + ...oss_tenant_identity_sync_policy_partner.py | 7 + ..._tenant_role_enabled_group_sync_inbound.py | 54 + .../generated/models/custom_extension_data.py | 7 + ...elegated_administration_role_assignment.py | 10 +- ...administration_role_assignment_snapshot.py | 6 +- .../models/deleted_item_container.py | 7 + .../generated/models/device_app_management.py | 21 +- .../models/device_compliance_script.py | 2 +- ...e_management_configuration_technologies.py | 2 + msgraph_beta/generated/models/directory.py | 6 +- .../generated/models/distribution_list.py | 12 +- .../models/distribution_list_member.py | 75 + ...ibution_list_member_collection_response.py | 58 + msgraph_beta/generated/models/drive.py | 7 + .../generated/models/drive_settings.py | 54 + .../generated/models/embedding_input.py | 58 + msgraph_beta/generated/models/entity.py | 451 ++- .../models/file_storage_container.py | 4 + ...ge_container_type_registration_settings.py | 11 +- .../file_storage_container_type_settings.py | 11 +- ...torage_container_type_settings_override.py | 1 + .../governance_invitation.py | 20 +- ...vernance_invitation_collection_response.py | 8 +- .../governance_relationship.py | 18 +- ...rnance_relationship_collection_response.py | 8 +- .../governance_request.py | 32 +- .../governance_request_collection_response.py | 8 +- .../models/health_monitoring/alert_type.py | 4 + .../models/health_monitoring/scenario.py | 1 + .../agent_identity_lifecycle.py | 53 + .../agent_identity_lifecycle_policy.py | 53 + .../all_excluding_groups_subject_set.py | 60 + ..._excluding_specific_objects_subject_set.py | 60 + .../attestation_compliance_issue.py | 57 + .../identity_governance/compliance_issue.py | 81 + .../compliance_issue_collection_response.py} | 18 +- .../delete_only_enforcement_action.py | 53 + .../directory_object_workflow_subject.py | 60 + .../disable_only_enforcement_action.py | 53 + .../disable_then_delete_enforcement_action.py | 57 + .../identity_governance/identity_lifecycle.py | 84 + .../identity_governance/inactivity_rule.py | 57 + .../identity_governance/lifecycle_policy.py | 144 + .../lifecycle_policy_collection_response.py | 58 + .../lifecycle_policy_enforcement_action.py | 80 + .../lifecycle_policy_notification_settings.py | 62 + ...lifecycle_policy_priority_configuration.py | 64 + ...ority_configuration_collection_response.py | 58 + .../lifecycle_policy_rule.py | 83 + ...fecycle_policy_rule_collection_response.py | 58 + .../lifecycle_policy_source.py | 7 + .../lifecycle_workflows_container.py | 14 + .../periodic_attestation_rule.py | 57 + .../selected_objects_subject_set.py | 60 + .../sponsor_presence_rule.py | 57 + .../subject_processing_result.py | 7 + .../identity_governance/subject_summary.py | 70 + .../identity_governance/subject_type.py | 8 + .../identity_governance/workflow_base.py | 7 + .../identity_governance/workflow_subject.py | 7 + .../generated/models/impacted_resource.py | 7 + ...n_step.py => investigation_action_step.py} | 24 +- ...ion_url.py => investigation_action_url.py} | 12 +- .../ios_ddm_lob_app_assignment_settings.py | 5 + .../ios_ddm_vpp_app_assignment_settings.py | 5 + .../mac_os_ddm_vpp_app_assignment_settings.py | 5 + msgraph_beta/generated/models/member.py | 20 +- .../models/mobile_app_content_file.py | 6 + ...bile_app_content_file_upload_error_code.py | 14 + .../multi_tenant_application_metrics.py | 20 +- .../multi_tenant_application_metrics_base.py | 18 +- ...ulti_tenant_application_metrics_initial.py | 2 +- ...multi_tenant_application_metrics_recent.py | 2 +- .../multi_tenant_applications_to_provision.py | 18 +- ...nant_applications_to_provision_snapshot.py | 18 +- .../generated/models/ndes_connector.py | 12 + .../models/ndes_connector_health_status.py | 16 + .../generated/models/nist_classification.py | 66 + .../models/on_premises_publishing.py | 4 + .../generated/models/policy_tip_action.py | 4 +- .../generated/models/provision_response.py | 58 + .../generated/models/recommendation_base.py | 45 + .../models/recommendation_category_group.py | 11 + .../models/recommendation_configuration.py | 4 + .../models/recommendation_priority.py | 2 + .../generated/models/recommendation_status.py | 1 + .../generated/models/recommendation_tag.py | 57 + .../recommendation_tag_collection_response.py | 58 + .../related_tenant.py | 22 +- .../related_tenant_collection_response.py | 8 +- .../related_tenants_refresh_request.py | 10 +- .../related_tenants_refresh_status.py | 6 +- .../relationship_creation_type.py | 0 .../relationship_policy.py | 8 +- .../relationship_status.py | 0 .../generated/models/remote_action.py | 4 + .../request_status.py | 0 .../generated/models/required_licenses.py | 1 + .../models/resultant_app_state_detail.py | 8 + msgraph_beta/generated/models/risky_agent.py | 7 + .../risky_agent_discovered_agent_identity.py | 53 + .../role_template.py | 4 +- .../sap_assignment_request_callback_data.py | 65 + .../generated/models/security/alert.py | 2 +- .../security/case_management/attachment.py | 6 +- .../security/case_management/audit_log.py | 2 +- .../models/security/case_management/case.py | 6 +- .../security/case_management/comment.py | 2 +- .../security/case_management/generic_case.py | 10 +- .../security/case_management/incident_case.py | 64 +- .../models/security/case_management/task.py | 10 +- .../models/security/case_management_root.py | 2 +- .../models/security/create_alert_input.py | 100 + .../models/security/entity_definition.py | 76 + .../generated/models/security/incident.py | 2 +- .../generated/models/service_principal.py | 7 + msgraph_beta/generated/models/subject_set.py | 21 + .../tenant_governance.py | 30 +- ...y => tenant_governance_policy_template.py} | 32 +- ...nce_policy_template_collection_response.py | 58 + .../long_running_operation.py | 77 - .../long_running_operation_status.py | 9 - .../tenant_governance_setting.py | 12 +- .../models/text_classification_request.py | 7 + .../generated/models/user_activity_types.py | 1 + ...windows_managed_app_data_transfer_level.py | 4 + ...ows_managed_app_data_transfer_locations.py | 10 + .../models/windows_managed_app_protection.py | 11 + .../item/restore/restore_request_builder.py | 4 +- .../item/restore/restore_request_builder.py | 4 +- .../alerts_v2/alerts_v2_request_builder.py | 10 + .../create_alert_post_request_body.py | 57 + ...h_security_create_alert_request_builder.py | 90 + .../attachments_request_builder.py | 4 +- .../item/content/content_request_builder.py | 14 +- .../item/relation_item_request_builder.py | 16 +- .../relations/relations_request_builder.py | 10 +- .../tasks/item/task_item_request_builder.py | 5 +- .../count/count_request_builder.py | 3 + .../delta/delta_request_builder.py | 3 + .../get_by_ids/get_by_ids_request_builder.py | 3 + .../get_user_owned_objects_request_builder.py | 3 + ...ken_signing_certificate_request_builder.py | 3 + ...app_management_policies_request_builder.py | 4 + .../count/count_request_builder.py | 3 + ..._management_policy_item_request_builder.py | 3 + .../app_role_assigned_to_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...pp_role_assignment_item_request_builder.py | 7 + .../app_role_assignments_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...pp_role_assignment_item_request_builder.py | 7 + .../check_member_groups_request_builder.py | 3 + .../check_member_objects_request_builder.py | 3 + ...claims_mapping_policies_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../item/ref/ref_request_builder.py | 3 + .../ref/ref_request_builder.py | 7 + .../claims_policy_request_builder.py | 7 + ...gle_sign_on_credentials_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../created_objects_request_builder.py | 4 + .../count/count_request_builder.py | 3 + ...graph_service_principal_request_builder.py | 3 + .../directory_object_item_request_builder.py | 3 + ...graph_service_principal_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...mission_classifications_request_builder.py | 6 + ...ion_classification_item_request_builder.py | 7 + ...gle_sign_on_credentials_request_builder.py | 3 + .../endpoints/count/count_request_builder.py | 3 + .../endpoints/endpoints_request_builder.py | 6 + .../item/endpoint_item_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...ed_identity_credentials_request_builder.py | 6 + ...dentity_credential_item_request_builder.py | 7 + ...y_credentials_with_name_request_builder.py | 7 + .../get_member_groups_request_builder.py | 3 + .../get_member_objects_request_builder.py | 3 + ...gle_sign_on_credentials_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...ealm_discovery_policies_request_builder.py | 3 + .../item/ref/ref_request_builder.py | 3 + .../ref/ref_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...teams_licensing_details_request_builder.py | 3 + .../license_details_item_request_builder.py | 7 + .../license_details_request_builder.py | 6 + .../compliance_issues_request_builder.py | 166 + .../count/count_request_builder.py | 107 + .../compliance_issue_item_request_builder.py | 110 + ...ective_governing_policy_request_builder.py | 110 + .../lifecycle/lifecycle_request_builder.py | 215 + .../member_of/count/count_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...aph_administrative_unit_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../graph_directory_role_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../graph_group_request_builder.py | 3 + .../directory_object_item_request_builder.py | 3 + ...aph_administrative_unit_request_builder.py | 3 + .../graph_directory_role_request_builder.py | 3 + .../graph_group_request_builder.py | 3 + .../member_of/member_of_request_builder.py | 4 + ...ntity_governance_attest_request_builder.py | 81 + .../count/count_request_builder.py | 3 + ...2_permission_grant_item_request_builder.py | 3 + ...auth2_permission_grants_request_builder.py | 4 + .../count/count_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...aph_app_role_assignment_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../graph_application_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../graph_endpoint_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../graph_group_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...graph_service_principal_request_builder.py | 3 + .../directory_object_item_request_builder.py | 3 + ...aph_app_role_assignment_request_builder.py | 3 + .../graph_application_request_builder.py | 3 + .../graph_endpoint_request_builder.py | 3 + .../graph_group_request_builder.py | 3 + ...graph_service_principal_request_builder.py | 3 + .../owned_objects_request_builder.py | 4 + .../owners/count/count_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...aph_app_role_assignment_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../graph_endpoint_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...graph_service_principal_request_builder.py | 3 + .../graph_user/count/count_request_builder.py | 3 + .../graph_user/graph_user_request_builder.py | 3 + ...aph_app_role_assignment_request_builder.py | 3 + .../graph_endpoint_request_builder.py | 3 + ...graph_service_principal_request_builder.py | 3 + .../graph_user/graph_user_request_builder.py | 3 + .../owners/item/ref/ref_request_builder.py | 3 + .../item/owners/owners_request_builder.py | 3 + .../item/owners/ref/ref_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...re_approval_policy_item_request_builder.py | 3 + ...t_pre_approval_policies_request_builder.py | 4 + .../approved_client_apps_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...pproved_client_app_item_request_builder.py | 7 + ..._security_configuration_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...arget_device_group_item_request_builder.py | 7 + .../target_device_groups_request_builder.py | 6 + .../item/restore/restore_request_builder.py | 3 + .../service_principal_item_request_builder.py | 28 + .../jobs/count/count_request_builder.py | 3 + .../bulk_upload_request_builder.py | 7 + .../value/content_request_builder.py | 7 + .../jobs/item/pause/pause_request_builder.py | 3 + .../provision_on_demand_request_builder.py | 3 + .../item/restart/restart_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../directories_request_builder.py | 6 + ...rectory_definition_item_request_builder.py | 7 + .../item/discover/discover_request_builder.py | 3 + .../filter_operators_request_builder.py | 3 + .../functions/functions_request_builder.py | 3 + .../parse_expression_request_builder.py | 3 + .../item/schema/schema_request_builder.py | 7 + .../jobs/item/start/start_request_builder.py | 3 + ...ynchronization_job_item_request_builder.py | 7 + .../jobs/jobs_request_builder.py | 6 + .../ping/ping_request_builder.py | 3 + .../synchronization_request_builder.py | 7 + .../templates/count/count_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../directories_request_builder.py | 6 + ...rectory_definition_item_request_builder.py | 7 + .../item/discover/discover_request_builder.py | 3 + .../filter_operators_request_builder.py | 3 + .../functions/functions_request_builder.py | 3 + .../parse_expression_request_builder.py | 3 + .../item/schema/schema_request_builder.py | 7 + ...onization_template_item_request_builder.py | 7 + .../templates/templates_request_builder.py | 6 + .../count/count_request_builder.py | 3 + .../item/ref/ref_request_builder.py | 3 + .../ref/ref_request_builder.py | 7 + ...token_issuance_policies_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../item/ref/ref_request_builder.py | 3 + .../ref/ref_request_builder.py | 7 + ...token_lifetime_policies_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...aph_administrative_unit_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../graph_directory_role_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../graph_group_request_builder.py | 3 + .../directory_object_item_request_builder.py | 3 + ...aph_administrative_unit_request_builder.py | 3 + .../graph_directory_role_request_builder.py | 3 + .../graph_group_request_builder.py | 3 + .../transitive_member_of_request_builder.py | 4 + ...gle_sign_on_credentials_request_builder.py | 3 + .../service_principals_request_builder.py | 6 + .../validate_properties_request_builder.py | 3 + ..._principals_with_app_id_request_builder.py | 7 + .../approval_items_request_builder.py | 6 + .../count/count_request_builder.py | 3 + .../approval_item_item_request_builder.py | 7 + .../item/cancel/cancel_request_builder.py | 3 + .../requests/count/count_request_builder.py | 3 + ...roval_item_request_item_request_builder.py | 7 + .../item/requests/requests_request_builder.py | 6 + .../responses/count/count_request_builder.py | 3 + ...oval_item_response_item_request_builder.py | 7 + .../responses/responses_request_builder.py | 6 + .../approval/approval_request_builder.py | 7 + .../operations/count/count_request_builder.py | 3 + ...approval_operation_item_request_builder.py | 7 + .../operations/operations_request_builder.py | 6 + .../provision/provision_request_builder.py | 3 + .../activity_logs_request_builder.py | 6 + .../count/count_request_builder.py | 3 + .../activity_log_base_item_request_builder.py | 7 + .../backup_restore_request_builder.py | 7 + .../browse_sessions_request_builder.py | 6 + .../count/count_request_builder.py | 3 + .../item/browse/browse_request_builder.py | 3 + ...rowse_session_base_item_request_builder.py | 8 + ...e_with_next_fetch_token_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../drive_exclusion_units_request_builder.py | 6 + ...ive_exclusion_unit_item_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...nits_bulk_addition_jobs_request_builder.py | 6 + ..._bulk_addition_job_item_request_builder.py | 7 + .../count/count_request_builder.py | 3 + .../drive_inclusion_rules_request_builder.py | 6 + ...ve_protection_rule_item_request_builder.py | 7 + .../count/count_request_builder.py | 3 + .../drive_protection_units_request_builder.py | 6 + ...ve_protection_unit_item_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...nits_bulk_addition_jobs_request_builder.py | 6 + ..._bulk_addition_job_item_request_builder.py | 7 + ...l_notifications_setting_request_builder.py | 7 + .../enable/enable_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...nge_protection_policies_request_builder.py | 6 + ..._protection_policy_item_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...box_exclusion_unit_item_request_builder.py | 3 + ...mailbox_exclusion_units_request_builder.py | 4 + .../count/count_request_builder.py | 3 + ..._bulk_addition_job_item_request_builder.py | 3 + ...nits_bulk_addition_jobs_request_builder.py | 4 + .../count/count_request_builder.py | 3 + ...ox_protection_rule_item_request_builder.py | 3 + ...mailbox_inclusion_rules_request_builder.py | 4 + .../count/count_request_builder.py | 3 + ...ox_protection_unit_item_request_builder.py | 3 + ...ailbox_protection_units_request_builder.py | 4 + .../count/count_request_builder.py | 3 + ..._bulk_addition_job_item_request_builder.py | 3 + ...nits_bulk_addition_jobs_request_builder.py | 4 + .../count/count_request_builder.py | 3 + ...change_restore_sessions_request_builder.py | 6 + ...ge_restore_session_item_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...ilbox_restore_artifacts_request_builder.py | 6 + ...x_restore_artifact_item_request_builder.py | 7 + .../restore_point_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...x_restore_artifact_item_request_builder.py | 7 + .../restore_point_request_builder.py | 3 + ...ilbox_restore_artifacts_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...k_addition_request_item_request_builder.py | 7 + ..._bulk_addition_requests_request_builder.py | 6 + .../count/count_request_builder.py | 3 + .../exclusion_units_request_builder.py | 4 + ...xclusion_unit_base_item_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...box_exclusion_unit_item_request_builder.py | 7 + ...mailbox_exclusion_units_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ..._bulk_addition_job_item_request_builder.py | 7 + ...nits_bulk_addition_jobs_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...ox_protection_rule_item_request_builder.py | 7 + ...mailbox_inclusion_rules_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...ox_protection_unit_item_request_builder.py | 7 + ...ailbox_protection_units_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ..._bulk_addition_job_item_request_builder.py | 7 + ...nits_bulk_addition_jobs_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...ess_browse_session_item_request_builder.py | 7 + ...usiness_browse_sessions_request_builder.py | 6 + .../count/count_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../drive_exclusion_units_request_builder.py | 4 + ...ive_exclusion_unit_item_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...nits_bulk_addition_jobs_request_builder.py | 4 + ..._bulk_addition_job_item_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../drive_inclusion_rules_request_builder.py | 4 + ...ve_protection_rule_item_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../drive_protection_units_request_builder.py | 4 + ...ve_protection_unit_item_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...nits_bulk_addition_jobs_request_builder.py | 4 + ..._bulk_addition_job_item_request_builder.py | 3 + ..._protection_policy_item_request_builder.py | 7 + ...ess_protection_policies_request_builder.py | 6 + .../count/count_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...drive_restore_artifacts_request_builder.py | 6 + ...e_restore_artifact_item_request_builder.py | 7 + .../restore_point_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ..._bulk_addition_requests_request_builder.py | 6 + ...k_addition_request_item_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...drive_restore_artifacts_request_builder.py | 6 + ...e_restore_artifact_item_request_builder.py | 7 + ...ss_restore_session_item_request_builder.py | 7 + ...siness_restore_sessions_request_builder.py | 6 + .../count/count_request_builder.py | 3 + .../item/activate/activate_request_builder.py | 3 + .../deactivate/deactivate_request_builder.py | 3 + ...ection_policy_base_item_request_builder.py | 7 + .../protection_policies_request_builder.py | 6 + .../count/count_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...h_drive_protection_unit_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...mailbox_protection_unit_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...ph_site_protection_unit_request_builder.py | 3 + .../cancel_offboard_request_builder.py | 3 + ...h_drive_protection_unit_request_builder.py | 3 + ...mailbox_protection_unit_request_builder.py | 3 + ...ph_site_protection_unit_request_builder.py | 3 + .../item/offboard/offboard_request_builder.py | 3 + ...otection_unit_base_item_request_builder.py | 3 + .../protection_units_request_builder.py | 4 + ...y_policy_with_policy_id_request_builder.py | 3 + .../reports/reports_request_builder.py | 8 + .../count/count_request_builder.py | 3 + .../protection_unit_request_builder.py | 3 + .../restore_point_item_request_builder.py | 7 + .../restore_points_request_builder.py | 6 + .../search/search_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../item/activate/activate_request_builder.py | 3 + ...store_session_base_item_request_builder.py | 7 + .../restore_sessions_request_builder.py | 6 + .../count/count_request_builder.py | 3 + .../item/activate/activate_request_builder.py | 3 + .../deactivate/deactivate_request_builder.py | 3 + .../item/service_app_item_request_builder.py | 7 + .../service_apps_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...int_browse_session_item_request_builder.py | 7 + ...e_point_browse_sessions_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ..._protection_policy_item_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...ite_exclusion_unit_item_request_builder.py | 3 + .../site_exclusion_units_request_builder.py | 4 + .../count/count_request_builder.py | 3 + ..._bulk_addition_job_item_request_builder.py | 3 + ...nits_bulk_addition_jobs_request_builder.py | 4 + .../count/count_request_builder.py | 3 + ...te_protection_rule_item_request_builder.py | 3 + .../site_inclusion_rules_request_builder.py | 4 + .../count/count_request_builder.py | 3 + ...te_protection_unit_item_request_builder.py | 3 + .../site_protection_units_request_builder.py | 4 + .../count/count_request_builder.py | 3 + ..._bulk_addition_job_item_request_builder.py | 3 + ...nits_bulk_addition_jobs_request_builder.py | 4 + ...int_protection_policies_request_builder.py | 6 + .../count/count_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ..._site_restore_artifacts_request_builder.py | 6 + ...e_restore_artifact_item_request_builder.py | 7 + ...nt_restore_session_item_request_builder.py | 7 + .../count/count_request_builder.py | 3 + .../restore_point_request_builder.py | 3 + ...e_restore_artifact_item_request_builder.py | 7 + .../site_restore_artifacts_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...k_addition_request_item_request_builder.py | 7 + ..._bulk_addition_requests_request_builder.py | 6 + ..._point_restore_sessions_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...ite_exclusion_unit_item_request_builder.py | 7 + .../site_exclusion_units_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ..._bulk_addition_job_item_request_builder.py | 7 + ...nits_bulk_addition_jobs_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...te_protection_rule_item_request_builder.py | 7 + .../site_inclusion_rules_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...te_protection_unit_item_request_builder.py | 7 + .../site_protection_units_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ..._bulk_addition_job_item_request_builder.py | 7 + ...nits_bulk_addition_jobs_request_builder.py | 6 + .../booking_businesses_request_builder.py | 6 + .../count/count_request_builder.py | 3 + .../appointments_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...ooking_appointment_item_request_builder.py | 7 + .../item/cancel/cancel_request_builder.py | 3 + .../booking_business_item_request_builder.py | 7 + .../calendar_view_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...ooking_appointment_item_request_builder.py | 7 + .../item/cancel/cancel_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../custom_questions_request_builder.py | 6 + ...ng_custom_question_item_request_builder.py | 7 + .../customers/count/count_request_builder.py | 3 + .../customers/customers_request_builder.py | 6 + .../booking_customer_item_request_builder.py | 7 + .../get_staff_availability_request_builder.py | 3 + .../item/publish/publish_request_builder.py | 3 + .../services/count/count_request_builder.py | 3 + .../booking_service_item_request_builder.py | 7 + .../item/services/services_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...oking_staff_member_item_request_builder.py | 7 + .../staff_members_request_builder.py | 6 + .../unpublish/unpublish_request_builder.py | 3 + .../booking_currencies_request_builder.py | 6 + .../count/count_request_builder.py | 3 + .../booking_currency_item_request_builder.py | 7 + .../business_scenarios_request_builder.py | 6 + .../count/count_request_builder.py | 3 + .../business_scenario_item_request_builder.py | 7 + .../get_plan/get_plan_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...ation_localization_item_request_builder.py | 7 + .../localizations_request_builder.py | 6 + .../plan_configuration_request_builder.py | 7 + .../item/planner/planner_request_builder.py | 7 + .../task_configuration_request_builder.py | 7 + .../tasks/count/count_request_builder.py | 3 + ...ed_to_task_board_format_request_builder.py | 7 + ...ucket_task_board_format_request_builder.py | 7 + ...ness_scenario_task_item_request_builder.py | 7 + .../item/details/details_request_builder.py | 7 + .../messages/count/count_request_builder.py | 3 + ..._task_chat_message_item_request_builder.py | 7 + .../set_reaction_request_builder.py | 3 + .../unset_reaction_request_builder.py | 3 + .../item/messages/messages_request_builder.py | 6 + ...gress_task_board_format_request_builder.py | 7 + .../planner/tasks/tasks_request_builder.py | 6 + ...narios_with_unique_name_request_builder.py | 7 + .../count/count_request_builder.py | 6 +- ...s_tenant_migration_jobs_request_builder.py | 12 +- .../item/cancel/cancel_request_builder.py | 6 +- ...nant_migration_job_item_request_builder.py | 14 +- .../item/migrate/migrate_request_builder.py | 6 +- .../item/users/count/count_request_builder.py | 6 +- .../item/cancel/cancel_request_builder.py | 6 +- ...ant_migration_task_item_request_builder.py | 14 +- .../item/users/users_request_builder.py | 12 +- .../item/validate/validate_request_builder.py | 6 +- .../cancel/cancel_request_builder.py | 6 +- ..._jobs_with_display_name_request_builder.py | 14 +- .../migrate/migrate_request_builder.py | 6 +- .../validate/validate_request_builder.py | 6 +- .../migrations/migrations_request_builder.py | 16 +- .../count/count_request_builder.py | 3 + ...nization_group_mappings_request_builder.py | 6 + ...p_identity_mapping_item_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...ization_migration_tasks_request_builder.py | 9 + ...rce_group_mail_nickname_request_builder.py | 3 + ...rl_with_source_site_url_request_builder.py | 3 + ...h_source_principal_name_request_builder.py | 3 + .../item/cancel/cancel_request_builder.py | 3 + ...int_migration_task_item_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...anization_user_mappings_request_builder.py | 6 + ...r_identity_mapping_item_request_builder.py | 7 + .../migrations/migrations_request_builder.py | 7 + .../share_point_request_builder.py | 7 + .../solutions/solutions_request_builder.py | 6 + .../events/count/count_request_builder.py | 3 + .../events/events_request_builder.py | 6 + .../item/cancel/cancel_request_builder.py | 3 + .../presenters/count/count_request_builder.py | 3 + .../sessions/count/count_request_builder.py | 3 + ...tual_event_session_item_request_builder.py | 3 + .../item/sessions/sessions_request_builder.py | 4 + ...sions_with_join_web_url_request_builder.py | 3 + ...al_event_presenter_item_request_builder.py | 8 + .../presenters/presenters_request_builder.py | 6 + .../item/publish/publish_request_builder.py | 3 + .../sessions/count/count_request_builder.py | 3 + .../attendance_reports_request_builder.py | 6 + .../count/count_request_builder.py | 3 + .../attendance_records_request_builder.py | 6 + .../count/count_request_builder.py | 3 + .../attendance_record_item_request_builder.py | 7 + ..._attendance_report_item_request_builder.py | 7 + .../presenters/count/count_request_builder.py | 3 + ...al_event_presenter_item_request_builder.py | 3 + .../presenters/presenters_request_builder.py | 4 + .../count/count_request_builder.py | 3 + ...event_registration_item_request_builder.py | 3 + .../registrations_request_builder.py | 4 + ...egistrations_with_email_request_builder.py | 3 + ...istrations_with_user_id_request_builder.py | 3 + ...tual_event_session_item_request_builder.py | 9 + .../item/sessions/sessions_request_builder.py | 6 + ...sions_with_join_web_url_request_builder.py | 7 + ...ernal_event_information_request_builder.py | 3 + .../virtual_event_item_request_builder.py | 8 + .../townhalls/count/count_request_builder.py | 3 + ..._with_user_id_with_role_request_builder.py | 3 + ..._by_user_role_with_role_request_builder.py | 3 + .../presenters/count/count_request_builder.py | 3 + .../sessions/count/count_request_builder.py | 3 + ...tual_event_session_item_request_builder.py | 3 + .../item/sessions/sessions_request_builder.py | 4 + ...sions_with_join_web_url_request_builder.py | 3 + ...al_event_presenter_item_request_builder.py | 8 + .../presenters/presenters_request_builder.py | 6 + .../questions/count/count_request_builder.py | 3 + ...tion_question_base_item_request_builder.py | 7 + .../questions/questions_request_builder.py | 6 + ...istration_configuration_request_builder.py | 7 + .../count/count_request_builder.py | 3 + .../item/cancel/cancel_request_builder.py | 3 + .../sessions/count/count_request_builder.py | 3 + ...tual_event_session_item_request_builder.py | 3 + .../item/sessions/sessions_request_builder.py | 4 + ...sions_with_join_web_url_request_builder.py | 3 + ...event_registration_item_request_builder.py | 8 + .../registrations_request_builder.py | 6 + .../cancel/cancel_request_builder.py | 3 + ...egistrations_with_email_request_builder.py | 7 + .../cancel/cancel_request_builder.py | 3 + ...istrations_with_user_id_request_builder.py | 7 + .../sessions/count/count_request_builder.py | 3 + .../attendance_reports_request_builder.py | 6 + .../count/count_request_builder.py | 3 + .../attendance_records_request_builder.py | 6 + .../count/count_request_builder.py | 3 + .../attendance_record_item_request_builder.py | 7 + ..._attendance_report_item_request_builder.py | 7 + .../presenters/count/count_request_builder.py | 3 + ...al_event_presenter_item_request_builder.py | 3 + .../presenters/presenters_request_builder.py | 4 + .../count/count_request_builder.py | 3 + ...event_registration_item_request_builder.py | 3 + .../registrations_request_builder.py | 4 + ...egistrations_with_email_request_builder.py | 3 + ...istrations_with_user_id_request_builder.py | 3 + ...tual_event_session_item_request_builder.py | 9 + .../item/sessions/sessions_request_builder.py | 6 + ...sions_with_join_web_url_request_builder.py | 7 + ...ual_event_townhall_item_request_builder.py | 10 + .../townhalls/townhalls_request_builder.py | 8 + .../virtual_events_request_builder.py | 7 + .../webinars/count/count_request_builder.py | 3 + ..._with_user_id_with_role_request_builder.py | 3 + ..._by_user_role_with_role_request_builder.py | 3 + .../presenters/count/count_request_builder.py | 3 + .../sessions/count/count_request_builder.py | 3 + ...tual_event_session_item_request_builder.py | 3 + .../item/sessions/sessions_request_builder.py | 4 + ...sions_with_join_web_url_request_builder.py | 3 + ...al_event_presenter_item_request_builder.py | 8 + .../presenters/presenters_request_builder.py | 6 + .../questions/count/count_request_builder.py | 3 + ...tion_question_base_item_request_builder.py | 7 + .../questions/questions_request_builder.py | 6 + ...istration_configuration_request_builder.py | 7 + .../count/count_request_builder.py | 3 + .../item/cancel/cancel_request_builder.py | 3 + .../sessions/count/count_request_builder.py | 3 + ...tual_event_session_item_request_builder.py | 3 + .../item/sessions/sessions_request_builder.py | 4 + ...sions_with_join_web_url_request_builder.py | 3 + ...event_registration_item_request_builder.py | 8 + .../registrations_request_builder.py | 6 + .../cancel/cancel_request_builder.py | 3 + ...egistrations_with_email_request_builder.py | 7 + .../cancel/cancel_request_builder.py | 3 + ...istrations_with_user_id_request_builder.py | 7 + .../sessions/count/count_request_builder.py | 3 + .../attendance_reports_request_builder.py | 6 + .../count/count_request_builder.py | 3 + .../attendance_records_request_builder.py | 6 + .../count/count_request_builder.py | 3 + .../attendance_record_item_request_builder.py | 7 + ..._attendance_report_item_request_builder.py | 7 + .../presenters/count/count_request_builder.py | 3 + ...al_event_presenter_item_request_builder.py | 3 + .../presenters/presenters_request_builder.py | 4 + .../count/count_request_builder.py | 3 + ...event_registration_item_request_builder.py | 3 + .../registrations_request_builder.py | 4 + ...egistrations_with_email_request_builder.py | 3 + ...istrations_with_user_id_request_builder.py | 3 + ...tual_event_session_item_request_builder.py | 9 + .../item/sessions/sessions_request_builder.py | 6 + ...sions_with_join_web_url_request_builder.py | 7 + ...tual_event_webinar_item_request_builder.py | 10 + .../webinars/webinars_request_builder.py | 8 + .../item/devices/devices_request_builder.py | 10 + .../provision/provision_post_request_body.py | 50 + .../provision/provision_request_builder.py | 89 + .../add_members_post_request_body.py | 6 +- .../delete_members_post_request_body.py | 6 +- .../distribution_list_item_request_builder.py | 10 + .../members}/count/count_request_builder.py | 6 +- .../item/contact/contact_request_builder.py} | 57 +- ...bution_list_member_item_request_builder.py | 117 + .../item/members/members_request_builder.py | 162 + ...enhanced_log_collection_request_builder.py | 78 + .../managed_device_item_request_builder.py | 20 + .../count/count_request_builder.py | 3 + ...ity_baseline_state_item_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...line_setting_state_item_request_builder.py | 7 + .../setting_states_request_builder.py | 6 + ...ecurity_baseline_states_request_builder.py | 6 + ...hanced_log_collection_post_request_body.py | 50 + ...enhanced_log_collection_request_builder.py | 86 + .../item/items/items_request_builder.py | 10 + .../reorder/reorder_post_request_body.py | 50 + .../items/reorder/reorder_post_response.py | 58 + .../items/reorder/reorder_request_builder.py | 90 + .../reorder/reorder_post_request_body.py | 50 + .../sections/reorder/reorder_post_response.py | 58 + .../reorder/reorder_request_builder.py | 90 + .../sections/sections_request_builder.py | 10 + 2207 files changed, 26846 insertions(+), 2844 deletions(-) create mode 100644 msgraph_beta/generated/device_management/comanaged_devices/item/cancel_enhanced_log_collection/cancel_enhanced_log_collection_request_builder.py create mode 100644 msgraph_beta/generated/device_management/comanaged_devices/item/trigger_enhanced_log_collection/trigger_enhanced_log_collection_post_request_body.py create mode 100644 msgraph_beta/generated/device_management/comanaged_devices/item/trigger_enhanced_log_collection/trigger_enhanced_log_collection_request_builder.py create mode 100644 msgraph_beta/generated/device_management/managed_devices/item/cancel_enhanced_log_collection/cancel_enhanced_log_collection_request_builder.py create mode 100644 msgraph_beta/generated/device_management/managed_devices/item/trigger_enhanced_log_collection/trigger_enhanced_log_collection_post_request_body.py create mode 100644 msgraph_beta/generated/device_management/managed_devices/item/trigger_enhanced_log_collection/trigger_enhanced_log_collection_request_builder.py create mode 100644 msgraph_beta/generated/device_management/remote_assistance_partners/item/begin_onboarding/begin_onboarding_post_request_body.py create mode 100644 msgraph_beta/generated/devices/provision/provision_post_request_body.py create mode 100644 msgraph_beta/generated/devices/provision/provision_request_builder.py create mode 100644 msgraph_beta/generated/directory/impacted_resources/add_tag/add_tag_post_request_body.py create mode 100644 msgraph_beta/generated/directory/impacted_resources/add_tag/add_tag_post_response.py create mode 100644 msgraph_beta/generated/directory/impacted_resources/add_tag/add_tag_request_builder.py create mode 100644 msgraph_beta/generated/directory/impacted_resources/item/accept_risk/accept_risk_request_builder.py create mode 100644 msgraph_beta/generated/directory/impacted_resources/item/add_tag/add_tag_post_request_body.py create mode 100644 msgraph_beta/generated/directory/impacted_resources/item/add_tag/add_tag_request_builder.py create mode 100644 msgraph_beta/generated/directory/impacted_resources/item/apply_alternate_mitigation/apply_alternate_mitigation_request_builder.py create mode 100644 msgraph_beta/generated/directory/impacted_resources/item/mark_planned/mark_planned_request_builder.py create mode 100644 msgraph_beta/generated/directory/impacted_resources/item/remove_tag/remove_tag_post_request_body.py create mode 100644 msgraph_beta/generated/directory/impacted_resources/item/remove_tag/remove_tag_request_builder.py rename msgraph_beta/generated/{admin/configuration_management/configuration_snapshot_jobs => directory/impacted_resources/item/tags}/count/count_request_builder.py (93%) create mode 100644 msgraph_beta/generated/directory/impacted_resources/item/tags/item/recommendation_tag_item_request_builder.py create mode 100644 msgraph_beta/generated/directory/impacted_resources/item/tags/tags_request_builder.py create mode 100644 msgraph_beta/generated/directory/impacted_resources/remove_tag/remove_tag_post_request_body.py create mode 100644 msgraph_beta/generated/directory/impacted_resources/remove_tag/remove_tag_post_response.py create mode 100644 msgraph_beta/generated/directory/impacted_resources/remove_tag/remove_tag_request_builder.py create mode 100644 msgraph_beta/generated/directory/recommendations/item/accept_risk/accept_risk_request_builder.py create mode 100644 msgraph_beta/generated/directory/recommendations/item/add_tag/add_tag_post_request_body.py create mode 100644 msgraph_beta/generated/directory/recommendations/item/add_tag/add_tag_request_builder.py create mode 100644 msgraph_beta/generated/directory/recommendations/item/apply_alternate_mitigation/apply_alternate_mitigation_request_builder.py create mode 100644 msgraph_beta/generated/directory/recommendations/item/impacted_resources/add_tag/add_tag_post_request_body.py create mode 100644 msgraph_beta/generated/directory/recommendations/item/impacted_resources/add_tag/add_tag_post_response.py create mode 100644 msgraph_beta/generated/directory/recommendations/item/impacted_resources/add_tag/add_tag_request_builder.py create mode 100644 msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/accept_risk/accept_risk_request_builder.py create mode 100644 msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/add_tag/add_tag_post_request_body.py create mode 100644 msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/add_tag/add_tag_request_builder.py create mode 100644 msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/apply_alternate_mitigation/apply_alternate_mitigation_request_builder.py create mode 100644 msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/mark_planned/mark_planned_request_builder.py create mode 100644 msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/remove_tag/remove_tag_post_request_body.py create mode 100644 msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/remove_tag/remove_tag_request_builder.py rename msgraph_beta/generated/{employee_experience/communities => directory/recommendations/item/impacted_resources/item/tags}/count/count_request_builder.py (93%) create mode 100644 msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/tags/item/recommendation_tag_item_request_builder.py create mode 100644 msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/tags/tags_request_builder.py create mode 100644 msgraph_beta/generated/directory/recommendations/item/impacted_resources/remove_tag/remove_tag_post_request_body.py create mode 100644 msgraph_beta/generated/directory/recommendations/item/impacted_resources/remove_tag/remove_tag_post_response.py create mode 100644 msgraph_beta/generated/directory/recommendations/item/impacted_resources/remove_tag/remove_tag_request_builder.py create mode 100644 msgraph_beta/generated/directory/recommendations/item/mark_planned/mark_planned_request_builder.py create mode 100644 msgraph_beta/generated/directory/recommendations/item/remove_tag/remove_tag_post_request_body.py create mode 100644 msgraph_beta/generated/directory/recommendations/item/remove_tag/remove_tag_request_builder.py rename msgraph_beta/generated/{admin/configuration_management/configuration_snapshots => directory/recommendations/item/tags}/count/count_request_builder.py (94%) create mode 100644 msgraph_beta/generated/directory/recommendations/item/tags/item/recommendation_tag_item_request_builder.py create mode 100644 msgraph_beta/generated/directory/recommendations/item/tags/tags_request_builder.py rename msgraph_beta/generated/directory/tenant_governance/governance_policy_templates/item/{governance_policy_template_item_request_builder.py => tenant_governance_policy_template_item_request_builder.py} (78%) rename msgraph_beta/generated/directory/tenant_governance/related_tenants/{microsoft_graph_tenant_governance_services_refresh/microsoft_graph_tenant_governance_services_refresh_request_builder.py => refresh/refresh_request_builder.py} (83%) rename msgraph_beta/generated/directory/tenant_governance/related_tenants/{microsoft_graph_tenant_governance_services_refresh_status/microsoft_graph_tenant_governance_services_refresh_status_request_builder.py => refresh_status/refresh_status_request_builder.py} (78%) rename msgraph_beta/generated/directory/tenant_governance/settings/{microsoft_graph_tenant_governance_services_enable_related_tenants/microsoft_graph_tenant_governance_services_enable_related_tenants_request_builder.py => enable_related_tenants/enable_related_tenants_request_builder.py} (82%) create mode 100644 msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/count/count_request_builder.py create mode 100644 msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/created_by/created_by_request_builder.py create mode 100644 msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/last_modified_by/last_modified_by_request_builder.py create mode 100644 msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/lifecycle_policy_item_request_builder.py create mode 100644 msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/microsoft_graph_identity_governance_restore/microsoft_graph_identity_governance_restore_request_builder.py create mode 100644 msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/rules/item/lifecycle_policy_rule_item_request_builder.py create mode 100644 msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/rules/rules_request_builder.py create mode 100644 msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/versions/item/created_by/created_by_request_builder.py create mode 100644 msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/versions/item/last_modified_by/last_modified_by_request_builder.py create mode 100644 msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/versions/item/lifecycle_policy_item_request_builder.py create mode 100644 msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/versions/item/microsoft_graph_identity_governance_restore/microsoft_graph_identity_governance_restore_request_builder.py create mode 100644 msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/versions/item/rules/count/count_request_builder.py create mode 100644 msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/versions/item/rules/item/lifecycle_policy_rule_item_request_builder.py create mode 100644 msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/versions/item/rules/rules_request_builder.py create mode 100644 msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/versions/versions_request_builder.py create mode 100644 msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/lifecycle_policies_request_builder.py create mode 100644 msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py create mode 100644 msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py create mode 100644 msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/count/count_request_builder.py create mode 100644 msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/created_by/created_by_request_builder.py create mode 100644 msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/last_modified_by/last_modified_by_request_builder.py create mode 100644 msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/lifecycle_policy_item_request_builder.py create mode 100644 msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/microsoft_graph_identity_governance_restore/microsoft_graph_identity_governance_restore_request_builder.py create mode 100644 msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/rules/item/lifecycle_policy_rule_item_request_builder.py create mode 100644 msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/rules/rules_request_builder.py create mode 100644 msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/versions/item/created_by/created_by_request_builder.py create mode 100644 msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/versions/item/last_modified_by/last_modified_by_request_builder.py create mode 100644 msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/versions/item/lifecycle_policy_item_request_builder.py create mode 100644 msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/versions/item/microsoft_graph_identity_governance_restore/microsoft_graph_identity_governance_restore_request_builder.py create mode 100644 msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/versions/item/rules/count/count_request_builder.py create mode 100644 msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/versions/item/rules/item/lifecycle_policy_rule_item_request_builder.py create mode 100644 msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/versions/item/rules/rules_request_builder.py create mode 100644 msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/versions/versions_request_builder.py create mode 100644 msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/lifecycle_policies_request_builder.py create mode 100644 msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policy_priority_configurations/count/count_request_builder.py create mode 100644 msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policy_priority_configurations/item/lifecycle_policy_priority_configuration_item_request_builder.py create mode 100644 msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policy_priority_configurations/lifecycle_policy_priority_configurations_request_builder.py create mode 100644 msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py create mode 100644 msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py rename msgraph_beta/generated/models/{file_storage_container_type_agent_settings.py => access_package_assignment_request_parameters.py} (76%) create mode 100644 msgraph_beta/generated/models/agent_blueprint_api_based_endpoint_configuration_details.py create mode 100644 msgraph_beta/generated/models/agent_blueprint_bot_based_endpoint_configuration_details.py create mode 100644 msgraph_beta/generated/models/agent_communication_configuration.py create mode 100644 msgraph_beta/generated/models/agent_conversation_configuration.py create mode 100644 msgraph_beta/generated/models/agent_endpoint_configuration.py create mode 100644 msgraph_beta/generated/models/agent_endpoint_configuration_type.py create mode 100644 msgraph_beta/generated/models/agent_message_notification_mode.py create mode 100644 msgraph_beta/generated/models/agent_teamwork_configuration.py rename msgraph_beta/generated/models/{tenant_governance_services/permission_type.py => application_permission_type.py} (89%) rename msgraph_beta/generated/models/{tenant_governance_services/resource_permission.py => application_resource_permission.py} (81%) rename msgraph_beta/generated/models/{tenant_governance_services/required_resource_access.py => applications_required_resource_access.py} (78%) rename msgraph_beta/generated/models/{tenant_governance_services => }/b2_b_registration_metrics_base.py (87%) rename msgraph_beta/generated/models/{tenant_governance_services => }/b2_b_registration_metrics_initial.py (91%) rename msgraph_beta/generated/models/{tenant_governance_services => }/b2_b_registration_metrics_recent.py (89%) rename msgraph_beta/generated/models/{tenant_governance_services => }/b2_b_sign_in_activity_metrics.py (81%) rename msgraph_beta/generated/models/{tenant_governance_services => }/b2_b_sign_in_activity_metrics_base.py (85%) rename msgraph_beta/generated/models/{tenant_governance_services => }/b2_b_sign_in_activity_metrics_initial.py (90%) rename msgraph_beta/generated/models/{tenant_governance_services => }/b2_b_sign_in_activity_metrics_recent.py (89%) rename msgraph_beta/generated/models/{tenant_governance_services => }/b2b_registration_metrics.py (81%) rename msgraph_beta/generated/models/{tenant_governance_services => }/billing_metrics.py (80%) rename msgraph_beta/generated/models/{tenant_governance_services => }/billing_metrics_base.py (87%) rename msgraph_beta/generated/models/{tenant_governance_services => }/billing_metrics_initial.py (95%) rename msgraph_beta/generated/models/{tenant_governance_services => }/billing_metrics_recent.py (94%) create mode 100644 msgraph_beta/generated/models/chat_message_citation.py create mode 100644 msgraph_beta/generated/models/chat_message_citation_sensitivity_label.py create mode 100644 msgraph_beta/generated/models/cloud_pc_provisioning_configuration.py create mode 100644 msgraph_beta/generated/models/connector_health_check.py create mode 100644 msgraph_beta/generated/models/connector_health_check_metric_name.py create mode 100644 msgraph_beta/generated/models/cross_tenant_role_enabled_group_sync_inbound.py rename msgraph_beta/generated/models/{tenant_governance_services => }/delegated_administration_role_assignment.py (89%) rename msgraph_beta/generated/models/{tenant_governance_services => }/delegated_administration_role_assignment_snapshot.py (90%) create mode 100644 msgraph_beta/generated/models/distribution_list_member.py create mode 100644 msgraph_beta/generated/models/distribution_list_member_collection_response.py create mode 100644 msgraph_beta/generated/models/drive_settings.py create mode 100644 msgraph_beta/generated/models/embedding_input.py rename msgraph_beta/generated/models/{tenant_governance_services => }/governance_invitation.py (76%) rename msgraph_beta/generated/models/{tenant_governance_services => }/governance_invitation_collection_response.py (84%) rename msgraph_beta/generated/models/{tenant_governance_services => }/governance_relationship.py (84%) rename msgraph_beta/generated/models/{tenant_governance_services => }/governance_relationship_collection_response.py (84%) rename msgraph_beta/generated/models/{tenant_governance_services => }/governance_request.py (74%) rename msgraph_beta/generated/models/{tenant_governance_services => }/governance_request_collection_response.py (84%) create mode 100644 msgraph_beta/generated/models/identity_governance/agent_identity_lifecycle.py create mode 100644 msgraph_beta/generated/models/identity_governance/agent_identity_lifecycle_policy.py create mode 100644 msgraph_beta/generated/models/identity_governance/all_excluding_groups_subject_set.py create mode 100644 msgraph_beta/generated/models/identity_governance/all_excluding_specific_objects_subject_set.py create mode 100644 msgraph_beta/generated/models/identity_governance/attestation_compliance_issue.py create mode 100644 msgraph_beta/generated/models/identity_governance/compliance_issue.py rename msgraph_beta/generated/models/{tenant_governance_services/governance_policy_template_collection_response.py => identity_governance/compliance_issue_collection_response.py} (77%) create mode 100644 msgraph_beta/generated/models/identity_governance/delete_only_enforcement_action.py create mode 100644 msgraph_beta/generated/models/identity_governance/directory_object_workflow_subject.py create mode 100644 msgraph_beta/generated/models/identity_governance/disable_only_enforcement_action.py create mode 100644 msgraph_beta/generated/models/identity_governance/disable_then_delete_enforcement_action.py create mode 100644 msgraph_beta/generated/models/identity_governance/identity_lifecycle.py create mode 100644 msgraph_beta/generated/models/identity_governance/inactivity_rule.py create mode 100644 msgraph_beta/generated/models/identity_governance/lifecycle_policy.py create mode 100644 msgraph_beta/generated/models/identity_governance/lifecycle_policy_collection_response.py create mode 100644 msgraph_beta/generated/models/identity_governance/lifecycle_policy_enforcement_action.py create mode 100644 msgraph_beta/generated/models/identity_governance/lifecycle_policy_notification_settings.py create mode 100644 msgraph_beta/generated/models/identity_governance/lifecycle_policy_priority_configuration.py create mode 100644 msgraph_beta/generated/models/identity_governance/lifecycle_policy_priority_configuration_collection_response.py create mode 100644 msgraph_beta/generated/models/identity_governance/lifecycle_policy_rule.py create mode 100644 msgraph_beta/generated/models/identity_governance/lifecycle_policy_rule_collection_response.py create mode 100644 msgraph_beta/generated/models/identity_governance/lifecycle_policy_source.py create mode 100644 msgraph_beta/generated/models/identity_governance/periodic_attestation_rule.py create mode 100644 msgraph_beta/generated/models/identity_governance/selected_objects_subject_set.py create mode 100644 msgraph_beta/generated/models/identity_governance/sponsor_presence_rule.py create mode 100644 msgraph_beta/generated/models/identity_governance/subject_summary.py create mode 100644 msgraph_beta/generated/models/identity_governance/subject_type.py rename msgraph_beta/generated/models/{tenant_governance_services/action_step.py => investigation_action_step.py} (74%) rename msgraph_beta/generated/models/{tenant_governance_services/action_url.py => investigation_action_url.py} (73%) create mode 100644 msgraph_beta/generated/models/mobile_app_content_file_upload_error_code.py rename msgraph_beta/generated/models/{tenant_governance_services => }/multi_tenant_application_metrics.py (82%) rename msgraph_beta/generated/models/{tenant_governance_services => }/multi_tenant_application_metrics_base.py (87%) rename msgraph_beta/generated/models/{tenant_governance_services => }/multi_tenant_application_metrics_initial.py (95%) rename msgraph_beta/generated/models/{tenant_governance_services => }/multi_tenant_application_metrics_recent.py (94%) rename msgraph_beta/generated/models/{tenant_governance_services => }/multi_tenant_applications_to_provision.py (84%) rename msgraph_beta/generated/models/{tenant_governance_services => }/multi_tenant_applications_to_provision_snapshot.py (84%) create mode 100644 msgraph_beta/generated/models/ndes_connector_health_status.py create mode 100644 msgraph_beta/generated/models/nist_classification.py create mode 100644 msgraph_beta/generated/models/provision_response.py create mode 100644 msgraph_beta/generated/models/recommendation_category_group.py create mode 100644 msgraph_beta/generated/models/recommendation_tag.py create mode 100644 msgraph_beta/generated/models/recommendation_tag_collection_response.py rename msgraph_beta/generated/models/{tenant_governance_services => }/related_tenant.py (84%) rename msgraph_beta/generated/models/{tenant_governance_services => }/related_tenant_collection_response.py (83%) rename msgraph_beta/generated/models/{tenant_governance_services => }/related_tenants_refresh_request.py (89%) rename msgraph_beta/generated/models/{tenant_governance_services => }/related_tenants_refresh_status.py (93%) rename msgraph_beta/generated/models/{tenant_governance_services => }/relationship_creation_type.py (100%) rename msgraph_beta/generated/models/{tenant_governance_services => }/relationship_policy.py (92%) rename msgraph_beta/generated/models/{tenant_governance_services => }/relationship_status.py (100%) rename msgraph_beta/generated/models/{tenant_governance_services => }/request_status.py (100%) create mode 100644 msgraph_beta/generated/models/risky_agent_discovered_agent_identity.py rename msgraph_beta/generated/models/{tenant_governance_services => }/role_template.py (92%) create mode 100644 msgraph_beta/generated/models/sap_assignment_request_callback_data.py create mode 100644 msgraph_beta/generated/models/security/create_alert_input.py create mode 100644 msgraph_beta/generated/models/security/entity_definition.py rename msgraph_beta/generated/models/{tenant_governance_services => }/tenant_governance.py (83%) rename msgraph_beta/generated/models/{tenant_governance_services/governance_policy_template.py => tenant_governance_policy_template.py} (76%) create mode 100644 msgraph_beta/generated/models/tenant_governance_policy_template_collection_response.py delete mode 100644 msgraph_beta/generated/models/tenant_governance_services/long_running_operation.py delete mode 100644 msgraph_beta/generated/models/tenant_governance_services/long_running_operation_status.py rename msgraph_beta/generated/models/{tenant_governance_services => }/tenant_governance_setting.py (77%) create mode 100644 msgraph_beta/generated/models/windows_managed_app_data_transfer_locations.py create mode 100644 msgraph_beta/generated/security/alerts_v2/microsoft_graph_security_create_alert/create_alert_post_request_body.py create mode 100644 msgraph_beta/generated/security/alerts_v2/microsoft_graph_security_create_alert/microsoft_graph_security_create_alert_request_builder.py create mode 100644 msgraph_beta/generated/service_principals/item/lifecycle/compliance_issues/compliance_issues_request_builder.py create mode 100644 msgraph_beta/generated/service_principals/item/lifecycle/compliance_issues/count/count_request_builder.py create mode 100644 msgraph_beta/generated/service_principals/item/lifecycle/compliance_issues/item/compliance_issue_item_request_builder.py create mode 100644 msgraph_beta/generated/service_principals/item/lifecycle/effective_governing_policy/effective_governing_policy_request_builder.py create mode 100644 msgraph_beta/generated/service_principals/item/lifecycle/lifecycle_request_builder.py create mode 100644 msgraph_beta/generated/service_principals/item/microsoft_graph_identity_governance_attest/microsoft_graph_identity_governance_attest_request_builder.py create mode 100644 msgraph_beta/generated/users/item/devices/provision/provision_post_request_body.py create mode 100644 msgraph_beta/generated/users/item/devices/provision/provision_request_builder.py rename msgraph_beta/generated/{employee_experience/engagement_async_operations => users/item/distribution_lists/item/members}/count/count_request_builder.py (93%) rename msgraph_beta/generated/{employee_experience/roles/count/count_request_builder.py => users/item/distribution_lists/item/members/item/contact/contact_request_builder.py} (62%) create mode 100644 msgraph_beta/generated/users/item/distribution_lists/item/members/item/distribution_list_member_item_request_builder.py create mode 100644 msgraph_beta/generated/users/item/distribution_lists/item/members/members_request_builder.py create mode 100644 msgraph_beta/generated/users/item/managed_devices/item/cancel_enhanced_log_collection/cancel_enhanced_log_collection_request_builder.py create mode 100644 msgraph_beta/generated/users/item/managed_devices/item/trigger_enhanced_log_collection/trigger_enhanced_log_collection_post_request_body.py create mode 100644 msgraph_beta/generated/users/item/managed_devices/item/trigger_enhanced_log_collection/trigger_enhanced_log_collection_request_builder.py create mode 100644 msgraph_beta/generated/users/item/teamwork/sections/item/items/reorder/reorder_post_request_body.py create mode 100644 msgraph_beta/generated/users/item/teamwork/sections/item/items/reorder/reorder_post_response.py create mode 100644 msgraph_beta/generated/users/item/teamwork/sections/item/items/reorder/reorder_request_builder.py create mode 100644 msgraph_beta/generated/users/item/teamwork/sections/reorder/reorder_post_request_body.py create mode 100644 msgraph_beta/generated/users/item/teamwork/sections/reorder/reorder_post_response.py create mode 100644 msgraph_beta/generated/users/item/teamwork/sections/reorder/reorder_request_builder.py diff --git a/msgraph_beta/generated/admin/admin_request_builder.py b/msgraph_beta/generated/admin/admin_request_builder.py index 0e68f9a71e7..e2faede1d6e 100644 --- a/msgraph_beta/generated/admin/admin_request_builder.py +++ b/msgraph_beta/generated/admin/admin_request_builder.py @@ -146,7 +146,7 @@ def cloud_licensing(self) -> CloudLicensingRequestBuilder: @property def configuration_management(self) -> ConfigurationManagementRequestBuilder: """ - Provides operations to manage the configurationManagement property of the microsoft.graph.admin entity. + The configurationManagement property """ from .configuration_management.configuration_management_request_builder import ConfigurationManagementRequestBuilder diff --git a/msgraph_beta/generated/admin/configuration_management/configuration_drifts/configuration_drifts_request_builder.py b/msgraph_beta/generated/admin/configuration_management/configuration_drifts/configuration_drifts_request_builder.py index 9768f93c63d..f31504674c3 100644 --- a/msgraph_beta/generated/admin/configuration_management/configuration_drifts/configuration_drifts_request_builder.py +++ b/msgraph_beta/generated/admin/configuration_management/configuration_drifts/configuration_drifts_request_builder.py @@ -14,7 +14,6 @@ from warnings import warn if TYPE_CHECKING: - from ....models.configuration_drift import ConfigurationDrift from ....models.configuration_drift_collection_response import ConfigurationDriftCollectionResponse from ....models.o_data_errors.o_data_error import ODataError from .count.count_request_builder import CountRequestBuilder @@ -68,29 +67,6 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Configur return await self.request_adapter.send_async(request_info, ConfigurationDriftCollectionResponse, error_mapping) - async def post(self,body: ConfigurationDrift, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConfigurationDrift]: - """ - Create new navigation property to configurationDrifts for admin - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[ConfigurationDrift] - """ - if body is None: - raise TypeError("body cannot be null.") - request_info = self.to_post_request_information( - body, request_configuration - ) - from ....models.o_data_errors.o_data_error import ODataError - - error_mapping: dict[str, type[ParsableFactory]] = { - "XXX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - from ....models.configuration_drift import ConfigurationDrift - - return await self.request_adapter.send_async(request_info, ConfigurationDrift, error_mapping) - def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ConfigurationDriftsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ Get a list of the configurationDrift objects and their properties. @@ -102,21 +78,6 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi request_info.headers.try_add("Accept", "application/json") return request_info - def to_post_request_information(self,body: ConfigurationDrift, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: - """ - Create new navigation property to configurationDrifts for admin - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - if body is None: - raise TypeError("body cannot be null.") - request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) - request_info.configure(request_configuration) - request_info.headers.try_add("Accept", "application/json") - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) - return request_info - def with_url(self,raw_url: str) -> ConfigurationDriftsRequestBuilder: """ Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. @@ -199,11 +160,4 @@ class ConfigurationDriftsRequestBuilderGetRequestConfiguration(RequestConfigurat """ warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) - @dataclass - class ConfigurationDriftsRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) - diff --git a/msgraph_beta/generated/admin/configuration_management/configuration_drifts/item/configuration_drift_item_request_builder.py b/msgraph_beta/generated/admin/configuration_management/configuration_drifts/item/configuration_drift_item_request_builder.py index 67720d84803..2515f86c0a0 100644 --- a/msgraph_beta/generated/admin/configuration_management/configuration_drifts/item/configuration_drift_item_request_builder.py +++ b/msgraph_beta/generated/admin/configuration_management/configuration_drifts/item/configuration_drift_item_request_builder.py @@ -30,24 +30,6 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d """ super().__init__(request_adapter, "{+baseurl}/admin/configurationManagement/configurationDrifts/{configurationDrift%2Did}{?%24expand,%24select}", path_parameters) - async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: - """ - Delete navigation property configurationDrifts for admin - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: None - """ - request_info = self.to_delete_request_information( - request_configuration - ) - from .....models.o_data_errors.o_data_error import ODataError - - error_mapping: dict[str, type[ParsableFactory]] = { - "XXX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) - async def get(self,request_configuration: Optional[RequestConfiguration[ConfigurationDriftItemRequestBuilderGetQueryParameters]] = None) -> Optional[ConfigurationDrift]: """ Get the properties and relationships of a configurationDrift object. @@ -69,40 +51,6 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Configur return await self.request_adapter.send_async(request_info, ConfigurationDrift, error_mapping) - async def patch(self,body: ConfigurationDrift, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConfigurationDrift]: - """ - Update the navigation property configurationDrifts in admin - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[ConfigurationDrift] - """ - if body is None: - raise TypeError("body cannot be null.") - request_info = self.to_patch_request_information( - body, request_configuration - ) - from .....models.o_data_errors.o_data_error import ODataError - - error_mapping: dict[str, type[ParsableFactory]] = { - "XXX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - from .....models.configuration_drift import ConfigurationDrift - - return await self.request_adapter.send_async(request_info, ConfigurationDrift, error_mapping) - - def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: - """ - Delete navigation property configurationDrifts for admin - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) - request_info.configure(request_configuration) - request_info.headers.try_add("Accept", "application/json") - return request_info - def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ConfigurationDriftItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ Get the properties and relationships of a configurationDrift object. @@ -114,21 +62,6 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi request_info.headers.try_add("Accept", "application/json") return request_info - def to_patch_request_information(self,body: ConfigurationDrift, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: - """ - Update the navigation property configurationDrifts in admin - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - if body is None: - raise TypeError("body cannot be null.") - request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) - request_info.configure(request_configuration) - request_info.headers.try_add("Accept", "application/json") - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) - return request_info - def with_url(self,raw_url: str) -> ConfigurationDriftItemRequestBuilder: """ Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. @@ -139,13 +72,6 @@ def with_url(self,raw_url: str) -> ConfigurationDriftItemRequestBuilder: raise TypeError("raw_url cannot be null.") return ConfigurationDriftItemRequestBuilder(self.request_adapter, raw_url) - @dataclass - class ConfigurationDriftItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) - @dataclass class ConfigurationDriftItemRequestBuilderGetQueryParameters(): """ @@ -179,11 +105,4 @@ class ConfigurationDriftItemRequestBuilderGetRequestConfiguration(RequestConfigu """ warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) - @dataclass - class ConfigurationDriftItemRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) - diff --git a/msgraph_beta/generated/admin/configuration_management/configuration_management_request_builder.py b/msgraph_beta/generated/admin/configuration_management/configuration_management_request_builder.py index bb92d292e2f..c4f8a947b41 100644 --- a/msgraph_beta/generated/admin/configuration_management/configuration_management_request_builder.py +++ b/msgraph_beta/generated/admin/configuration_management/configuration_management_request_builder.py @@ -1,21 +1,11 @@ from __future__ import annotations from collections.abc import Callable -from dataclasses import dataclass, field from kiota_abstractions.base_request_builder import BaseRequestBuilder -from kiota_abstractions.base_request_configuration import RequestConfiguration -from kiota_abstractions.default_query_parameters import QueryParameters from kiota_abstractions.get_path_parameters import get_path_parameters -from kiota_abstractions.method import Method from kiota_abstractions.request_adapter import RequestAdapter -from kiota_abstractions.request_information import RequestInformation -from kiota_abstractions.request_option import RequestOption -from kiota_abstractions.serialization import Parsable, ParsableFactory from typing import Any, Optional, TYPE_CHECKING, Union -from warnings import warn if TYPE_CHECKING: - from ...models.configuration_management import ConfigurationManagement - from ...models.o_data_errors.o_data_error import ODataError from .configuration_drifts.configuration_drifts_request_builder import ConfigurationDriftsRequestBuilder from .configuration_monitoring_results.configuration_monitoring_results_request_builder import ConfigurationMonitoringResultsRequestBuilder from .configuration_monitors.configuration_monitors_request_builder import ConfigurationMonitorsRequestBuilder @@ -24,7 +14,7 @@ class ConfigurationManagementRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the configurationManagement property of the microsoft.graph.admin entity. + Builds and executes requests for operations under /admin/configurationManagement """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: """ @@ -33,115 +23,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d param request_adapter: The request adapter to use to execute the requests. Returns: None """ - super().__init__(request_adapter, "{+baseurl}/admin/configurationManagement{?%24expand,%24select}", path_parameters) - - async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: - """ - Delete navigation property configurationManagement for admin - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: None - """ - request_info = self.to_delete_request_information( - request_configuration - ) - from ...models.o_data_errors.o_data_error import ODataError - - error_mapping: dict[str, type[ParsableFactory]] = { - "XXX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) - - async def get(self,request_configuration: Optional[RequestConfiguration[ConfigurationManagementRequestBuilderGetQueryParameters]] = None) -> Optional[ConfigurationManagement]: - """ - Get configurationManagement from admin - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[ConfigurationManagement] - """ - request_info = self.to_get_request_information( - request_configuration - ) - from ...models.o_data_errors.o_data_error import ODataError - - error_mapping: dict[str, type[ParsableFactory]] = { - "XXX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - from ...models.configuration_management import ConfigurationManagement - - return await self.request_adapter.send_async(request_info, ConfigurationManagement, error_mapping) - - async def patch(self,body: ConfigurationManagement, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConfigurationManagement]: - """ - Update the navigation property configurationManagement in admin - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[ConfigurationManagement] - """ - if body is None: - raise TypeError("body cannot be null.") - request_info = self.to_patch_request_information( - body, request_configuration - ) - from ...models.o_data_errors.o_data_error import ODataError - - error_mapping: dict[str, type[ParsableFactory]] = { - "XXX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - from ...models.configuration_management import ConfigurationManagement - - return await self.request_adapter.send_async(request_info, ConfigurationManagement, error_mapping) - - def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: - """ - Delete navigation property configurationManagement for admin - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) - request_info.configure(request_configuration) - request_info.headers.try_add("Accept", "application/json") - return request_info - - def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ConfigurationManagementRequestBuilderGetQueryParameters]] = None) -> RequestInformation: - """ - Get configurationManagement from admin - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) - request_info.configure(request_configuration) - request_info.headers.try_add("Accept", "application/json") - return request_info - - def to_patch_request_information(self,body: ConfigurationManagement, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: - """ - Update the navigation property configurationManagement in admin - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - if body is None: - raise TypeError("body cannot be null.") - request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) - request_info.configure(request_configuration) - request_info.headers.try_add("Accept", "application/json") - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) - return request_info - - def with_url(self,raw_url: str) -> ConfigurationManagementRequestBuilder: - """ - Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - param raw_url: The raw URL to use for the request builder. - Returns: ConfigurationManagementRequestBuilder - """ - if raw_url is None: - raise TypeError("raw_url cannot be null.") - return ConfigurationManagementRequestBuilder(self.request_adapter, raw_url) + super().__init__(request_adapter, "{+baseurl}/admin/configurationManagement", path_parameters) @property def configuration_drifts(self) -> ConfigurationDriftsRequestBuilder: @@ -188,51 +70,4 @@ def configuration_snapshots(self) -> ConfigurationSnapshotsRequestBuilder: return ConfigurationSnapshotsRequestBuilder(self.request_adapter, self.path_parameters) - @dataclass - class ConfigurationManagementRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) - - @dataclass - class ConfigurationManagementRequestBuilderGetQueryParameters(): - """ - Get configurationManagement from admin - """ - def get_query_parameter(self,original_name: str) -> str: - """ - Maps the query parameters names to their encoded names for the URI template parsing. - param original_name: The original query parameter name in the class. - Returns: str - """ - if original_name is None: - raise TypeError("original_name cannot be null.") - if original_name == "expand": - return "%24expand" - if original_name == "select": - return "%24select" - return original_name - - # Expand related entities - expand: Optional[list[str]] = None - - # Select properties to be returned - select: Optional[list[str]] = None - - - @dataclass - class ConfigurationManagementRequestBuilderGetRequestConfiguration(RequestConfiguration[ConfigurationManagementRequestBuilderGetQueryParameters]): - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) - - @dataclass - class ConfigurationManagementRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) - diff --git a/msgraph_beta/generated/admin/configuration_management/configuration_monitoring_results/configuration_monitoring_results_request_builder.py b/msgraph_beta/generated/admin/configuration_management/configuration_monitoring_results/configuration_monitoring_results_request_builder.py index 5b93c12655c..49085c416b0 100644 --- a/msgraph_beta/generated/admin/configuration_management/configuration_monitoring_results/configuration_monitoring_results_request_builder.py +++ b/msgraph_beta/generated/admin/configuration_management/configuration_monitoring_results/configuration_monitoring_results_request_builder.py @@ -14,7 +14,6 @@ from warnings import warn if TYPE_CHECKING: - from ....models.configuration_monitoring_result import ConfigurationMonitoringResult from ....models.configuration_monitoring_result_collection_response import ConfigurationMonitoringResultCollectionResponse from ....models.o_data_errors.o_data_error import ODataError from .count.count_request_builder import CountRequestBuilder @@ -68,29 +67,6 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Configur return await self.request_adapter.send_async(request_info, ConfigurationMonitoringResultCollectionResponse, error_mapping) - async def post(self,body: ConfigurationMonitoringResult, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConfigurationMonitoringResult]: - """ - Create new navigation property to configurationMonitoringResults for admin - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[ConfigurationMonitoringResult] - """ - if body is None: - raise TypeError("body cannot be null.") - request_info = self.to_post_request_information( - body, request_configuration - ) - from ....models.o_data_errors.o_data_error import ODataError - - error_mapping: dict[str, type[ParsableFactory]] = { - "XXX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - from ....models.configuration_monitoring_result import ConfigurationMonitoringResult - - return await self.request_adapter.send_async(request_info, ConfigurationMonitoringResult, error_mapping) - def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ConfigurationMonitoringResultsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ Get a list of the configurationMonitoringResult objects and their properties. @@ -102,21 +78,6 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi request_info.headers.try_add("Accept", "application/json") return request_info - def to_post_request_information(self,body: ConfigurationMonitoringResult, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: - """ - Create new navigation property to configurationMonitoringResults for admin - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - if body is None: - raise TypeError("body cannot be null.") - request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) - request_info.configure(request_configuration) - request_info.headers.try_add("Accept", "application/json") - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) - return request_info - def with_url(self,raw_url: str) -> ConfigurationMonitoringResultsRequestBuilder: """ Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. @@ -199,11 +160,4 @@ class ConfigurationMonitoringResultsRequestBuilderGetRequestConfiguration(Reques """ warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) - @dataclass - class ConfigurationMonitoringResultsRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) - diff --git a/msgraph_beta/generated/admin/configuration_management/configuration_monitoring_results/item/configuration_monitoring_result_item_request_builder.py b/msgraph_beta/generated/admin/configuration_management/configuration_monitoring_results/item/configuration_monitoring_result_item_request_builder.py index f156acd1d0b..25f65c26a0c 100644 --- a/msgraph_beta/generated/admin/configuration_management/configuration_monitoring_results/item/configuration_monitoring_result_item_request_builder.py +++ b/msgraph_beta/generated/admin/configuration_management/configuration_monitoring_results/item/configuration_monitoring_result_item_request_builder.py @@ -30,24 +30,6 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d """ super().__init__(request_adapter, "{+baseurl}/admin/configurationManagement/configurationMonitoringResults/{configurationMonitoringResult%2Did}{?%24expand,%24select}", path_parameters) - async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: - """ - Delete navigation property configurationMonitoringResults for admin - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: None - """ - request_info = self.to_delete_request_information( - request_configuration - ) - from .....models.o_data_errors.o_data_error import ODataError - - error_mapping: dict[str, type[ParsableFactory]] = { - "XXX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) - async def get(self,request_configuration: Optional[RequestConfiguration[ConfigurationMonitoringResultItemRequestBuilderGetQueryParameters]] = None) -> Optional[ConfigurationMonitoringResult]: """ Read the properties and relationships of a configurationMonitoringResult object. @@ -69,40 +51,6 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Configur return await self.request_adapter.send_async(request_info, ConfigurationMonitoringResult, error_mapping) - async def patch(self,body: ConfigurationMonitoringResult, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConfigurationMonitoringResult]: - """ - Update the navigation property configurationMonitoringResults in admin - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[ConfigurationMonitoringResult] - """ - if body is None: - raise TypeError("body cannot be null.") - request_info = self.to_patch_request_information( - body, request_configuration - ) - from .....models.o_data_errors.o_data_error import ODataError - - error_mapping: dict[str, type[ParsableFactory]] = { - "XXX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - from .....models.configuration_monitoring_result import ConfigurationMonitoringResult - - return await self.request_adapter.send_async(request_info, ConfigurationMonitoringResult, error_mapping) - - def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: - """ - Delete navigation property configurationMonitoringResults for admin - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) - request_info.configure(request_configuration) - request_info.headers.try_add("Accept", "application/json") - return request_info - def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ConfigurationMonitoringResultItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ Read the properties and relationships of a configurationMonitoringResult object. @@ -114,21 +62,6 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi request_info.headers.try_add("Accept", "application/json") return request_info - def to_patch_request_information(self,body: ConfigurationMonitoringResult, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: - """ - Update the navigation property configurationMonitoringResults in admin - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - if body is None: - raise TypeError("body cannot be null.") - request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) - request_info.configure(request_configuration) - request_info.headers.try_add("Accept", "application/json") - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) - return request_info - def with_url(self,raw_url: str) -> ConfigurationMonitoringResultItemRequestBuilder: """ Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. @@ -139,13 +72,6 @@ def with_url(self,raw_url: str) -> ConfigurationMonitoringResultItemRequestBuild raise TypeError("raw_url cannot be null.") return ConfigurationMonitoringResultItemRequestBuilder(self.request_adapter, raw_url) - @dataclass - class ConfigurationMonitoringResultItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) - @dataclass class ConfigurationMonitoringResultItemRequestBuilderGetQueryParameters(): """ @@ -179,11 +105,4 @@ class ConfigurationMonitoringResultItemRequestBuilderGetRequestConfiguration(Req """ warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) - @dataclass - class ConfigurationMonitoringResultItemRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) - diff --git a/msgraph_beta/generated/admin/configuration_management/configuration_monitors/item/baseline/baseline_request_builder.py b/msgraph_beta/generated/admin/configuration_management/configuration_monitors/item/baseline/baseline_request_builder.py index f02713c29bc..1ba2f7cf212 100644 --- a/msgraph_beta/generated/admin/configuration_management/configuration_monitors/item/baseline/baseline_request_builder.py +++ b/msgraph_beta/generated/admin/configuration_management/configuration_monitors/item/baseline/baseline_request_builder.py @@ -30,24 +30,6 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d """ super().__init__(request_adapter, "{+baseurl}/admin/configurationManagement/configurationMonitors/{configurationMonitor%2Did}/baseline{?%24expand,%24select}", path_parameters) - async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: - """ - Delete navigation property baseline for admin - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: None - """ - request_info = self.to_delete_request_information( - request_configuration - ) - from ......models.o_data_errors.o_data_error import ODataError - - error_mapping: dict[str, type[ParsableFactory]] = { - "XXX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) - async def get(self,request_configuration: Optional[RequestConfiguration[BaselineRequestBuilderGetQueryParameters]] = None) -> Optional[ConfigurationBaseline]: """ Read the properties and relationships of a configurationBaseline object that is attached to a specific monitor. @@ -69,40 +51,6 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Baseline return await self.request_adapter.send_async(request_info, ConfigurationBaseline, error_mapping) - async def patch(self,body: ConfigurationBaseline, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConfigurationBaseline]: - """ - Update the navigation property baseline in admin - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[ConfigurationBaseline] - """ - if body is None: - raise TypeError("body cannot be null.") - request_info = self.to_patch_request_information( - body, request_configuration - ) - from ......models.o_data_errors.o_data_error import ODataError - - error_mapping: dict[str, type[ParsableFactory]] = { - "XXX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - from ......models.configuration_baseline import ConfigurationBaseline - - return await self.request_adapter.send_async(request_info, ConfigurationBaseline, error_mapping) - - def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: - """ - Delete navigation property baseline for admin - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) - request_info.configure(request_configuration) - request_info.headers.try_add("Accept", "application/json") - return request_info - def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[BaselineRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ Read the properties and relationships of a configurationBaseline object that is attached to a specific monitor. @@ -114,21 +62,6 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi request_info.headers.try_add("Accept", "application/json") return request_info - def to_patch_request_information(self,body: ConfigurationBaseline, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: - """ - Update the navigation property baseline in admin - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - if body is None: - raise TypeError("body cannot be null.") - request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) - request_info.configure(request_configuration) - request_info.headers.try_add("Accept", "application/json") - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) - return request_info - def with_url(self,raw_url: str) -> BaselineRequestBuilder: """ Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. @@ -139,13 +72,6 @@ def with_url(self,raw_url: str) -> BaselineRequestBuilder: raise TypeError("raw_url cannot be null.") return BaselineRequestBuilder(self.request_adapter, raw_url) - @dataclass - class BaselineRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) - @dataclass class BaselineRequestBuilderGetQueryParameters(): """ @@ -179,11 +105,4 @@ class BaselineRequestBuilderGetRequestConfiguration(RequestConfiguration[Baselin """ warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) - @dataclass - class BaselineRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) - diff --git a/msgraph_beta/generated/admin/configuration_management/configuration_snapshot_jobs/configuration_snapshot_jobs_request_builder.py b/msgraph_beta/generated/admin/configuration_management/configuration_snapshot_jobs/configuration_snapshot_jobs_request_builder.py index 1fa4703bf25..4ff2ecc41fa 100644 --- a/msgraph_beta/generated/admin/configuration_management/configuration_snapshot_jobs/configuration_snapshot_jobs_request_builder.py +++ b/msgraph_beta/generated/admin/configuration_management/configuration_snapshot_jobs/configuration_snapshot_jobs_request_builder.py @@ -14,10 +14,8 @@ from warnings import warn if TYPE_CHECKING: - from ....models.configuration_snapshot_job import ConfigurationSnapshotJob from ....models.configuration_snapshot_job_collection_response import ConfigurationSnapshotJobCollectionResponse from ....models.o_data_errors.o_data_error import ODataError - from .count.count_request_builder import CountRequestBuilder from .item.configuration_snapshot_job_item_request_builder import ConfigurationSnapshotJobItemRequestBuilder class ConfigurationSnapshotJobsRequestBuilder(BaseRequestBuilder): @@ -68,29 +66,6 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Configur return await self.request_adapter.send_async(request_info, ConfigurationSnapshotJobCollectionResponse, error_mapping) - async def post(self,body: ConfigurationSnapshotJob, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConfigurationSnapshotJob]: - """ - Create new navigation property to configurationSnapshotJobs for admin - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[ConfigurationSnapshotJob] - """ - if body is None: - raise TypeError("body cannot be null.") - request_info = self.to_post_request_information( - body, request_configuration - ) - from ....models.o_data_errors.o_data_error import ODataError - - error_mapping: dict[str, type[ParsableFactory]] = { - "XXX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - from ....models.configuration_snapshot_job import ConfigurationSnapshotJob - - return await self.request_adapter.send_async(request_info, ConfigurationSnapshotJob, error_mapping) - def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ConfigurationSnapshotJobsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ Get a list of the configurationSnapshotJob objects and their properties. @@ -102,21 +77,6 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi request_info.headers.try_add("Accept", "application/json") return request_info - def to_post_request_information(self,body: ConfigurationSnapshotJob, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: - """ - Create new navigation property to configurationSnapshotJobs for admin - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - if body is None: - raise TypeError("body cannot be null.") - request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) - request_info.configure(request_configuration) - request_info.headers.try_add("Accept", "application/json") - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) - return request_info - def with_url(self,raw_url: str) -> ConfigurationSnapshotJobsRequestBuilder: """ Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. @@ -127,15 +87,6 @@ def with_url(self,raw_url: str) -> ConfigurationSnapshotJobsRequestBuilder: raise TypeError("raw_url cannot be null.") return ConfigurationSnapshotJobsRequestBuilder(self.request_adapter, raw_url) - @property - def count(self) -> CountRequestBuilder: - """ - Provides operations to count the resources in the collection. - """ - from .count.count_request_builder import CountRequestBuilder - - return CountRequestBuilder(self.request_adapter, self.path_parameters) - @dataclass class ConfigurationSnapshotJobsRequestBuilderGetQueryParameters(): """ @@ -199,11 +150,4 @@ class ConfigurationSnapshotJobsRequestBuilderGetRequestConfiguration(RequestConf """ warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) - @dataclass - class ConfigurationSnapshotJobsRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) - diff --git a/msgraph_beta/generated/admin/configuration_management/configuration_snapshot_jobs/item/configuration_snapshot_job_item_request_builder.py b/msgraph_beta/generated/admin/configuration_management/configuration_snapshot_jobs/item/configuration_snapshot_job_item_request_builder.py index 228b57ae287..50b78b47177 100644 --- a/msgraph_beta/generated/admin/configuration_management/configuration_snapshot_jobs/item/configuration_snapshot_job_item_request_builder.py +++ b/msgraph_beta/generated/admin/configuration_management/configuration_snapshot_jobs/item/configuration_snapshot_job_item_request_builder.py @@ -70,29 +70,6 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Configur return await self.request_adapter.send_async(request_info, ConfigurationSnapshotJob, error_mapping) - async def patch(self,body: ConfigurationSnapshotJob, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConfigurationSnapshotJob]: - """ - Update the navigation property configurationSnapshotJobs in admin - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[ConfigurationSnapshotJob] - """ - if body is None: - raise TypeError("body cannot be null.") - request_info = self.to_patch_request_information( - body, request_configuration - ) - from .....models.o_data_errors.o_data_error import ODataError - - error_mapping: dict[str, type[ParsableFactory]] = { - "XXX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - from .....models.configuration_snapshot_job import ConfigurationSnapshotJob - - return await self.request_adapter.send_async(request_info, ConfigurationSnapshotJob, error_mapping) - def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ Delete a configurationSnapshotJob object. @@ -115,21 +92,6 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi request_info.headers.try_add("Accept", "application/json") return request_info - def to_patch_request_information(self,body: ConfigurationSnapshotJob, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: - """ - Update the navigation property configurationSnapshotJobs in admin - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - if body is None: - raise TypeError("body cannot be null.") - request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) - request_info.configure(request_configuration) - request_info.headers.try_add("Accept", "application/json") - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) - return request_info - def with_url(self,raw_url: str) -> ConfigurationSnapshotJobItemRequestBuilder: """ Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. @@ -180,11 +142,4 @@ class ConfigurationSnapshotJobItemRequestBuilderGetRequestConfiguration(RequestC """ warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) - @dataclass - class ConfigurationSnapshotJobItemRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) - diff --git a/msgraph_beta/generated/admin/configuration_management/configuration_snapshots/configuration_snapshots_request_builder.py b/msgraph_beta/generated/admin/configuration_management/configuration_snapshots/configuration_snapshots_request_builder.py index 0c7919a3093..d0dd01efe3b 100644 --- a/msgraph_beta/generated/admin/configuration_management/configuration_snapshots/configuration_snapshots_request_builder.py +++ b/msgraph_beta/generated/admin/configuration_management/configuration_snapshots/configuration_snapshots_request_builder.py @@ -14,10 +14,8 @@ from warnings import warn if TYPE_CHECKING: - from ....models.configuration_baseline import ConfigurationBaseline from ....models.configuration_baseline_collection_response import ConfigurationBaselineCollectionResponse from ....models.o_data_errors.o_data_error import ODataError - from .count.count_request_builder import CountRequestBuilder from .item.configuration_baseline_item_request_builder import ConfigurationBaselineItemRequestBuilder class ConfigurationSnapshotsRequestBuilder(BaseRequestBuilder): @@ -68,29 +66,6 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Configur return await self.request_adapter.send_async(request_info, ConfigurationBaselineCollectionResponse, error_mapping) - async def post(self,body: ConfigurationBaseline, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConfigurationBaseline]: - """ - Create new navigation property to configurationSnapshots for admin - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[ConfigurationBaseline] - """ - if body is None: - raise TypeError("body cannot be null.") - request_info = self.to_post_request_information( - body, request_configuration - ) - from ....models.o_data_errors.o_data_error import ODataError - - error_mapping: dict[str, type[ParsableFactory]] = { - "XXX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - from ....models.configuration_baseline import ConfigurationBaseline - - return await self.request_adapter.send_async(request_info, ConfigurationBaseline, error_mapping) - def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ConfigurationSnapshotsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ Get a list of configurationBaseline objects that represent configuration snapshots and their properties. @@ -102,21 +77,6 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi request_info.headers.try_add("Accept", "application/json") return request_info - def to_post_request_information(self,body: ConfigurationBaseline, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: - """ - Create new navigation property to configurationSnapshots for admin - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - if body is None: - raise TypeError("body cannot be null.") - request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) - request_info.configure(request_configuration) - request_info.headers.try_add("Accept", "application/json") - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) - return request_info - def with_url(self,raw_url: str) -> ConfigurationSnapshotsRequestBuilder: """ Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. @@ -127,15 +87,6 @@ def with_url(self,raw_url: str) -> ConfigurationSnapshotsRequestBuilder: raise TypeError("raw_url cannot be null.") return ConfigurationSnapshotsRequestBuilder(self.request_adapter, raw_url) - @property - def count(self) -> CountRequestBuilder: - """ - Provides operations to count the resources in the collection. - """ - from .count.count_request_builder import CountRequestBuilder - - return CountRequestBuilder(self.request_adapter, self.path_parameters) - @dataclass class ConfigurationSnapshotsRequestBuilderGetQueryParameters(): """ @@ -199,11 +150,4 @@ class ConfigurationSnapshotsRequestBuilderGetRequestConfiguration(RequestConfigu """ warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) - @dataclass - class ConfigurationSnapshotsRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) - diff --git a/msgraph_beta/generated/admin/configuration_management/configuration_snapshots/item/configuration_baseline_item_request_builder.py b/msgraph_beta/generated/admin/configuration_management/configuration_snapshots/item/configuration_baseline_item_request_builder.py index e77b68f43d1..5a283d9b2a9 100644 --- a/msgraph_beta/generated/admin/configuration_management/configuration_snapshots/item/configuration_baseline_item_request_builder.py +++ b/msgraph_beta/generated/admin/configuration_management/configuration_snapshots/item/configuration_baseline_item_request_builder.py @@ -30,24 +30,6 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d """ super().__init__(request_adapter, "{+baseurl}/admin/configurationManagement/configurationSnapshots/{configurationBaseline%2Did}{?%24expand,%24select}", path_parameters) - async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: - """ - Delete navigation property configurationSnapshots for admin - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: None - """ - request_info = self.to_delete_request_information( - request_configuration - ) - from .....models.o_data_errors.o_data_error import ODataError - - error_mapping: dict[str, type[ParsableFactory]] = { - "XXX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) - async def get(self,request_configuration: Optional[RequestConfiguration[ConfigurationBaselineItemRequestBuilderGetQueryParameters]] = None) -> Optional[ConfigurationBaseline]: """ A container for configuration snapshot baselines. @@ -68,40 +50,6 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Configur return await self.request_adapter.send_async(request_info, ConfigurationBaseline, error_mapping) - async def patch(self,body: ConfigurationBaseline, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConfigurationBaseline]: - """ - Update the navigation property configurationSnapshots in admin - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[ConfigurationBaseline] - """ - if body is None: - raise TypeError("body cannot be null.") - request_info = self.to_patch_request_information( - body, request_configuration - ) - from .....models.o_data_errors.o_data_error import ODataError - - error_mapping: dict[str, type[ParsableFactory]] = { - "XXX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - from .....models.configuration_baseline import ConfigurationBaseline - - return await self.request_adapter.send_async(request_info, ConfigurationBaseline, error_mapping) - - def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: - """ - Delete navigation property configurationSnapshots for admin - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) - request_info.configure(request_configuration) - request_info.headers.try_add("Accept", "application/json") - return request_info - def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ConfigurationBaselineItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ A container for configuration snapshot baselines. @@ -113,21 +61,6 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi request_info.headers.try_add("Accept", "application/json") return request_info - def to_patch_request_information(self,body: ConfigurationBaseline, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: - """ - Update the navigation property configurationSnapshots in admin - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - if body is None: - raise TypeError("body cannot be null.") - request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) - request_info.configure(request_configuration) - request_info.headers.try_add("Accept", "application/json") - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) - return request_info - def with_url(self,raw_url: str) -> ConfigurationBaselineItemRequestBuilder: """ Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. @@ -138,13 +71,6 @@ def with_url(self,raw_url: str) -> ConfigurationBaselineItemRequestBuilder: raise TypeError("raw_url cannot be null.") return ConfigurationBaselineItemRequestBuilder(self.request_adapter, raw_url) - @dataclass - class ConfigurationBaselineItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) - @dataclass class ConfigurationBaselineItemRequestBuilderGetQueryParameters(): """ @@ -178,11 +104,4 @@ class ConfigurationBaselineItemRequestBuilderGetRequestConfiguration(RequestConf """ warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) - @dataclass - class ConfigurationBaselineItemRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) - diff --git a/msgraph_beta/generated/base_graph_service_client.py b/msgraph_beta/generated/base_graph_service_client.py index 9c155506a19..3cebcfcbbb3 100644 --- a/msgraph_beta/generated/base_graph_service_client.py +++ b/msgraph_beta/generated/base_graph_service_client.py @@ -14,6 +14,7 @@ from kiota_serialization_text.text_parse_node_factory import TextParseNodeFactory from kiota_serialization_text.text_serialization_writer_factory import TextSerializationWriterFactory from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn if TYPE_CHECKING: from .access_reviews.access_reviews_request_builder import AccessReviewsRequestBuilder @@ -235,6 +236,7 @@ def service_principals_with_app_id(self,app_id: str) -> ServicePrincipalsWithApp param app_id: Alternate key of servicePrincipal Returns: ServicePrincipalsWithAppIdRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if app_id is None: raise TypeError("app_id cannot be null.") from .service_principals_with_app_id.service_principals_with_app_id_request_builder import ServicePrincipalsWithAppIdRequestBuilder diff --git a/msgraph_beta/generated/device_app_management/device_app_management_request_builder.py b/msgraph_beta/generated/device_app_management/device_app_management_request_builder.py index 9033e619542..fc239954d08 100644 --- a/msgraph_beta/generated/device_app_management/device_app_management_request_builder.py +++ b/msgraph_beta/generated/device_app_management/device_app_management_request_builder.py @@ -81,7 +81,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceAp async def patch(self,body: DeviceAppManagement, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceAppManagement]: """ Update deviceAppManagement - param body: The request body + param body: Singleton entity that acts as a container for all device app management functionality. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceAppManagement] """ @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: DeviceAppManagement, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ Update deviceAppManagement - param body: The request body + param body: Singleton entity that acts as a container for all device app management functionality. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/cancel_enhanced_log_collection/cancel_enhanced_log_collection_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/cancel_enhanced_log_collection/cancel_enhanced_log_collection_request_builder.py new file mode 100644 index 00000000000..aefd070bfda --- /dev/null +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/cancel_enhanced_log_collection/cancel_enhanced_log_collection_request_builder.py @@ -0,0 +1,78 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + +class CancelEnhancedLogCollectionRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the cancelEnhancedLogCollection method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new CancelEnhancedLogCollectionRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/cancelEnhancedLogCollection", path_parameters) + + async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Cancels an in-progress enhanced log collection session on a supervised Apple device. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_post_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Cancels an in-progress enhanced log collection session on a supervised Apple device. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> CancelEnhancedLogCollectionRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CancelEnhancedLogCollectionRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CancelEnhancedLogCollectionRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CancelEnhancedLogCollectionRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/managed_device_item_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/managed_device_item_request_builder.py index d7bc193595f..3582ac8c72e 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/managed_device_item_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/managed_device_item_request_builder.py @@ -19,6 +19,7 @@ from .activate_device_esim.activate_device_esim_request_builder import ActivateDeviceEsimRequestBuilder from .assignment_filter_evaluation_status_details.assignment_filter_evaluation_status_details_request_builder import AssignmentFilterEvaluationStatusDetailsRequestBuilder from .bypass_activation_lock.bypass_activation_lock_request_builder import BypassActivationLockRequestBuilder + from .cancel_enhanced_log_collection.cancel_enhanced_log_collection_request_builder import CancelEnhancedLogCollectionRequestBuilder from .change_assignments.change_assignments_request_builder import ChangeAssignmentsRequestBuilder from .clean_windows_device.clean_windows_device_request_builder import CleanWindowsDeviceRequestBuilder from .create_device_log_collection_request.create_device_log_collection_request_request_builder import CreateDeviceLogCollectionRequestRequestBuilder @@ -71,6 +72,7 @@ from .suspend_managed_home_screen.suspend_managed_home_screen_request_builder import SuspendManagedHomeScreenRequestBuilder from .sync_device.sync_device_request_builder import SyncDeviceRequestBuilder from .trigger_configuration_manager_action.trigger_configuration_manager_action_request_builder import TriggerConfigurationManagerActionRequestBuilder + from .trigger_enhanced_log_collection.trigger_enhanced_log_collection_request_builder import TriggerEnhancedLogCollectionRequestBuilder from .update_windows_device_account.update_windows_device_account_request_builder import UpdateWindowsDeviceAccountRequestBuilder from .users.users_request_builder import UsersRequestBuilder from .windows_defender_scan.windows_defender_scan_request_builder import WindowsDefenderScanRequestBuilder @@ -226,6 +228,15 @@ def bypass_activation_lock(self) -> BypassActivationLockRequestBuilder: return BypassActivationLockRequestBuilder(self.request_adapter, self.path_parameters) + @property + def cancel_enhanced_log_collection(self) -> CancelEnhancedLogCollectionRequestBuilder: + """ + Provides operations to call the cancelEnhancedLogCollection method. + """ + from .cancel_enhanced_log_collection.cancel_enhanced_log_collection_request_builder import CancelEnhancedLogCollectionRequestBuilder + + return CancelEnhancedLogCollectionRequestBuilder(self.request_adapter, self.path_parameters) + @property def change_assignments(self) -> ChangeAssignmentsRequestBuilder: """ @@ -694,6 +705,15 @@ def trigger_configuration_manager_action(self) -> TriggerConfigurationManagerAct return TriggerConfigurationManagerActionRequestBuilder(self.request_adapter, self.path_parameters) + @property + def trigger_enhanced_log_collection(self) -> TriggerEnhancedLogCollectionRequestBuilder: + """ + Provides operations to call the triggerEnhancedLogCollection method. + """ + from .trigger_enhanced_log_collection.trigger_enhanced_log_collection_request_builder import TriggerEnhancedLogCollectionRequestBuilder + + return TriggerEnhancedLogCollectionRequestBuilder(self.request_adapter, self.path_parameters) + @property def update_windows_device_account(self) -> UpdateWindowsDeviceAccountRequestBuilder: """ diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/security_baseline_states/count/count_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/security_baseline_states/count/count_request_builder.py index 9b4e33e6f09..ebc2c0d91ab 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/security_baseline_states/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/security_baseline_states/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/security_baseline_states/item/security_baseline_state_item_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/security_baseline_states/item/security_baseline_state_item_request_builder.py index ed5f49702ee..0cfd0986c0e 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/security_baseline_states/item/security_baseline_state_item_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/security_baseline_states/item/security_baseline_state_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Security param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SecurityBaselineState] """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: SecurityBaselineState, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SecurityBaselineState] """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: SecurityBaselineState, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> SecurityBaselineStateItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SecurityBaselineStateItemRequestBuilder """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SecurityBaselineStateItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/security_baseline_states/item/setting_states/count/count_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/security_baseline_states/item/setting_states/count/count_request_builder.py index c3e92f26aee..1639c98d872 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/security_baseline_states/item/setting_states/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/security_baseline_states/item/setting_states/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/security_baseline_states/item/setting_states/item/security_baseline_setting_state_item_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/security_baseline_states/item/setting_states/item/security_baseline_setting_state_item_request_builder.py index 702ee5a1fee..137c601c19e 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/security_baseline_states/item/setting_states/item/security_baseline_setting_state_item_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/security_baseline_states/item/setting_states/item/security_baseline_setting_state_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Security param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SecurityBaselineSettingState] """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: SecurityBaselineSettingState, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SecurityBaselineSettingState] """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: SecurityBaselineSettingState, reques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> SecurityBaselineSettingStateItemRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: SecurityBaselineSettingStateItemRequestBuilder """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SecurityBaselineSettingStateItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/security_baseline_states/item/setting_states/setting_states_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/security_baseline_states/item/setting_states/setting_states_request_builder.py index 509ea3c6e61..3ef2ab28a5d 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/security_baseline_states/item/setting_states/setting_states_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/security_baseline_states/item/setting_states/setting_states_request_builder.py @@ -39,6 +39,7 @@ def by_security_baseline_setting_state_id(self,security_baseline_setting_state_i param security_baseline_setting_state_id: The unique identifier of securityBaselineSettingState Returns: SecurityBaselineSettingStateItemRequestBuilder """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if security_baseline_setting_state_id is None: raise TypeError("security_baseline_setting_state_id cannot be null.") from .item.security_baseline_setting_state_item_request_builder import SecurityBaselineSettingStateItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SettingS param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SecurityBaselineSettingStateCollectionResponse] """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: SecurityBaselineSettingState, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SecurityBaselineSettingState] """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: SecurityBaselineSettingState, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> SettingStatesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SettingStatesRequestBuilder """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SettingStatesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/security_baseline_states/security_baseline_states_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/security_baseline_states/security_baseline_states_request_builder.py index 648a8b5acf4..426f4470e30 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/security_baseline_states/security_baseline_states_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/security_baseline_states/security_baseline_states_request_builder.py @@ -39,6 +39,7 @@ def by_security_baseline_state_id(self,security_baseline_state_id: str) -> Secur param security_baseline_state_id: The unique identifier of securityBaselineState Returns: SecurityBaselineStateItemRequestBuilder """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if security_baseline_state_id is None: raise TypeError("security_baseline_state_id cannot be null.") from .item.security_baseline_state_item_request_builder import SecurityBaselineStateItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Security param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SecurityBaselineStateCollectionResponse] """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: SecurityBaselineState, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SecurityBaselineState] """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: SecurityBaselineState, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> SecurityBaselineStatesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SecurityBaselineStatesRequestBuilder """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SecurityBaselineStatesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/trigger_enhanced_log_collection/trigger_enhanced_log_collection_post_request_body.py b/msgraph_beta/generated/device_management/comanaged_devices/item/trigger_enhanced_log_collection/trigger_enhanced_log_collection_post_request_body.py new file mode 100644 index 00000000000..f5bb01bb0d1 --- /dev/null +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/trigger_enhanced_log_collection/trigger_enhanced_log_collection_post_request_body.py @@ -0,0 +1,50 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class TriggerEnhancedLogCollectionPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The appleCareToken property + apple_care_token: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> TriggerEnhancedLogCollectionPostRequestBody: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: TriggerEnhancedLogCollectionPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return TriggerEnhancedLogCollectionPostRequestBody() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "appleCareToken": lambda n : setattr(self, 'apple_care_token', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("appleCareToken", self.apple_care_token) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/trigger_enhanced_log_collection/trigger_enhanced_log_collection_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/trigger_enhanced_log_collection/trigger_enhanced_log_collection_request_builder.py new file mode 100644 index 00000000000..ce5fd5a304a --- /dev/null +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/trigger_enhanced_log_collection/trigger_enhanced_log_collection_request_builder.py @@ -0,0 +1,86 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .trigger_enhanced_log_collection_post_request_body import TriggerEnhancedLogCollectionPostRequestBody + +class TriggerEnhancedLogCollectionRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the triggerEnhancedLogCollection method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new TriggerEnhancedLogCollectionRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/triggerEnhancedLogCollection", path_parameters) + + async def post(self,body: TriggerEnhancedLogCollectionPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Triggers an AppleCare-authorized enhanced log collection session on a supervised Apple device. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + def to_post_request_information(self,body: TriggerEnhancedLogCollectionPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Triggers an AppleCare-authorized enhanced log collection session on a supervised Apple device. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> TriggerEnhancedLogCollectionRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: TriggerEnhancedLogCollectionRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return TriggerEnhancedLogCollectionRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class TriggerEnhancedLogCollectionRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/refresh_device_compliance_report_summarization/refresh_device_compliance_report_summarization_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policies/refresh_device_compliance_report_summarization/refresh_device_compliance_report_summarization_request_builder.py index 949ea571a73..56618ec7c3c 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/refresh_device_compliance_report_summarization/refresh_device_compliance_report_summarization_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/refresh_device_compliance_report_summarization/refresh_device_compliance_report_summarization_request_builder.py @@ -35,6 +35,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This action is deprecated and will be removed on July 7, 2026. This API is obsolete and should be removed from client code; no replacement is needed as the current reporting architecture continuously aggregates compliance data. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This action is deprecated and will be removed on July 7, 2026. This API is obsolete and should be removed from client code; no replacement is needed as the current reporting architecture continuously aggregates compliance data. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> RefreshDeviceComplianceReportSummarizationReq param raw_url: The raw URL to use for the request builder. Returns: RefreshDeviceComplianceReportSummarizationRequestBuilder """ + warn("This action is deprecated and will be removed on July 7, 2026. This API is obsolete and should be removed from client code; no replacement is needed as the current reporting architecture continuously aggregates compliance data. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefreshDeviceComplianceReportSummarizationRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/device_management/device_configuration_user_state_summaries/device_configuration_user_state_summaries_request_builder.py b/msgraph_beta/generated/device_management/device_configuration_user_state_summaries/device_configuration_user_state_summaries_request_builder.py index 4688baccff5..d32b1387f4e 100644 --- a/msgraph_beta/generated/device_management/device_configuration_user_state_summaries/device_configuration_user_state_summaries_request_builder.py +++ b/msgraph_beta/generated/device_management/device_configuration_user_state_summaries/device_configuration_user_state_summaries_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use GET /deviceManagement/deviceConfigurations('{policyId}')/userStatusOverview or POST /deviceManagement/reports/getDeviceConfigurationPolicyStatusSummary instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceConfigurationUserStateSummary] """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use GET /deviceManagement/deviceConfigurations('{policyId}')/userStatusOverview or POST /deviceManagement/reports/getDeviceConfigurationPolicyStatusSummary instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: DeviceConfigurationUserStateSummary, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceConfigurationUserStateSummary] """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use GET /deviceManagement/deviceConfigurations('{policyId}')/userStatusOverview or POST /deviceManagement/reports/getDeviceConfigurationPolicyStatusSummary instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use GET /deviceManagement/deviceConfigurations('{policyId}')/userStatusOverview or POST /deviceManagement/reports/getDeviceConfigurationPolicyStatusSummary instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use GET /deviceManagement/deviceConfigurations('{policyId}')/userStatusOverview or POST /deviceManagement/reports/getDeviceConfigurationPolicyStatusSummary instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: DeviceConfigurationUserStateSummary, param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use GET /deviceManagement/deviceConfigurations('{policyId}')/userStatusOverview or POST /deviceManagement/reports/getDeviceConfigurationPolicyStatusSummary instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> DeviceConfigurationUserStateSummariesRequestB param raw_url: The raw URL to use for the request builder. Returns: DeviceConfigurationUserStateSummariesRequestBuilder """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use GET /deviceManagement/deviceConfigurations('{policyId}')/userStatusOverview or POST /deviceManagement/reports/getDeviceConfigurationPolicyStatusSummary instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DeviceConfigurationUserStateSummariesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/device_management/managed_devices/item/cancel_enhanced_log_collection/cancel_enhanced_log_collection_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/cancel_enhanced_log_collection/cancel_enhanced_log_collection_request_builder.py new file mode 100644 index 00000000000..ada34458fa3 --- /dev/null +++ b/msgraph_beta/generated/device_management/managed_devices/item/cancel_enhanced_log_collection/cancel_enhanced_log_collection_request_builder.py @@ -0,0 +1,78 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + +class CancelEnhancedLogCollectionRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the cancelEnhancedLogCollection method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new CancelEnhancedLogCollectionRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/cancelEnhancedLogCollection", path_parameters) + + async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Cancels an in-progress enhanced log collection session on a supervised Apple device. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_post_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Cancels an in-progress enhanced log collection session on a supervised Apple device. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> CancelEnhancedLogCollectionRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CancelEnhancedLogCollectionRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CancelEnhancedLogCollectionRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CancelEnhancedLogCollectionRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/device_management/managed_devices/item/managed_device_item_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/managed_device_item_request_builder.py index 2a09e01db12..9b19744d2e6 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/managed_device_item_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/managed_device_item_request_builder.py @@ -19,6 +19,7 @@ from .activate_device_esim.activate_device_esim_request_builder import ActivateDeviceEsimRequestBuilder from .assignment_filter_evaluation_status_details.assignment_filter_evaluation_status_details_request_builder import AssignmentFilterEvaluationStatusDetailsRequestBuilder from .bypass_activation_lock.bypass_activation_lock_request_builder import BypassActivationLockRequestBuilder + from .cancel_enhanced_log_collection.cancel_enhanced_log_collection_request_builder import CancelEnhancedLogCollectionRequestBuilder from .change_assignments.change_assignments_request_builder import ChangeAssignmentsRequestBuilder from .clean_windows_device.clean_windows_device_request_builder import CleanWindowsDeviceRequestBuilder from .create_device_log_collection_request.create_device_log_collection_request_request_builder import CreateDeviceLogCollectionRequestRequestBuilder @@ -71,6 +72,7 @@ from .suspend_managed_home_screen.suspend_managed_home_screen_request_builder import SuspendManagedHomeScreenRequestBuilder from .sync_device.sync_device_request_builder import SyncDeviceRequestBuilder from .trigger_configuration_manager_action.trigger_configuration_manager_action_request_builder import TriggerConfigurationManagerActionRequestBuilder + from .trigger_enhanced_log_collection.trigger_enhanced_log_collection_request_builder import TriggerEnhancedLogCollectionRequestBuilder from .update_windows_device_account.update_windows_device_account_request_builder import UpdateWindowsDeviceAccountRequestBuilder from .users.users_request_builder import UsersRequestBuilder from .windows_defender_scan.windows_defender_scan_request_builder import WindowsDefenderScanRequestBuilder @@ -226,6 +228,15 @@ def bypass_activation_lock(self) -> BypassActivationLockRequestBuilder: return BypassActivationLockRequestBuilder(self.request_adapter, self.path_parameters) + @property + def cancel_enhanced_log_collection(self) -> CancelEnhancedLogCollectionRequestBuilder: + """ + Provides operations to call the cancelEnhancedLogCollection method. + """ + from .cancel_enhanced_log_collection.cancel_enhanced_log_collection_request_builder import CancelEnhancedLogCollectionRequestBuilder + + return CancelEnhancedLogCollectionRequestBuilder(self.request_adapter, self.path_parameters) + @property def change_assignments(self) -> ChangeAssignmentsRequestBuilder: """ @@ -694,6 +705,15 @@ def trigger_configuration_manager_action(self) -> TriggerConfigurationManagerAct return TriggerConfigurationManagerActionRequestBuilder(self.request_adapter, self.path_parameters) + @property + def trigger_enhanced_log_collection(self) -> TriggerEnhancedLogCollectionRequestBuilder: + """ + Provides operations to call the triggerEnhancedLogCollection method. + """ + from .trigger_enhanced_log_collection.trigger_enhanced_log_collection_request_builder import TriggerEnhancedLogCollectionRequestBuilder + + return TriggerEnhancedLogCollectionRequestBuilder(self.request_adapter, self.path_parameters) + @property def update_windows_device_account(self) -> UpdateWindowsDeviceAccountRequestBuilder: """ diff --git a/msgraph_beta/generated/device_management/managed_devices/item/security_baseline_states/count/count_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/security_baseline_states/count/count_request_builder.py index 846a469c186..d6e587baadd 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/security_baseline_states/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/security_baseline_states/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/device_management/managed_devices/item/security_baseline_states/item/security_baseline_state_item_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/security_baseline_states/item/security_baseline_state_item_request_builder.py index 1c46afacccd..ffee21ff60d 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/security_baseline_states/item/security_baseline_state_item_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/security_baseline_states/item/security_baseline_state_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Security param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SecurityBaselineState] """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: SecurityBaselineState, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SecurityBaselineState] """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: SecurityBaselineState, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> SecurityBaselineStateItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SecurityBaselineStateItemRequestBuilder """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SecurityBaselineStateItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/device_management/managed_devices/item/security_baseline_states/item/setting_states/count/count_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/security_baseline_states/item/setting_states/count/count_request_builder.py index 37869ccb34c..6f399b9c00f 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/security_baseline_states/item/setting_states/count/count_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/security_baseline_states/item/setting_states/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/device_management/managed_devices/item/security_baseline_states/item/setting_states/item/security_baseline_setting_state_item_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/security_baseline_states/item/setting_states/item/security_baseline_setting_state_item_request_builder.py index b4fef23a237..96f53e84bda 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/security_baseline_states/item/setting_states/item/security_baseline_setting_state_item_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/security_baseline_states/item/setting_states/item/security_baseline_setting_state_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Security param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SecurityBaselineSettingState] """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: SecurityBaselineSettingState, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SecurityBaselineSettingState] """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: SecurityBaselineSettingState, reques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> SecurityBaselineSettingStateItemRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: SecurityBaselineSettingStateItemRequestBuilder """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SecurityBaselineSettingStateItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/device_management/managed_devices/item/security_baseline_states/item/setting_states/setting_states_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/security_baseline_states/item/setting_states/setting_states_request_builder.py index 2528928ec43..14bcc10f4ee 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/security_baseline_states/item/setting_states/setting_states_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/security_baseline_states/item/setting_states/setting_states_request_builder.py @@ -39,6 +39,7 @@ def by_security_baseline_setting_state_id(self,security_baseline_setting_state_i param security_baseline_setting_state_id: The unique identifier of securityBaselineSettingState Returns: SecurityBaselineSettingStateItemRequestBuilder """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if security_baseline_setting_state_id is None: raise TypeError("security_baseline_setting_state_id cannot be null.") from .item.security_baseline_setting_state_item_request_builder import SecurityBaselineSettingStateItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SettingS param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SecurityBaselineSettingStateCollectionResponse] """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: SecurityBaselineSettingState, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SecurityBaselineSettingState] """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: SecurityBaselineSettingState, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> SettingStatesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SettingStatesRequestBuilder """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SettingStatesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/device_management/managed_devices/item/security_baseline_states/security_baseline_states_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/security_baseline_states/security_baseline_states_request_builder.py index 7f0c1601222..ab22a136bdc 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/security_baseline_states/security_baseline_states_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/security_baseline_states/security_baseline_states_request_builder.py @@ -39,6 +39,7 @@ def by_security_baseline_state_id(self,security_baseline_state_id: str) -> Secur param security_baseline_state_id: The unique identifier of securityBaselineState Returns: SecurityBaselineStateItemRequestBuilder """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if security_baseline_state_id is None: raise TypeError("security_baseline_state_id cannot be null.") from .item.security_baseline_state_item_request_builder import SecurityBaselineStateItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Security param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SecurityBaselineStateCollectionResponse] """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: SecurityBaselineState, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SecurityBaselineState] """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: SecurityBaselineState, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> SecurityBaselineStatesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SecurityBaselineStatesRequestBuilder """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SecurityBaselineStatesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/device_management/managed_devices/item/trigger_enhanced_log_collection/trigger_enhanced_log_collection_post_request_body.py b/msgraph_beta/generated/device_management/managed_devices/item/trigger_enhanced_log_collection/trigger_enhanced_log_collection_post_request_body.py new file mode 100644 index 00000000000..f5bb01bb0d1 --- /dev/null +++ b/msgraph_beta/generated/device_management/managed_devices/item/trigger_enhanced_log_collection/trigger_enhanced_log_collection_post_request_body.py @@ -0,0 +1,50 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class TriggerEnhancedLogCollectionPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The appleCareToken property + apple_care_token: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> TriggerEnhancedLogCollectionPostRequestBody: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: TriggerEnhancedLogCollectionPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return TriggerEnhancedLogCollectionPostRequestBody() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "appleCareToken": lambda n : setattr(self, 'apple_care_token', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("appleCareToken", self.apple_care_token) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/device_management/managed_devices/item/trigger_enhanced_log_collection/trigger_enhanced_log_collection_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/trigger_enhanced_log_collection/trigger_enhanced_log_collection_request_builder.py new file mode 100644 index 00000000000..4982044487d --- /dev/null +++ b/msgraph_beta/generated/device_management/managed_devices/item/trigger_enhanced_log_collection/trigger_enhanced_log_collection_request_builder.py @@ -0,0 +1,86 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .trigger_enhanced_log_collection_post_request_body import TriggerEnhancedLogCollectionPostRequestBody + +class TriggerEnhancedLogCollectionRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the triggerEnhancedLogCollection method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new TriggerEnhancedLogCollectionRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/triggerEnhancedLogCollection", path_parameters) + + async def post(self,body: TriggerEnhancedLogCollectionPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Triggers an AppleCare-authorized enhanced log collection session on a supervised Apple device. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + def to_post_request_information(self,body: TriggerEnhancedLogCollectionPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Triggers an AppleCare-authorized enhanced log collection session on a supervised Apple device. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> TriggerEnhancedLogCollectionRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: TriggerEnhancedLogCollectionRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return TriggerEnhancedLogCollectionRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class TriggerEnhancedLogCollectionRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/device_management/remote_assistance_partners/item/begin_onboarding/begin_onboarding_post_request_body.py b/msgraph_beta/generated/device_management/remote_assistance_partners/item/begin_onboarding/begin_onboarding_post_request_body.py new file mode 100644 index 00000000000..68540fa0b28 --- /dev/null +++ b/msgraph_beta/generated/device_management/remote_assistance_partners/item/begin_onboarding/begin_onboarding_post_request_body.py @@ -0,0 +1,50 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class BeginOnboardingPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The partnerDomain property + partner_domain: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> BeginOnboardingPostRequestBody: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: BeginOnboardingPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return BeginOnboardingPostRequestBody() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "partnerDomain": lambda n : setattr(self, 'partner_domain', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("partnerDomain", self.partner_domain) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/device_management/remote_assistance_partners/item/begin_onboarding/begin_onboarding_request_builder.py b/msgraph_beta/generated/device_management/remote_assistance_partners/item/begin_onboarding/begin_onboarding_request_builder.py index 9627d181a19..ed0b151a3fe 100644 --- a/msgraph_beta/generated/device_management/remote_assistance_partners/item/begin_onboarding/begin_onboarding_request_builder.py +++ b/msgraph_beta/generated/device_management/remote_assistance_partners/item/begin_onboarding/begin_onboarding_request_builder.py @@ -15,6 +15,7 @@ if TYPE_CHECKING: from .....models.o_data_errors.o_data_error import ODataError + from .begin_onboarding_post_request_body import BeginOnboardingPostRequestBody class BeginOnboardingRequestBuilder(BaseRequestBuilder): """ @@ -29,14 +30,17 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d """ super().__init__(request_adapter, "{+baseurl}/deviceManagement/remoteAssistancePartners/{remoteAssistancePartner%2Did}/beginOnboarding", path_parameters) - async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + async def post(self,body: BeginOnboardingPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ A request to start onboarding. Must be coupled with the appropriate TeamViewer account information + param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + if body is None: + raise TypeError("body cannot be null.") request_info = self.to_post_request_information( - request_configuration + body, request_configuration ) from .....models.o_data_errors.o_data_error import ODataError @@ -47,15 +51,19 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa raise Exception("Http core is null") return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) - def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + def to_post_request_information(self,body: BeginOnboardingPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ A request to start onboarding. Must be coupled with the appropriate TeamViewer account information + param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + if body is None: + raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info def with_url(self,raw_url: str) -> BeginOnboardingRequestBuilder: diff --git a/msgraph_beta/generated/devices/devices_request_builder.py b/msgraph_beta/generated/devices/devices_request_builder.py index 7ea503ee1d8..d227d446d87 100644 --- a/msgraph_beta/generated/devices/devices_request_builder.py +++ b/msgraph_beta/generated/devices/devices_request_builder.py @@ -22,6 +22,7 @@ from .get_by_ids.get_by_ids_request_builder import GetByIdsRequestBuilder from .get_user_owned_objects.get_user_owned_objects_request_builder import GetUserOwnedObjectsRequestBuilder from .item.device_item_request_builder import DeviceItemRequestBuilder + from .provision.provision_request_builder import ProvisionRequestBuilder from .validate_properties.validate_properties_request_builder import ValidatePropertiesRequestBuilder class DevicesRequestBuilder(BaseRequestBuilder): @@ -168,6 +169,15 @@ def get_user_owned_objects(self) -> GetUserOwnedObjectsRequestBuilder: return GetUserOwnedObjectsRequestBuilder(self.request_adapter, self.path_parameters) + @property + def provision(self) -> ProvisionRequestBuilder: + """ + Provides operations to call the provision method. + """ + from .provision.provision_request_builder import ProvisionRequestBuilder + + return ProvisionRequestBuilder(self.request_adapter, self.path_parameters) + @property def validate_properties(self) -> ValidatePropertiesRequestBuilder: """ diff --git a/msgraph_beta/generated/devices/provision/provision_post_request_body.py b/msgraph_beta/generated/devices/provision/provision_post_request_body.py new file mode 100644 index 00000000000..2a29e3a01a0 --- /dev/null +++ b/msgraph_beta/generated/devices/provision/provision_post_request_body.py @@ -0,0 +1,50 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class ProvisionPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The provisioningBlob property + provisioning_blob: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> ProvisionPostRequestBody: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: ProvisionPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return ProvisionPostRequestBody() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "provisioningBlob": lambda n : setattr(self, 'provisioning_blob', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("provisioningBlob", self.provisioning_blob) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/devices/provision/provision_request_builder.py b/msgraph_beta/generated/devices/provision/provision_request_builder.py new file mode 100644 index 00000000000..4f8a1e4e60e --- /dev/null +++ b/msgraph_beta/generated/devices/provision/provision_request_builder.py @@ -0,0 +1,89 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ...models.o_data_errors.o_data_error import ODataError + from ...models.provision_response import ProvisionResponse + from .provision_post_request_body import ProvisionPostRequestBody + +class ProvisionRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the provision method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new ProvisionRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/devices/provision", path_parameters) + + async def post(self,body: ProvisionPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ProvisionResponse]: + """ + Invoke action provision + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ProvisionResponse] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ...models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...models.provision_response import ProvisionResponse + + return await self.request_adapter.send_async(request_info, ProvisionResponse, error_mapping) + + def to_post_request_information(self,body: ProvisionPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action provision + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> ProvisionRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: ProvisionRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ProvisionRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class ProvisionRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/directory/impacted_resources/add_tag/add_tag_post_request_body.py b/msgraph_beta/generated/directory/impacted_resources/add_tag/add_tag_post_request_body.py new file mode 100644 index 00000000000..a40c8b629ba --- /dev/null +++ b/msgraph_beta/generated/directory/impacted_resources/add_tag/add_tag_post_request_body.py @@ -0,0 +1,54 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class AddTagPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The displayName property + display_name: Optional[str] = None + # The resourceIds property + resource_ids: Optional[list[str]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AddTagPostRequestBody: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: AddTagPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AddTagPostRequestBody() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), + "resourceIds": lambda n : setattr(self, 'resource_ids', n.get_collection_of_primitive_values(str)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("displayName", self.display_name) + writer.write_collection_of_primitive_values("resourceIds", self.resource_ids) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/directory/impacted_resources/add_tag/add_tag_post_response.py b/msgraph_beta/generated/directory/impacted_resources/add_tag/add_tag_post_response.py new file mode 100644 index 00000000000..8af869334d8 --- /dev/null +++ b/msgraph_beta/generated/directory/impacted_resources/add_tag/add_tag_post_response.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.impacted_resource import ImpactedResource + +from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class AddTagPostResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[list[ImpactedResource]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AddTagPostResponse: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: AddTagPostResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AddTagPostResponse() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.impacted_resource import ImpactedResource + + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.impacted_resource import ImpactedResource + + fields: dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ImpactedResource)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/directory/impacted_resources/add_tag/add_tag_request_builder.py b/msgraph_beta/generated/directory/impacted_resources/add_tag/add_tag_request_builder.py new file mode 100644 index 00000000000..5419c0af998 --- /dev/null +++ b/msgraph_beta/generated/directory/impacted_resources/add_tag/add_tag_request_builder.py @@ -0,0 +1,89 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ....models.o_data_errors.o_data_error import ODataError + from .add_tag_post_request_body import AddTagPostRequestBody + from .add_tag_post_response import AddTagPostResponse + +class AddTagRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the addTag method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new AddTagRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/directory/impactedResources/addTag", path_parameters) + + async def post(self,body: AddTagPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[AddTagPostResponse]: + """ + Invoke action addTag + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AddTagPostResponse] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .add_tag_post_response import AddTagPostResponse + + return await self.request_adapter.send_async(request_info, AddTagPostResponse, error_mapping) + + def to_post_request_information(self,body: AddTagPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action addTag + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> AddTagRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: AddTagRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return AddTagRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class AddTagRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/directory/impacted_resources/impacted_resources_request_builder.py b/msgraph_beta/generated/directory/impacted_resources/impacted_resources_request_builder.py index 044361eb157..c065ba959a2 100644 --- a/msgraph_beta/generated/directory/impacted_resources/impacted_resources_request_builder.py +++ b/msgraph_beta/generated/directory/impacted_resources/impacted_resources_request_builder.py @@ -17,8 +17,10 @@ from ...models.impacted_resource import ImpactedResource from ...models.impacted_resource_collection_response import ImpactedResourceCollectionResponse from ...models.o_data_errors.o_data_error import ODataError + from .add_tag.add_tag_request_builder import AddTagRequestBuilder from .count.count_request_builder import CountRequestBuilder from .item.impacted_resource_item_request_builder import ImpactedResourceItemRequestBuilder + from .remove_tag.remove_tag_request_builder import RemoveTagRequestBuilder class ImpactedResourcesRequestBuilder(BaseRequestBuilder): """ @@ -126,6 +128,15 @@ def with_url(self,raw_url: str) -> ImpactedResourcesRequestBuilder: raise TypeError("raw_url cannot be null.") return ImpactedResourcesRequestBuilder(self.request_adapter, raw_url) + @property + def add_tag(self) -> AddTagRequestBuilder: + """ + Provides operations to call the addTag method. + """ + from .add_tag.add_tag_request_builder import AddTagRequestBuilder + + return AddTagRequestBuilder(self.request_adapter, self.path_parameters) + @property def count(self) -> CountRequestBuilder: """ @@ -135,6 +146,15 @@ def count(self) -> CountRequestBuilder: return CountRequestBuilder(self.request_adapter, self.path_parameters) + @property + def remove_tag(self) -> RemoveTagRequestBuilder: + """ + Provides operations to call the removeTag method. + """ + from .remove_tag.remove_tag_request_builder import RemoveTagRequestBuilder + + return RemoveTagRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class ImpactedResourcesRequestBuilderGetQueryParameters(): """ diff --git a/msgraph_beta/generated/directory/impacted_resources/item/accept_risk/accept_risk_request_builder.py b/msgraph_beta/generated/directory/impacted_resources/item/accept_risk/accept_risk_request_builder.py new file mode 100644 index 00000000000..7bf4ad0657d --- /dev/null +++ b/msgraph_beta/generated/directory/impacted_resources/item/accept_risk/accept_risk_request_builder.py @@ -0,0 +1,81 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.impacted_resource import ImpactedResource + from .....models.o_data_errors.o_data_error import ODataError + +class AcceptRiskRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the acceptRisk method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new AcceptRiskRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/directory/impactedResources/{impactedResource%2Did}/acceptRisk", path_parameters) + + async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ImpactedResource]: + """ + Invoke action acceptRisk + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ImpactedResource] + """ + request_info = self.to_post_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.impacted_resource import ImpactedResource + + return await self.request_adapter.send_async(request_info, ImpactedResource, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action acceptRisk + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> AcceptRiskRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: AcceptRiskRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return AcceptRiskRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class AcceptRiskRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/directory/impacted_resources/item/add_tag/add_tag_post_request_body.py b/msgraph_beta/generated/directory/impacted_resources/item/add_tag/add_tag_post_request_body.py new file mode 100644 index 00000000000..79bad8daf3b --- /dev/null +++ b/msgraph_beta/generated/directory/impacted_resources/item/add_tag/add_tag_post_request_body.py @@ -0,0 +1,50 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class AddTagPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The displayName property + display_name: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AddTagPostRequestBody: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: AddTagPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AddTagPostRequestBody() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("displayName", self.display_name) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/directory/impacted_resources/item/add_tag/add_tag_request_builder.py b/msgraph_beta/generated/directory/impacted_resources/item/add_tag/add_tag_request_builder.py new file mode 100644 index 00000000000..09bb63f7486 --- /dev/null +++ b/msgraph_beta/generated/directory/impacted_resources/item/add_tag/add_tag_request_builder.py @@ -0,0 +1,89 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.recommendation_tag import RecommendationTag + from .add_tag_post_request_body import AddTagPostRequestBody + +class AddTagRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the addTag method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new AddTagRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/directory/impactedResources/{impactedResource%2Did}/addTag", path_parameters) + + async def post(self,body: AddTagPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RecommendationTag]: + """ + Invoke action addTag + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RecommendationTag] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.recommendation_tag import RecommendationTag + + return await self.request_adapter.send_async(request_info, RecommendationTag, error_mapping) + + def to_post_request_information(self,body: AddTagPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action addTag + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> AddTagRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: AddTagRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return AddTagRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class AddTagRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/directory/impacted_resources/item/apply_alternate_mitigation/apply_alternate_mitigation_request_builder.py b/msgraph_beta/generated/directory/impacted_resources/item/apply_alternate_mitigation/apply_alternate_mitigation_request_builder.py new file mode 100644 index 00000000000..c8b06a10cde --- /dev/null +++ b/msgraph_beta/generated/directory/impacted_resources/item/apply_alternate_mitigation/apply_alternate_mitigation_request_builder.py @@ -0,0 +1,81 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.impacted_resource import ImpactedResource + from .....models.o_data_errors.o_data_error import ODataError + +class ApplyAlternateMitigationRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the applyAlternateMitigation method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new ApplyAlternateMitigationRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/directory/impactedResources/{impactedResource%2Did}/applyAlternateMitigation", path_parameters) + + async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ImpactedResource]: + """ + Invoke action applyAlternateMitigation + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ImpactedResource] + """ + request_info = self.to_post_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.impacted_resource import ImpactedResource + + return await self.request_adapter.send_async(request_info, ImpactedResource, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action applyAlternateMitigation + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> ApplyAlternateMitigationRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: ApplyAlternateMitigationRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ApplyAlternateMitigationRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class ApplyAlternateMitigationRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/directory/impacted_resources/item/impacted_resource_item_request_builder.py b/msgraph_beta/generated/directory/impacted_resources/item/impacted_resource_item_request_builder.py index b70282d3dcd..7d6274ab37a 100644 --- a/msgraph_beta/generated/directory/impacted_resources/item/impacted_resource_item_request_builder.py +++ b/msgraph_beta/generated/directory/impacted_resources/item/impacted_resource_item_request_builder.py @@ -16,10 +16,16 @@ if TYPE_CHECKING: from ....models.impacted_resource import ImpactedResource from ....models.o_data_errors.o_data_error import ODataError + from .accept_risk.accept_risk_request_builder import AcceptRiskRequestBuilder + from .add_tag.add_tag_request_builder import AddTagRequestBuilder + from .apply_alternate_mitigation.apply_alternate_mitigation_request_builder import ApplyAlternateMitigationRequestBuilder from .complete.complete_request_builder import CompleteRequestBuilder from .dismiss.dismiss_request_builder import DismissRequestBuilder + from .mark_planned.mark_planned_request_builder import MarkPlannedRequestBuilder from .postpone.postpone_request_builder import PostponeRequestBuilder from .reactivate.reactivate_request_builder import ReactivateRequestBuilder + from .remove_tag.remove_tag_request_builder import RemoveTagRequestBuilder + from .tags.tags_request_builder import TagsRequestBuilder class ImpactedResourceItemRequestBuilder(BaseRequestBuilder): """ @@ -142,6 +148,33 @@ def with_url(self,raw_url: str) -> ImpactedResourceItemRequestBuilder: raise TypeError("raw_url cannot be null.") return ImpactedResourceItemRequestBuilder(self.request_adapter, raw_url) + @property + def accept_risk(self) -> AcceptRiskRequestBuilder: + """ + Provides operations to call the acceptRisk method. + """ + from .accept_risk.accept_risk_request_builder import AcceptRiskRequestBuilder + + return AcceptRiskRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def add_tag(self) -> AddTagRequestBuilder: + """ + Provides operations to call the addTag method. + """ + from .add_tag.add_tag_request_builder import AddTagRequestBuilder + + return AddTagRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def apply_alternate_mitigation(self) -> ApplyAlternateMitigationRequestBuilder: + """ + Provides operations to call the applyAlternateMitigation method. + """ + from .apply_alternate_mitigation.apply_alternate_mitigation_request_builder import ApplyAlternateMitigationRequestBuilder + + return ApplyAlternateMitigationRequestBuilder(self.request_adapter, self.path_parameters) + @property def complete(self) -> CompleteRequestBuilder: """ @@ -160,6 +193,15 @@ def dismiss(self) -> DismissRequestBuilder: return DismissRequestBuilder(self.request_adapter, self.path_parameters) + @property + def mark_planned(self) -> MarkPlannedRequestBuilder: + """ + Provides operations to call the markPlanned method. + """ + from .mark_planned.mark_planned_request_builder import MarkPlannedRequestBuilder + + return MarkPlannedRequestBuilder(self.request_adapter, self.path_parameters) + @property def postpone(self) -> PostponeRequestBuilder: """ @@ -178,6 +220,24 @@ def reactivate(self) -> ReactivateRequestBuilder: return ReactivateRequestBuilder(self.request_adapter, self.path_parameters) + @property + def remove_tag(self) -> RemoveTagRequestBuilder: + """ + Provides operations to call the removeTag method. + """ + from .remove_tag.remove_tag_request_builder import RemoveTagRequestBuilder + + return RemoveTagRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def tags(self) -> TagsRequestBuilder: + """ + Provides operations to manage the tags property of the microsoft.graph.impactedResource entity. + """ + from .tags.tags_request_builder import TagsRequestBuilder + + return TagsRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class ImpactedResourceItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): """ diff --git a/msgraph_beta/generated/directory/impacted_resources/item/mark_planned/mark_planned_request_builder.py b/msgraph_beta/generated/directory/impacted_resources/item/mark_planned/mark_planned_request_builder.py new file mode 100644 index 00000000000..66320e04d71 --- /dev/null +++ b/msgraph_beta/generated/directory/impacted_resources/item/mark_planned/mark_planned_request_builder.py @@ -0,0 +1,81 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.impacted_resource import ImpactedResource + from .....models.o_data_errors.o_data_error import ODataError + +class MarkPlannedRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the markPlanned method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new MarkPlannedRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/directory/impactedResources/{impactedResource%2Did}/markPlanned", path_parameters) + + async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ImpactedResource]: + """ + Invoke action markPlanned + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ImpactedResource] + """ + request_info = self.to_post_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.impacted_resource import ImpactedResource + + return await self.request_adapter.send_async(request_info, ImpactedResource, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action markPlanned + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> MarkPlannedRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: MarkPlannedRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return MarkPlannedRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class MarkPlannedRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/directory/impacted_resources/item/remove_tag/remove_tag_post_request_body.py b/msgraph_beta/generated/directory/impacted_resources/item/remove_tag/remove_tag_post_request_body.py new file mode 100644 index 00000000000..d528877abb0 --- /dev/null +++ b/msgraph_beta/generated/directory/impacted_resources/item/remove_tag/remove_tag_post_request_body.py @@ -0,0 +1,50 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class RemoveTagPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The tagId property + tag_id: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RemoveTagPostRequestBody: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: RemoveTagPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return RemoveTagPostRequestBody() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "tagId": lambda n : setattr(self, 'tag_id', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("tagId", self.tag_id) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/directory/impacted_resources/item/remove_tag/remove_tag_request_builder.py b/msgraph_beta/generated/directory/impacted_resources/item/remove_tag/remove_tag_request_builder.py new file mode 100644 index 00000000000..1b50637c2f2 --- /dev/null +++ b/msgraph_beta/generated/directory/impacted_resources/item/remove_tag/remove_tag_request_builder.py @@ -0,0 +1,89 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.impacted_resource import ImpactedResource + from .....models.o_data_errors.o_data_error import ODataError + from .remove_tag_post_request_body import RemoveTagPostRequestBody + +class RemoveTagRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the removeTag method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new RemoveTagRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/directory/impactedResources/{impactedResource%2Did}/removeTag", path_parameters) + + async def post(self,body: RemoveTagPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ImpactedResource]: + """ + Invoke action removeTag + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ImpactedResource] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.impacted_resource import ImpactedResource + + return await self.request_adapter.send_async(request_info, ImpactedResource, error_mapping) + + def to_post_request_information(self,body: RemoveTagPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action removeTag + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> RemoveTagRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: RemoveTagRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return RemoveTagRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class RemoveTagRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/admin/configuration_management/configuration_snapshot_jobs/count/count_request_builder.py b/msgraph_beta/generated/directory/impacted_resources/item/tags/count/count_request_builder.py similarity index 93% rename from msgraph_beta/generated/admin/configuration_management/configuration_snapshot_jobs/count/count_request_builder.py rename to msgraph_beta/generated/directory/impacted_resources/item/tags/count/count_request_builder.py index bdb19724f58..09c282453bb 100644 --- a/msgraph_beta/generated/admin/configuration_management/configuration_snapshot_jobs/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/impacted_resources/item/tags/count/count_request_builder.py @@ -14,7 +14,7 @@ from warnings import warn if TYPE_CHECKING: - from .....models.o_data_errors.o_data_error import ODataError + from ......models.o_data_errors.o_data_error import ODataError class CountRequestBuilder(BaseRequestBuilder): """ @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d param request_adapter: The request adapter to use to execute the requests. Returns: None """ - super().__init__(request_adapter, "{+baseurl}/admin/configurationManagement/configurationSnapshotJobs/$count{?%24filter,%24search}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/directory/impactedResources/{impactedResource%2Did}/tags/$count{?%24filter,%24search}", path_parameters) async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: """ @@ -38,7 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq request_info = self.to_get_request_information( request_configuration ) - from .....models.o_data_errors.o_data_error import ODataError + from ......models.o_data_errors.o_data_error import ODataError error_mapping: dict[str, type[ParsableFactory]] = { "XXX": ODataError, diff --git a/msgraph_beta/generated/directory/impacted_resources/item/tags/item/recommendation_tag_item_request_builder.py b/msgraph_beta/generated/directory/impacted_resources/item/tags/item/recommendation_tag_item_request_builder.py new file mode 100644 index 00000000000..57b3cfb4951 --- /dev/null +++ b/msgraph_beta/generated/directory/impacted_resources/item/tags/item/recommendation_tag_item_request_builder.py @@ -0,0 +1,188 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + from ......models.recommendation_tag import RecommendationTag + +class RecommendationTagItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the tags property of the microsoft.graph.impactedResource entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new RecommendationTagItemRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/directory/impactedResources/{impactedResource%2Did}/tags/{recommendationTag%2Did}{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Delete navigation property tags for directory + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration[RecommendationTagItemRequestBuilderGetQueryParameters]] = None) -> Optional[RecommendationTag]: + """ + Get tags from directory + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RecommendationTag] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.recommendation_tag import RecommendationTag + + return await self.request_adapter.send_async(request_info, RecommendationTag, error_mapping) + + async def patch(self,body: RecommendationTag, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RecommendationTag]: + """ + Update the navigation property tags in directory + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RecommendationTag] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.recommendation_tag import RecommendationTag + + return await self.request_adapter.send_async(request_info, RecommendationTag, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Delete navigation property tags for directory + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RecommendationTagItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get tags from directory + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: RecommendationTag, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update the navigation property tags in directory + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> RecommendationTagItemRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: RecommendationTagItemRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return RecommendationTagItemRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class RecommendationTagItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class RecommendationTagItemRequestBuilderGetQueryParameters(): + """ + Get tags from directory + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[list[str]] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + + @dataclass + class RecommendationTagItemRequestBuilderGetRequestConfiguration(RequestConfiguration[RecommendationTagItemRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class RecommendationTagItemRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/directory/impacted_resources/item/tags/tags_request_builder.py b/msgraph_beta/generated/directory/impacted_resources/item/tags/tags_request_builder.py new file mode 100644 index 00000000000..db7388de30e --- /dev/null +++ b/msgraph_beta/generated/directory/impacted_resources/item/tags/tags_request_builder.py @@ -0,0 +1,208 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.recommendation_tag import RecommendationTag + from .....models.recommendation_tag_collection_response import RecommendationTagCollectionResponse + from .count.count_request_builder import CountRequestBuilder + from .item.recommendation_tag_item_request_builder import RecommendationTagItemRequestBuilder + +class TagsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the tags property of the microsoft.graph.impactedResource entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new TagsRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/directory/impactedResources/{impactedResource%2Did}/tags{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_recommendation_tag_id(self,recommendation_tag_id: str) -> RecommendationTagItemRequestBuilder: + """ + Provides operations to manage the tags property of the microsoft.graph.impactedResource entity. + param recommendation_tag_id: The unique identifier of recommendationTag + Returns: RecommendationTagItemRequestBuilder + """ + if recommendation_tag_id is None: + raise TypeError("recommendation_tag_id cannot be null.") + from .item.recommendation_tag_item_request_builder import RecommendationTagItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["recommendationTag%2Did"] = recommendation_tag_id + return RecommendationTagItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration[TagsRequestBuilderGetQueryParameters]] = None) -> Optional[RecommendationTagCollectionResponse]: + """ + Get tags from directory + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RecommendationTagCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.recommendation_tag_collection_response import RecommendationTagCollectionResponse + + return await self.request_adapter.send_async(request_info, RecommendationTagCollectionResponse, error_mapping) + + async def post(self,body: RecommendationTag, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RecommendationTag]: + """ + Create new navigation property to tags for directory + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RecommendationTag] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.recommendation_tag import RecommendationTag + + return await self.request_adapter.send_async(request_info, RecommendationTag, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[TagsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get tags from directory + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: RecommendationTag, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Create new navigation property to tags for directory + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> TagsRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: TagsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return TagsRequestBuilder(self.request_adapter, raw_url) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class TagsRequestBuilderGetQueryParameters(): + """ + Get tags from directory + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[list[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[list[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class TagsRequestBuilderGetRequestConfiguration(RequestConfiguration[TagsRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class TagsRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/directory/impacted_resources/remove_tag/remove_tag_post_request_body.py b/msgraph_beta/generated/directory/impacted_resources/remove_tag/remove_tag_post_request_body.py new file mode 100644 index 00000000000..9c02b58e2a4 --- /dev/null +++ b/msgraph_beta/generated/directory/impacted_resources/remove_tag/remove_tag_post_request_body.py @@ -0,0 +1,54 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class RemoveTagPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The displayName property + display_name: Optional[str] = None + # The resourceIds property + resource_ids: Optional[list[str]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RemoveTagPostRequestBody: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: RemoveTagPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return RemoveTagPostRequestBody() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), + "resourceIds": lambda n : setattr(self, 'resource_ids', n.get_collection_of_primitive_values(str)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("displayName", self.display_name) + writer.write_collection_of_primitive_values("resourceIds", self.resource_ids) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/directory/impacted_resources/remove_tag/remove_tag_post_response.py b/msgraph_beta/generated/directory/impacted_resources/remove_tag/remove_tag_post_response.py new file mode 100644 index 00000000000..b39a8ec7121 --- /dev/null +++ b/msgraph_beta/generated/directory/impacted_resources/remove_tag/remove_tag_post_response.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.impacted_resource import ImpactedResource + +from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class RemoveTagPostResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[list[ImpactedResource]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RemoveTagPostResponse: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: RemoveTagPostResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return RemoveTagPostResponse() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.impacted_resource import ImpactedResource + + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.impacted_resource import ImpactedResource + + fields: dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ImpactedResource)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/directory/impacted_resources/remove_tag/remove_tag_request_builder.py b/msgraph_beta/generated/directory/impacted_resources/remove_tag/remove_tag_request_builder.py new file mode 100644 index 00000000000..24f39032f59 --- /dev/null +++ b/msgraph_beta/generated/directory/impacted_resources/remove_tag/remove_tag_request_builder.py @@ -0,0 +1,89 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ....models.o_data_errors.o_data_error import ODataError + from .remove_tag_post_request_body import RemoveTagPostRequestBody + from .remove_tag_post_response import RemoveTagPostResponse + +class RemoveTagRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the removeTag method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new RemoveTagRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/directory/impactedResources/removeTag", path_parameters) + + async def post(self,body: RemoveTagPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RemoveTagPostResponse]: + """ + Invoke action removeTag + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RemoveTagPostResponse] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .remove_tag_post_response import RemoveTagPostResponse + + return await self.request_adapter.send_async(request_info, RemoveTagPostResponse, error_mapping) + + def to_post_request_information(self,body: RemoveTagPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action removeTag + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> RemoveTagRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: RemoveTagRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return RemoveTagRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class RemoveTagRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/directory/recommendations/item/accept_risk/accept_risk_request_builder.py b/msgraph_beta/generated/directory/recommendations/item/accept_risk/accept_risk_request_builder.py new file mode 100644 index 00000000000..5ed67cb24f6 --- /dev/null +++ b/msgraph_beta/generated/directory/recommendations/item/accept_risk/accept_risk_request_builder.py @@ -0,0 +1,81 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.recommendation import Recommendation + +class AcceptRiskRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the acceptRisk method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new AcceptRiskRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/acceptRisk", path_parameters) + + async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Recommendation]: + """ + Invoke action acceptRisk + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[Recommendation] + """ + request_info = self.to_post_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.recommendation import Recommendation + + return await self.request_adapter.send_async(request_info, Recommendation, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action acceptRisk + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> AcceptRiskRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: AcceptRiskRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return AcceptRiskRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class AcceptRiskRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/directory/recommendations/item/add_tag/add_tag_post_request_body.py b/msgraph_beta/generated/directory/recommendations/item/add_tag/add_tag_post_request_body.py new file mode 100644 index 00000000000..79bad8daf3b --- /dev/null +++ b/msgraph_beta/generated/directory/recommendations/item/add_tag/add_tag_post_request_body.py @@ -0,0 +1,50 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class AddTagPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The displayName property + display_name: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AddTagPostRequestBody: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: AddTagPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AddTagPostRequestBody() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("displayName", self.display_name) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/directory/recommendations/item/add_tag/add_tag_request_builder.py b/msgraph_beta/generated/directory/recommendations/item/add_tag/add_tag_request_builder.py new file mode 100644 index 00000000000..a2e9f6beb7c --- /dev/null +++ b/msgraph_beta/generated/directory/recommendations/item/add_tag/add_tag_request_builder.py @@ -0,0 +1,89 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.recommendation_tag import RecommendationTag + from .add_tag_post_request_body import AddTagPostRequestBody + +class AddTagRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the addTag method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new AddTagRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/addTag", path_parameters) + + async def post(self,body: AddTagPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RecommendationTag]: + """ + Invoke action addTag + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RecommendationTag] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.recommendation_tag import RecommendationTag + + return await self.request_adapter.send_async(request_info, RecommendationTag, error_mapping) + + def to_post_request_information(self,body: AddTagPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action addTag + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> AddTagRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: AddTagRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return AddTagRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class AddTagRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/directory/recommendations/item/apply_alternate_mitigation/apply_alternate_mitigation_request_builder.py b/msgraph_beta/generated/directory/recommendations/item/apply_alternate_mitigation/apply_alternate_mitigation_request_builder.py new file mode 100644 index 00000000000..d061e594205 --- /dev/null +++ b/msgraph_beta/generated/directory/recommendations/item/apply_alternate_mitigation/apply_alternate_mitigation_request_builder.py @@ -0,0 +1,81 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.recommendation import Recommendation + +class ApplyAlternateMitigationRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the applyAlternateMitigation method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new ApplyAlternateMitigationRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/applyAlternateMitigation", path_parameters) + + async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Recommendation]: + """ + Invoke action applyAlternateMitigation + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[Recommendation] + """ + request_info = self.to_post_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.recommendation import Recommendation + + return await self.request_adapter.send_async(request_info, Recommendation, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action applyAlternateMitigation + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> ApplyAlternateMitigationRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: ApplyAlternateMitigationRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ApplyAlternateMitigationRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class ApplyAlternateMitigationRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/directory/recommendations/item/impacted_resources/add_tag/add_tag_post_request_body.py b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/add_tag/add_tag_post_request_body.py new file mode 100644 index 00000000000..a40c8b629ba --- /dev/null +++ b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/add_tag/add_tag_post_request_body.py @@ -0,0 +1,54 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class AddTagPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The displayName property + display_name: Optional[str] = None + # The resourceIds property + resource_ids: Optional[list[str]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AddTagPostRequestBody: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: AddTagPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AddTagPostRequestBody() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), + "resourceIds": lambda n : setattr(self, 'resource_ids', n.get_collection_of_primitive_values(str)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("displayName", self.display_name) + writer.write_collection_of_primitive_values("resourceIds", self.resource_ids) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/directory/recommendations/item/impacted_resources/add_tag/add_tag_post_response.py b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/add_tag/add_tag_post_response.py new file mode 100644 index 00000000000..645e37ecca9 --- /dev/null +++ b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/add_tag/add_tag_post_response.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.impacted_resource import ImpactedResource + +from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class AddTagPostResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[list[ImpactedResource]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AddTagPostResponse: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: AddTagPostResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AddTagPostResponse() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.impacted_resource import ImpactedResource + + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.impacted_resource import ImpactedResource + + fields: dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ImpactedResource)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/directory/recommendations/item/impacted_resources/add_tag/add_tag_request_builder.py b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/add_tag/add_tag_request_builder.py new file mode 100644 index 00000000000..34fc58bec73 --- /dev/null +++ b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/add_tag/add_tag_request_builder.py @@ -0,0 +1,89 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + from .add_tag_post_request_body import AddTagPostRequestBody + from .add_tag_post_response import AddTagPostResponse + +class AddTagRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the addTag method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new AddTagRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/impactedResources/addTag", path_parameters) + + async def post(self,body: AddTagPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[AddTagPostResponse]: + """ + Invoke action addTag + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AddTagPostResponse] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .add_tag_post_response import AddTagPostResponse + + return await self.request_adapter.send_async(request_info, AddTagPostResponse, error_mapping) + + def to_post_request_information(self,body: AddTagPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action addTag + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> AddTagRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: AddTagRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return AddTagRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class AddTagRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/directory/recommendations/item/impacted_resources/impacted_resources_request_builder.py b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/impacted_resources_request_builder.py index a04dd54804f..a295167affd 100644 --- a/msgraph_beta/generated/directory/recommendations/item/impacted_resources/impacted_resources_request_builder.py +++ b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/impacted_resources_request_builder.py @@ -17,8 +17,10 @@ from .....models.impacted_resource import ImpactedResource from .....models.impacted_resource_collection_response import ImpactedResourceCollectionResponse from .....models.o_data_errors.o_data_error import ODataError + from .add_tag.add_tag_request_builder import AddTagRequestBuilder from .count.count_request_builder import CountRequestBuilder from .item.impacted_resource_item_request_builder import ImpactedResourceItemRequestBuilder + from .remove_tag.remove_tag_request_builder import RemoveTagRequestBuilder class ImpactedResourcesRequestBuilder(BaseRequestBuilder): """ @@ -127,6 +129,15 @@ def with_url(self,raw_url: str) -> ImpactedResourcesRequestBuilder: raise TypeError("raw_url cannot be null.") return ImpactedResourcesRequestBuilder(self.request_adapter, raw_url) + @property + def add_tag(self) -> AddTagRequestBuilder: + """ + Provides operations to call the addTag method. + """ + from .add_tag.add_tag_request_builder import AddTagRequestBuilder + + return AddTagRequestBuilder(self.request_adapter, self.path_parameters) + @property def count(self) -> CountRequestBuilder: """ @@ -136,6 +147,15 @@ def count(self) -> CountRequestBuilder: return CountRequestBuilder(self.request_adapter, self.path_parameters) + @property + def remove_tag(self) -> RemoveTagRequestBuilder: + """ + Provides operations to call the removeTag method. + """ + from .remove_tag.remove_tag_request_builder import RemoveTagRequestBuilder + + return RemoveTagRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class ImpactedResourcesRequestBuilderGetQueryParameters(): """ diff --git a/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/accept_risk/accept_risk_request_builder.py b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/accept_risk/accept_risk_request_builder.py new file mode 100644 index 00000000000..328c1839b89 --- /dev/null +++ b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/accept_risk/accept_risk_request_builder.py @@ -0,0 +1,81 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.impacted_resource import ImpactedResource + from .......models.o_data_errors.o_data_error import ODataError + +class AcceptRiskRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the acceptRisk method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new AcceptRiskRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/impactedResources/{impactedResource%2Did}/acceptRisk", path_parameters) + + async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ImpactedResource]: + """ + Invoke action acceptRisk + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ImpactedResource] + """ + request_info = self.to_post_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.impacted_resource import ImpactedResource + + return await self.request_adapter.send_async(request_info, ImpactedResource, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action acceptRisk + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> AcceptRiskRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: AcceptRiskRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return AcceptRiskRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class AcceptRiskRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/add_tag/add_tag_post_request_body.py b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/add_tag/add_tag_post_request_body.py new file mode 100644 index 00000000000..79bad8daf3b --- /dev/null +++ b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/add_tag/add_tag_post_request_body.py @@ -0,0 +1,50 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class AddTagPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The displayName property + display_name: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AddTagPostRequestBody: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: AddTagPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AddTagPostRequestBody() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("displayName", self.display_name) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/add_tag/add_tag_request_builder.py b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/add_tag/add_tag_request_builder.py new file mode 100644 index 00000000000..4c21615878f --- /dev/null +++ b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/add_tag/add_tag_request_builder.py @@ -0,0 +1,89 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + from .......models.recommendation_tag import RecommendationTag + from .add_tag_post_request_body import AddTagPostRequestBody + +class AddTagRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the addTag method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new AddTagRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/impactedResources/{impactedResource%2Did}/addTag", path_parameters) + + async def post(self,body: AddTagPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RecommendationTag]: + """ + Invoke action addTag + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RecommendationTag] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.recommendation_tag import RecommendationTag + + return await self.request_adapter.send_async(request_info, RecommendationTag, error_mapping) + + def to_post_request_information(self,body: AddTagPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action addTag + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> AddTagRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: AddTagRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return AddTagRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class AddTagRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/apply_alternate_mitigation/apply_alternate_mitigation_request_builder.py b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/apply_alternate_mitigation/apply_alternate_mitigation_request_builder.py new file mode 100644 index 00000000000..4699dea3c3f --- /dev/null +++ b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/apply_alternate_mitigation/apply_alternate_mitigation_request_builder.py @@ -0,0 +1,81 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.impacted_resource import ImpactedResource + from .......models.o_data_errors.o_data_error import ODataError + +class ApplyAlternateMitigationRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the applyAlternateMitigation method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new ApplyAlternateMitigationRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/impactedResources/{impactedResource%2Did}/applyAlternateMitigation", path_parameters) + + async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ImpactedResource]: + """ + Invoke action applyAlternateMitigation + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ImpactedResource] + """ + request_info = self.to_post_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.impacted_resource import ImpactedResource + + return await self.request_adapter.send_async(request_info, ImpactedResource, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action applyAlternateMitigation + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> ApplyAlternateMitigationRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: ApplyAlternateMitigationRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ApplyAlternateMitigationRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class ApplyAlternateMitigationRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/impacted_resource_item_request_builder.py b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/impacted_resource_item_request_builder.py index 5a985eda00f..c181336b162 100644 --- a/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/impacted_resource_item_request_builder.py +++ b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/impacted_resource_item_request_builder.py @@ -16,10 +16,16 @@ if TYPE_CHECKING: from ......models.impacted_resource import ImpactedResource from ......models.o_data_errors.o_data_error import ODataError + from .accept_risk.accept_risk_request_builder import AcceptRiskRequestBuilder + from .add_tag.add_tag_request_builder import AddTagRequestBuilder + from .apply_alternate_mitigation.apply_alternate_mitigation_request_builder import ApplyAlternateMitigationRequestBuilder from .complete.complete_request_builder import CompleteRequestBuilder from .dismiss.dismiss_request_builder import DismissRequestBuilder + from .mark_planned.mark_planned_request_builder import MarkPlannedRequestBuilder from .postpone.postpone_request_builder import PostponeRequestBuilder from .reactivate.reactivate_request_builder import ReactivateRequestBuilder + from .remove_tag.remove_tag_request_builder import RemoveTagRequestBuilder + from .tags.tags_request_builder import TagsRequestBuilder class ImpactedResourceItemRequestBuilder(BaseRequestBuilder): """ @@ -143,6 +149,33 @@ def with_url(self,raw_url: str) -> ImpactedResourceItemRequestBuilder: raise TypeError("raw_url cannot be null.") return ImpactedResourceItemRequestBuilder(self.request_adapter, raw_url) + @property + def accept_risk(self) -> AcceptRiskRequestBuilder: + """ + Provides operations to call the acceptRisk method. + """ + from .accept_risk.accept_risk_request_builder import AcceptRiskRequestBuilder + + return AcceptRiskRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def add_tag(self) -> AddTagRequestBuilder: + """ + Provides operations to call the addTag method. + """ + from .add_tag.add_tag_request_builder import AddTagRequestBuilder + + return AddTagRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def apply_alternate_mitigation(self) -> ApplyAlternateMitigationRequestBuilder: + """ + Provides operations to call the applyAlternateMitigation method. + """ + from .apply_alternate_mitigation.apply_alternate_mitigation_request_builder import ApplyAlternateMitigationRequestBuilder + + return ApplyAlternateMitigationRequestBuilder(self.request_adapter, self.path_parameters) + @property def complete(self) -> CompleteRequestBuilder: """ @@ -161,6 +194,15 @@ def dismiss(self) -> DismissRequestBuilder: return DismissRequestBuilder(self.request_adapter, self.path_parameters) + @property + def mark_planned(self) -> MarkPlannedRequestBuilder: + """ + Provides operations to call the markPlanned method. + """ + from .mark_planned.mark_planned_request_builder import MarkPlannedRequestBuilder + + return MarkPlannedRequestBuilder(self.request_adapter, self.path_parameters) + @property def postpone(self) -> PostponeRequestBuilder: """ @@ -179,6 +221,24 @@ def reactivate(self) -> ReactivateRequestBuilder: return ReactivateRequestBuilder(self.request_adapter, self.path_parameters) + @property + def remove_tag(self) -> RemoveTagRequestBuilder: + """ + Provides operations to call the removeTag method. + """ + from .remove_tag.remove_tag_request_builder import RemoveTagRequestBuilder + + return RemoveTagRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def tags(self) -> TagsRequestBuilder: + """ + Provides operations to manage the tags property of the microsoft.graph.impactedResource entity. + """ + from .tags.tags_request_builder import TagsRequestBuilder + + return TagsRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class ImpactedResourceItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): """ diff --git a/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/mark_planned/mark_planned_request_builder.py b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/mark_planned/mark_planned_request_builder.py new file mode 100644 index 00000000000..08e5728af50 --- /dev/null +++ b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/mark_planned/mark_planned_request_builder.py @@ -0,0 +1,81 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.impacted_resource import ImpactedResource + from .......models.o_data_errors.o_data_error import ODataError + +class MarkPlannedRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the markPlanned method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new MarkPlannedRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/impactedResources/{impactedResource%2Did}/markPlanned", path_parameters) + + async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ImpactedResource]: + """ + Invoke action markPlanned + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ImpactedResource] + """ + request_info = self.to_post_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.impacted_resource import ImpactedResource + + return await self.request_adapter.send_async(request_info, ImpactedResource, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action markPlanned + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> MarkPlannedRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: MarkPlannedRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return MarkPlannedRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class MarkPlannedRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/remove_tag/remove_tag_post_request_body.py b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/remove_tag/remove_tag_post_request_body.py new file mode 100644 index 00000000000..d528877abb0 --- /dev/null +++ b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/remove_tag/remove_tag_post_request_body.py @@ -0,0 +1,50 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class RemoveTagPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The tagId property + tag_id: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RemoveTagPostRequestBody: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: RemoveTagPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return RemoveTagPostRequestBody() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "tagId": lambda n : setattr(self, 'tag_id', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("tagId", self.tag_id) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/remove_tag/remove_tag_request_builder.py b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/remove_tag/remove_tag_request_builder.py new file mode 100644 index 00000000000..6202e2b017f --- /dev/null +++ b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/remove_tag/remove_tag_request_builder.py @@ -0,0 +1,89 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.impacted_resource import ImpactedResource + from .......models.o_data_errors.o_data_error import ODataError + from .remove_tag_post_request_body import RemoveTagPostRequestBody + +class RemoveTagRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the removeTag method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new RemoveTagRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/impactedResources/{impactedResource%2Did}/removeTag", path_parameters) + + async def post(self,body: RemoveTagPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ImpactedResource]: + """ + Invoke action removeTag + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ImpactedResource] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.impacted_resource import ImpactedResource + + return await self.request_adapter.send_async(request_info, ImpactedResource, error_mapping) + + def to_post_request_information(self,body: RemoveTagPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action removeTag + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> RemoveTagRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: RemoveTagRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return RemoveTagRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class RemoveTagRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/employee_experience/communities/count/count_request_builder.py b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/tags/count/count_request_builder.py similarity index 93% rename from msgraph_beta/generated/employee_experience/communities/count/count_request_builder.py rename to msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/tags/count/count_request_builder.py index 9b075fa40fc..670a268f9c3 100644 --- a/msgraph_beta/generated/employee_experience/communities/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/tags/count/count_request_builder.py @@ -14,7 +14,7 @@ from warnings import warn if TYPE_CHECKING: - from ....models.o_data_errors.o_data_error import ODataError + from ........models.o_data_errors.o_data_error import ODataError class CountRequestBuilder(BaseRequestBuilder): """ @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d param request_adapter: The request adapter to use to execute the requests. Returns: None """ - super().__init__(request_adapter, "{+baseurl}/employeeExperience/communities/$count{?%24filter,%24search}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/impactedResources/{impactedResource%2Did}/tags/$count{?%24filter,%24search}", path_parameters) async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: """ @@ -38,7 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq request_info = self.to_get_request_information( request_configuration ) - from ....models.o_data_errors.o_data_error import ODataError + from ........models.o_data_errors.o_data_error import ODataError error_mapping: dict[str, type[ParsableFactory]] = { "XXX": ODataError, diff --git a/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/tags/item/recommendation_tag_item_request_builder.py b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/tags/item/recommendation_tag_item_request_builder.py new file mode 100644 index 00000000000..b40a33b6be3 --- /dev/null +++ b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/tags/item/recommendation_tag_item_request_builder.py @@ -0,0 +1,188 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ........models.o_data_errors.o_data_error import ODataError + from ........models.recommendation_tag import RecommendationTag + +class RecommendationTagItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the tags property of the microsoft.graph.impactedResource entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new RecommendationTagItemRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/impactedResources/{impactedResource%2Did}/tags/{recommendationTag%2Did}{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Delete navigation property tags for directory + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration[RecommendationTagItemRequestBuilderGetQueryParameters]] = None) -> Optional[RecommendationTag]: + """ + Get tags from directory + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RecommendationTag] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.recommendation_tag import RecommendationTag + + return await self.request_adapter.send_async(request_info, RecommendationTag, error_mapping) + + async def patch(self,body: RecommendationTag, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RecommendationTag]: + """ + Update the navigation property tags in directory + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RecommendationTag] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.recommendation_tag import RecommendationTag + + return await self.request_adapter.send_async(request_info, RecommendationTag, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Delete navigation property tags for directory + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RecommendationTagItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get tags from directory + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: RecommendationTag, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update the navigation property tags in directory + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> RecommendationTagItemRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: RecommendationTagItemRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return RecommendationTagItemRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class RecommendationTagItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class RecommendationTagItemRequestBuilderGetQueryParameters(): + """ + Get tags from directory + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[list[str]] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + + @dataclass + class RecommendationTagItemRequestBuilderGetRequestConfiguration(RequestConfiguration[RecommendationTagItemRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class RecommendationTagItemRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/tags/tags_request_builder.py b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/tags/tags_request_builder.py new file mode 100644 index 00000000000..8f574aa13dc --- /dev/null +++ b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/tags/tags_request_builder.py @@ -0,0 +1,208 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + from .......models.recommendation_tag import RecommendationTag + from .......models.recommendation_tag_collection_response import RecommendationTagCollectionResponse + from .count.count_request_builder import CountRequestBuilder + from .item.recommendation_tag_item_request_builder import RecommendationTagItemRequestBuilder + +class TagsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the tags property of the microsoft.graph.impactedResource entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new TagsRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/impactedResources/{impactedResource%2Did}/tags{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_recommendation_tag_id(self,recommendation_tag_id: str) -> RecommendationTagItemRequestBuilder: + """ + Provides operations to manage the tags property of the microsoft.graph.impactedResource entity. + param recommendation_tag_id: The unique identifier of recommendationTag + Returns: RecommendationTagItemRequestBuilder + """ + if recommendation_tag_id is None: + raise TypeError("recommendation_tag_id cannot be null.") + from .item.recommendation_tag_item_request_builder import RecommendationTagItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["recommendationTag%2Did"] = recommendation_tag_id + return RecommendationTagItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration[TagsRequestBuilderGetQueryParameters]] = None) -> Optional[RecommendationTagCollectionResponse]: + """ + Get tags from directory + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RecommendationTagCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.recommendation_tag_collection_response import RecommendationTagCollectionResponse + + return await self.request_adapter.send_async(request_info, RecommendationTagCollectionResponse, error_mapping) + + async def post(self,body: RecommendationTag, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RecommendationTag]: + """ + Create new navigation property to tags for directory + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RecommendationTag] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.recommendation_tag import RecommendationTag + + return await self.request_adapter.send_async(request_info, RecommendationTag, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[TagsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get tags from directory + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: RecommendationTag, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Create new navigation property to tags for directory + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> TagsRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: TagsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return TagsRequestBuilder(self.request_adapter, raw_url) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class TagsRequestBuilderGetQueryParameters(): + """ + Get tags from directory + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[list[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[list[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class TagsRequestBuilderGetRequestConfiguration(RequestConfiguration[TagsRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class TagsRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/directory/recommendations/item/impacted_resources/remove_tag/remove_tag_post_request_body.py b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/remove_tag/remove_tag_post_request_body.py new file mode 100644 index 00000000000..9c02b58e2a4 --- /dev/null +++ b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/remove_tag/remove_tag_post_request_body.py @@ -0,0 +1,54 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class RemoveTagPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The displayName property + display_name: Optional[str] = None + # The resourceIds property + resource_ids: Optional[list[str]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RemoveTagPostRequestBody: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: RemoveTagPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return RemoveTagPostRequestBody() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), + "resourceIds": lambda n : setattr(self, 'resource_ids', n.get_collection_of_primitive_values(str)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("displayName", self.display_name) + writer.write_collection_of_primitive_values("resourceIds", self.resource_ids) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/directory/recommendations/item/impacted_resources/remove_tag/remove_tag_post_response.py b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/remove_tag/remove_tag_post_response.py new file mode 100644 index 00000000000..6cb06b75deb --- /dev/null +++ b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/remove_tag/remove_tag_post_response.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.impacted_resource import ImpactedResource + +from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class RemoveTagPostResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[list[ImpactedResource]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RemoveTagPostResponse: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: RemoveTagPostResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return RemoveTagPostResponse() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.impacted_resource import ImpactedResource + + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.impacted_resource import ImpactedResource + + fields: dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ImpactedResource)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/directory/recommendations/item/impacted_resources/remove_tag/remove_tag_request_builder.py b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/remove_tag/remove_tag_request_builder.py new file mode 100644 index 00000000000..0c1103dd08e --- /dev/null +++ b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/remove_tag/remove_tag_request_builder.py @@ -0,0 +1,89 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + from .remove_tag_post_request_body import RemoveTagPostRequestBody + from .remove_tag_post_response import RemoveTagPostResponse + +class RemoveTagRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the removeTag method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new RemoveTagRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/impactedResources/removeTag", path_parameters) + + async def post(self,body: RemoveTagPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RemoveTagPostResponse]: + """ + Invoke action removeTag + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RemoveTagPostResponse] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .remove_tag_post_response import RemoveTagPostResponse + + return await self.request_adapter.send_async(request_info, RemoveTagPostResponse, error_mapping) + + def to_post_request_information(self,body: RemoveTagPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action removeTag + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> RemoveTagRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: RemoveTagRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return RemoveTagRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class RemoveTagRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/directory/recommendations/item/mark_planned/mark_planned_request_builder.py b/msgraph_beta/generated/directory/recommendations/item/mark_planned/mark_planned_request_builder.py new file mode 100644 index 00000000000..6f678eb7ece --- /dev/null +++ b/msgraph_beta/generated/directory/recommendations/item/mark_planned/mark_planned_request_builder.py @@ -0,0 +1,81 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.recommendation import Recommendation + +class MarkPlannedRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the markPlanned method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new MarkPlannedRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/markPlanned", path_parameters) + + async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Recommendation]: + """ + Invoke action markPlanned + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[Recommendation] + """ + request_info = self.to_post_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.recommendation import Recommendation + + return await self.request_adapter.send_async(request_info, Recommendation, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action markPlanned + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> MarkPlannedRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: MarkPlannedRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return MarkPlannedRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class MarkPlannedRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/directory/recommendations/item/recommendation_item_request_builder.py b/msgraph_beta/generated/directory/recommendations/item/recommendation_item_request_builder.py index babdd4d2a94..b1341e21d9a 100644 --- a/msgraph_beta/generated/directory/recommendations/item/recommendation_item_request_builder.py +++ b/msgraph_beta/generated/directory/recommendations/item/recommendation_item_request_builder.py @@ -16,11 +16,17 @@ if TYPE_CHECKING: from ....models.o_data_errors.o_data_error import ODataError from ....models.recommendation import Recommendation + from .accept_risk.accept_risk_request_builder import AcceptRiskRequestBuilder + from .add_tag.add_tag_request_builder import AddTagRequestBuilder + from .apply_alternate_mitigation.apply_alternate_mitigation_request_builder import ApplyAlternateMitigationRequestBuilder from .complete.complete_request_builder import CompleteRequestBuilder from .dismiss.dismiss_request_builder import DismissRequestBuilder from .impacted_resources.impacted_resources_request_builder import ImpactedResourcesRequestBuilder + from .mark_planned.mark_planned_request_builder import MarkPlannedRequestBuilder from .postpone.postpone_request_builder import PostponeRequestBuilder from .reactivate.reactivate_request_builder import ReactivateRequestBuilder + from .remove_tag.remove_tag_request_builder import RemoveTagRequestBuilder + from .tags.tags_request_builder import TagsRequestBuilder class RecommendationItemRequestBuilder(BaseRequestBuilder): """ @@ -144,6 +150,33 @@ def with_url(self,raw_url: str) -> RecommendationItemRequestBuilder: raise TypeError("raw_url cannot be null.") return RecommendationItemRequestBuilder(self.request_adapter, raw_url) + @property + def accept_risk(self) -> AcceptRiskRequestBuilder: + """ + Provides operations to call the acceptRisk method. + """ + from .accept_risk.accept_risk_request_builder import AcceptRiskRequestBuilder + + return AcceptRiskRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def add_tag(self) -> AddTagRequestBuilder: + """ + Provides operations to call the addTag method. + """ + from .add_tag.add_tag_request_builder import AddTagRequestBuilder + + return AddTagRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def apply_alternate_mitigation(self) -> ApplyAlternateMitigationRequestBuilder: + """ + Provides operations to call the applyAlternateMitigation method. + """ + from .apply_alternate_mitigation.apply_alternate_mitigation_request_builder import ApplyAlternateMitigationRequestBuilder + + return ApplyAlternateMitigationRequestBuilder(self.request_adapter, self.path_parameters) + @property def complete(self) -> CompleteRequestBuilder: """ @@ -171,6 +204,15 @@ def impacted_resources(self) -> ImpactedResourcesRequestBuilder: return ImpactedResourcesRequestBuilder(self.request_adapter, self.path_parameters) + @property + def mark_planned(self) -> MarkPlannedRequestBuilder: + """ + Provides operations to call the markPlanned method. + """ + from .mark_planned.mark_planned_request_builder import MarkPlannedRequestBuilder + + return MarkPlannedRequestBuilder(self.request_adapter, self.path_parameters) + @property def postpone(self) -> PostponeRequestBuilder: """ @@ -189,6 +231,24 @@ def reactivate(self) -> ReactivateRequestBuilder: return ReactivateRequestBuilder(self.request_adapter, self.path_parameters) + @property + def remove_tag(self) -> RemoveTagRequestBuilder: + """ + Provides operations to call the removeTag method. + """ + from .remove_tag.remove_tag_request_builder import RemoveTagRequestBuilder + + return RemoveTagRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def tags(self) -> TagsRequestBuilder: + """ + Provides operations to manage the tags property of the microsoft.graph.recommendationBase entity. + """ + from .tags.tags_request_builder import TagsRequestBuilder + + return TagsRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class RecommendationItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): """ diff --git a/msgraph_beta/generated/directory/recommendations/item/remove_tag/remove_tag_post_request_body.py b/msgraph_beta/generated/directory/recommendations/item/remove_tag/remove_tag_post_request_body.py new file mode 100644 index 00000000000..d528877abb0 --- /dev/null +++ b/msgraph_beta/generated/directory/recommendations/item/remove_tag/remove_tag_post_request_body.py @@ -0,0 +1,50 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class RemoveTagPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The tagId property + tag_id: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RemoveTagPostRequestBody: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: RemoveTagPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return RemoveTagPostRequestBody() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "tagId": lambda n : setattr(self, 'tag_id', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("tagId", self.tag_id) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/directory/recommendations/item/remove_tag/remove_tag_request_builder.py b/msgraph_beta/generated/directory/recommendations/item/remove_tag/remove_tag_request_builder.py new file mode 100644 index 00000000000..56e0b138ac3 --- /dev/null +++ b/msgraph_beta/generated/directory/recommendations/item/remove_tag/remove_tag_request_builder.py @@ -0,0 +1,89 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.recommendation import Recommendation + from .remove_tag_post_request_body import RemoveTagPostRequestBody + +class RemoveTagRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the removeTag method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new RemoveTagRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/removeTag", path_parameters) + + async def post(self,body: RemoveTagPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Recommendation]: + """ + Invoke action removeTag + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[Recommendation] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.recommendation import Recommendation + + return await self.request_adapter.send_async(request_info, Recommendation, error_mapping) + + def to_post_request_information(self,body: RemoveTagPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action removeTag + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> RemoveTagRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: RemoveTagRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return RemoveTagRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class RemoveTagRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/admin/configuration_management/configuration_snapshots/count/count_request_builder.py b/msgraph_beta/generated/directory/recommendations/item/tags/count/count_request_builder.py similarity index 94% rename from msgraph_beta/generated/admin/configuration_management/configuration_snapshots/count/count_request_builder.py rename to msgraph_beta/generated/directory/recommendations/item/tags/count/count_request_builder.py index e6a4797c8e5..e7941929a4f 100644 --- a/msgraph_beta/generated/admin/configuration_management/configuration_snapshots/count/count_request_builder.py +++ b/msgraph_beta/generated/directory/recommendations/item/tags/count/count_request_builder.py @@ -14,7 +14,7 @@ from warnings import warn if TYPE_CHECKING: - from .....models.o_data_errors.o_data_error import ODataError + from ......models.o_data_errors.o_data_error import ODataError class CountRequestBuilder(BaseRequestBuilder): """ @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d param request_adapter: The request adapter to use to execute the requests. Returns: None """ - super().__init__(request_adapter, "{+baseurl}/admin/configurationManagement/configurationSnapshots/$count{?%24filter,%24search}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/tags/$count{?%24filter,%24search}", path_parameters) async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: """ @@ -38,7 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq request_info = self.to_get_request_information( request_configuration ) - from .....models.o_data_errors.o_data_error import ODataError + from ......models.o_data_errors.o_data_error import ODataError error_mapping: dict[str, type[ParsableFactory]] = { "XXX": ODataError, diff --git a/msgraph_beta/generated/directory/recommendations/item/tags/item/recommendation_tag_item_request_builder.py b/msgraph_beta/generated/directory/recommendations/item/tags/item/recommendation_tag_item_request_builder.py new file mode 100644 index 00000000000..6a66432040a --- /dev/null +++ b/msgraph_beta/generated/directory/recommendations/item/tags/item/recommendation_tag_item_request_builder.py @@ -0,0 +1,188 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + from ......models.recommendation_tag import RecommendationTag + +class RecommendationTagItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the tags property of the microsoft.graph.recommendationBase entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new RecommendationTagItemRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/tags/{recommendationTag%2Did}{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Delete navigation property tags for directory + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration[RecommendationTagItemRequestBuilderGetQueryParameters]] = None) -> Optional[RecommendationTag]: + """ + Get tags from directory + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RecommendationTag] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.recommendation_tag import RecommendationTag + + return await self.request_adapter.send_async(request_info, RecommendationTag, error_mapping) + + async def patch(self,body: RecommendationTag, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RecommendationTag]: + """ + Update the navigation property tags in directory + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RecommendationTag] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.recommendation_tag import RecommendationTag + + return await self.request_adapter.send_async(request_info, RecommendationTag, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Delete navigation property tags for directory + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RecommendationTagItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get tags from directory + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: RecommendationTag, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update the navigation property tags in directory + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> RecommendationTagItemRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: RecommendationTagItemRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return RecommendationTagItemRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class RecommendationTagItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class RecommendationTagItemRequestBuilderGetQueryParameters(): + """ + Get tags from directory + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[list[str]] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + + @dataclass + class RecommendationTagItemRequestBuilderGetRequestConfiguration(RequestConfiguration[RecommendationTagItemRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class RecommendationTagItemRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/directory/recommendations/item/tags/tags_request_builder.py b/msgraph_beta/generated/directory/recommendations/item/tags/tags_request_builder.py new file mode 100644 index 00000000000..b088e5409fa --- /dev/null +++ b/msgraph_beta/generated/directory/recommendations/item/tags/tags_request_builder.py @@ -0,0 +1,208 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.recommendation_tag import RecommendationTag + from .....models.recommendation_tag_collection_response import RecommendationTagCollectionResponse + from .count.count_request_builder import CountRequestBuilder + from .item.recommendation_tag_item_request_builder import RecommendationTagItemRequestBuilder + +class TagsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the tags property of the microsoft.graph.recommendationBase entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new TagsRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/directory/recommendations/{recommendation%2Did}/tags{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_recommendation_tag_id(self,recommendation_tag_id: str) -> RecommendationTagItemRequestBuilder: + """ + Provides operations to manage the tags property of the microsoft.graph.recommendationBase entity. + param recommendation_tag_id: The unique identifier of recommendationTag + Returns: RecommendationTagItemRequestBuilder + """ + if recommendation_tag_id is None: + raise TypeError("recommendation_tag_id cannot be null.") + from .item.recommendation_tag_item_request_builder import RecommendationTagItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["recommendationTag%2Did"] = recommendation_tag_id + return RecommendationTagItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration[TagsRequestBuilderGetQueryParameters]] = None) -> Optional[RecommendationTagCollectionResponse]: + """ + Get tags from directory + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RecommendationTagCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.recommendation_tag_collection_response import RecommendationTagCollectionResponse + + return await self.request_adapter.send_async(request_info, RecommendationTagCollectionResponse, error_mapping) + + async def post(self,body: RecommendationTag, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RecommendationTag]: + """ + Create new navigation property to tags for directory + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RecommendationTag] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.recommendation_tag import RecommendationTag + + return await self.request_adapter.send_async(request_info, RecommendationTag, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[TagsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get tags from directory + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: RecommendationTag, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Create new navigation property to tags for directory + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> TagsRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: TagsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return TagsRequestBuilder(self.request_adapter, raw_url) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class TagsRequestBuilderGetQueryParameters(): + """ + Get tags from directory + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[list[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[list[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class TagsRequestBuilderGetRequestConfiguration(RequestConfiguration[TagsRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class TagsRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/directory/tenant_governance/governance_invitations/governance_invitations_request_builder.py b/msgraph_beta/generated/directory/tenant_governance/governance_invitations/governance_invitations_request_builder.py index a0668116727..46db015f86c 100644 --- a/msgraph_beta/generated/directory/tenant_governance/governance_invitations/governance_invitations_request_builder.py +++ b/msgraph_beta/generated/directory/tenant_governance/governance_invitations/governance_invitations_request_builder.py @@ -14,15 +14,15 @@ from warnings import warn if TYPE_CHECKING: + from ....models.governance_invitation import GovernanceInvitation + from ....models.governance_invitation_collection_response import GovernanceInvitationCollectionResponse from ....models.o_data_errors.o_data_error import ODataError - from ....models.tenant_governance_services.governance_invitation import GovernanceInvitation - from ....models.tenant_governance_services.governance_invitation_collection_response import GovernanceInvitationCollectionResponse from .count.count_request_builder import CountRequestBuilder from .item.governance_invitation_item_request_builder import GovernanceInvitationItemRequestBuilder class GovernanceInvitationsRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the governanceInvitations property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + Provides operations to manage the governanceInvitations property of the microsoft.graph.tenantGovernance entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: """ @@ -35,7 +35,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d def by_governance_invitation_id(self,governance_invitation_id: str) -> GovernanceInvitationItemRequestBuilder: """ - Provides operations to manage the governanceInvitations property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + Provides operations to manage the governanceInvitations property of the microsoft.graph.tenantGovernance entity. param governance_invitation_id: The unique identifier of governanceInvitation Returns: GovernanceInvitationItemRequestBuilder """ @@ -64,7 +64,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Governan } if not self.request_adapter: raise Exception("Http core is null") - from ....models.tenant_governance_services.governance_invitation_collection_response import GovernanceInvitationCollectionResponse + from ....models.governance_invitation_collection_response import GovernanceInvitationCollectionResponse return await self.request_adapter.send_async(request_info, GovernanceInvitationCollectionResponse, error_mapping) @@ -88,7 +88,7 @@ async def post(self,body: GovernanceInvitation, request_configuration: Optional[ } if not self.request_adapter: raise Exception("Http core is null") - from ....models.tenant_governance_services.governance_invitation import GovernanceInvitation + from ....models.governance_invitation import GovernanceInvitation return await self.request_adapter.send_async(request_info, GovernanceInvitation, error_mapping) diff --git a/msgraph_beta/generated/directory/tenant_governance/governance_invitations/item/governance_invitation_item_request_builder.py b/msgraph_beta/generated/directory/tenant_governance/governance_invitations/item/governance_invitation_item_request_builder.py index 26a44f2bd3e..1a6e9603b1e 100644 --- a/msgraph_beta/generated/directory/tenant_governance/governance_invitations/item/governance_invitation_item_request_builder.py +++ b/msgraph_beta/generated/directory/tenant_governance/governance_invitations/item/governance_invitation_item_request_builder.py @@ -14,12 +14,12 @@ from warnings import warn if TYPE_CHECKING: + from .....models.governance_invitation import GovernanceInvitation from .....models.o_data_errors.o_data_error import ODataError - from .....models.tenant_governance_services.governance_invitation import GovernanceInvitation class GovernanceInvitationItemRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the governanceInvitations property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + Provides operations to manage the governanceInvitations property of the microsoft.graph.tenantGovernance entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Governan } if not self.request_adapter: raise Exception("Http core is null") - from .....models.tenant_governance_services.governance_invitation import GovernanceInvitation + from .....models.governance_invitation import GovernanceInvitation return await self.request_adapter.send_async(request_info, GovernanceInvitation, error_mapping) @@ -89,7 +89,7 @@ async def patch(self,body: GovernanceInvitation, request_configuration: Optional } if not self.request_adapter: raise Exception("Http core is null") - from .....models.tenant_governance_services.governance_invitation import GovernanceInvitation + from .....models.governance_invitation import GovernanceInvitation return await self.request_adapter.send_async(request_info, GovernanceInvitation, error_mapping) diff --git a/msgraph_beta/generated/directory/tenant_governance/governance_policy_templates/governance_policy_templates_request_builder.py b/msgraph_beta/generated/directory/tenant_governance/governance_policy_templates/governance_policy_templates_request_builder.py index 7a4ce6d8ca0..fa67a451f4c 100644 --- a/msgraph_beta/generated/directory/tenant_governance/governance_policy_templates/governance_policy_templates_request_builder.py +++ b/msgraph_beta/generated/directory/tenant_governance/governance_policy_templates/governance_policy_templates_request_builder.py @@ -15,14 +15,14 @@ if TYPE_CHECKING: from ....models.o_data_errors.o_data_error import ODataError - from ....models.tenant_governance_services.governance_policy_template import GovernancePolicyTemplate - from ....models.tenant_governance_services.governance_policy_template_collection_response import GovernancePolicyTemplateCollectionResponse + from ....models.tenant_governance_policy_template import TenantGovernancePolicyTemplate + from ....models.tenant_governance_policy_template_collection_response import TenantGovernancePolicyTemplateCollectionResponse from .count.count_request_builder import CountRequestBuilder - from .item.governance_policy_template_item_request_builder import GovernancePolicyTemplateItemRequestBuilder + from .item.tenant_governance_policy_template_item_request_builder import TenantGovernancePolicyTemplateItemRequestBuilder class GovernancePolicyTemplatesRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the governancePolicyTemplates property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + Provides operations to manage the governancePolicyTemplates property of the microsoft.graph.tenantGovernance entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: """ @@ -33,25 +33,25 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d """ super().__init__(request_adapter, "{+baseurl}/directory/tenantGovernance/governancePolicyTemplates{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) - def by_governance_policy_template_id(self,governance_policy_template_id: str) -> GovernancePolicyTemplateItemRequestBuilder: + def by_tenant_governance_policy_template_id(self,tenant_governance_policy_template_id: str) -> TenantGovernancePolicyTemplateItemRequestBuilder: """ - Provides operations to manage the governancePolicyTemplates property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. - param governance_policy_template_id: The unique identifier of governancePolicyTemplate - Returns: GovernancePolicyTemplateItemRequestBuilder + Provides operations to manage the governancePolicyTemplates property of the microsoft.graph.tenantGovernance entity. + param tenant_governance_policy_template_id: The unique identifier of tenantGovernancePolicyTemplate + Returns: TenantGovernancePolicyTemplateItemRequestBuilder """ - if governance_policy_template_id is None: - raise TypeError("governance_policy_template_id cannot be null.") - from .item.governance_policy_template_item_request_builder import GovernancePolicyTemplateItemRequestBuilder + if tenant_governance_policy_template_id is None: + raise TypeError("tenant_governance_policy_template_id cannot be null.") + from .item.tenant_governance_policy_template_item_request_builder import TenantGovernancePolicyTemplateItemRequestBuilder url_tpl_params = get_path_parameters(self.path_parameters) - url_tpl_params["governancePolicyTemplate%2Did"] = governance_policy_template_id - return GovernancePolicyTemplateItemRequestBuilder(self.request_adapter, url_tpl_params) + url_tpl_params["tenantGovernancePolicyTemplate%2Did"] = tenant_governance_policy_template_id + return TenantGovernancePolicyTemplateItemRequestBuilder(self.request_adapter, url_tpl_params) - async def get(self,request_configuration: Optional[RequestConfiguration[GovernancePolicyTemplatesRequestBuilderGetQueryParameters]] = None) -> Optional[GovernancePolicyTemplateCollectionResponse]: + async def get(self,request_configuration: Optional[RequestConfiguration[GovernancePolicyTemplatesRequestBuilderGetQueryParameters]] = None) -> Optional[TenantGovernancePolicyTemplateCollectionResponse]: """ Get a list of the governancePolicyTemplate objects and their properties. Policy templates define the configuration that is applied when establishing governance relationships. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[GovernancePolicyTemplateCollectionResponse] + Returns: Optional[TenantGovernancePolicyTemplateCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/tenantgovernanceservices-list-governancepolicytemplates?view=graph-rest-beta """ request_info = self.to_get_request_information( @@ -64,16 +64,16 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Governan } if not self.request_adapter: raise Exception("Http core is null") - from ....models.tenant_governance_services.governance_policy_template_collection_response import GovernancePolicyTemplateCollectionResponse + from ....models.tenant_governance_policy_template_collection_response import TenantGovernancePolicyTemplateCollectionResponse - return await self.request_adapter.send_async(request_info, GovernancePolicyTemplateCollectionResponse, error_mapping) + return await self.request_adapter.send_async(request_info, TenantGovernancePolicyTemplateCollectionResponse, error_mapping) - async def post(self,body: GovernancePolicyTemplate, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[GovernancePolicyTemplate]: + async def post(self,body: TenantGovernancePolicyTemplate, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[TenantGovernancePolicyTemplate]: """ Create a new governancePolicyTemplate that defines the configuration for establishing governance relationships, including role assignments and applications to provision. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[GovernancePolicyTemplate] + Returns: Optional[TenantGovernancePolicyTemplate] Find more info here: https://learn.microsoft.com/graph/api/tenantgovernanceservices-post-governancepolicytemplates?view=graph-rest-beta """ if body is None: @@ -88,9 +88,9 @@ async def post(self,body: GovernancePolicyTemplate, request_configuration: Optio } if not self.request_adapter: raise Exception("Http core is null") - from ....models.tenant_governance_services.governance_policy_template import GovernancePolicyTemplate + from ....models.tenant_governance_policy_template import TenantGovernancePolicyTemplate - return await self.request_adapter.send_async(request_info, GovernancePolicyTemplate, error_mapping) + return await self.request_adapter.send_async(request_info, TenantGovernancePolicyTemplate, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GovernancePolicyTemplatesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi request_info.headers.try_add("Accept", "application/json") return request_info - def to_post_request_information(self,body: GovernancePolicyTemplate, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + def to_post_request_information(self,body: TenantGovernancePolicyTemplate, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ Create a new governancePolicyTemplate that defines the configuration for establishing governance relationships, including role assignments and applications to provision. param body: The request body diff --git a/msgraph_beta/generated/directory/tenant_governance/governance_policy_templates/item/governance_policy_template_item_request_builder.py b/msgraph_beta/generated/directory/tenant_governance/governance_policy_templates/item/tenant_governance_policy_template_item_request_builder.py similarity index 78% rename from msgraph_beta/generated/directory/tenant_governance/governance_policy_templates/item/governance_policy_template_item_request_builder.py rename to msgraph_beta/generated/directory/tenant_governance/governance_policy_templates/item/tenant_governance_policy_template_item_request_builder.py index 1338e3ce4d8..0b41d0de274 100644 --- a/msgraph_beta/generated/directory/tenant_governance/governance_policy_templates/item/governance_policy_template_item_request_builder.py +++ b/msgraph_beta/generated/directory/tenant_governance/governance_policy_templates/item/tenant_governance_policy_template_item_request_builder.py @@ -15,20 +15,20 @@ if TYPE_CHECKING: from .....models.o_data_errors.o_data_error import ODataError - from .....models.tenant_governance_services.governance_policy_template import GovernancePolicyTemplate + from .....models.tenant_governance_policy_template import TenantGovernancePolicyTemplate -class GovernancePolicyTemplateItemRequestBuilder(BaseRequestBuilder): +class TenantGovernancePolicyTemplateItemRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the governancePolicyTemplates property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + Provides operations to manage the governancePolicyTemplates property of the microsoft.graph.tenantGovernance entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: """ - Instantiates a new GovernancePolicyTemplateItemRequestBuilder and sets the default values. + Instantiates a new TenantGovernancePolicyTemplateItemRequestBuilder and sets the default values. param path_parameters: The raw url or the url-template parameters for the request. param request_adapter: The request adapter to use to execute the requests. Returns: None """ - super().__init__(request_adapter, "{+baseurl}/directory/tenantGovernance/governancePolicyTemplates/{governancePolicyTemplate%2Did}{?%24expand,%24select}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/directory/tenantGovernance/governancePolicyTemplates/{tenantGovernancePolicyTemplate%2Did}{?%24expand,%24select}", path_parameters) async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ @@ -49,11 +49,11 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query raise Exception("Http core is null") return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) - async def get(self,request_configuration: Optional[RequestConfiguration[GovernancePolicyTemplateItemRequestBuilderGetQueryParameters]] = None) -> Optional[GovernancePolicyTemplate]: + async def get(self,request_configuration: Optional[RequestConfiguration[TenantGovernancePolicyTemplateItemRequestBuilderGetQueryParameters]] = None) -> Optional[TenantGovernancePolicyTemplate]: """ Read the properties of a governancePolicyTemplate object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[GovernancePolicyTemplate] + Returns: Optional[TenantGovernancePolicyTemplate] Find more info here: https://learn.microsoft.com/graph/api/tenantgovernanceservices-governancepolicytemplate-get?view=graph-rest-beta """ request_info = self.to_get_request_information( @@ -66,16 +66,16 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Governan } if not self.request_adapter: raise Exception("Http core is null") - from .....models.tenant_governance_services.governance_policy_template import GovernancePolicyTemplate + from .....models.tenant_governance_policy_template import TenantGovernancePolicyTemplate - return await self.request_adapter.send_async(request_info, GovernancePolicyTemplate, error_mapping) + return await self.request_adapter.send_async(request_info, TenantGovernancePolicyTemplate, error_mapping) - async def patch(self,body: GovernancePolicyTemplate, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[GovernancePolicyTemplate]: + async def patch(self,body: TenantGovernancePolicyTemplate, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[TenantGovernancePolicyTemplate]: """ Update the properties of a governancePolicyTemplate object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[GovernancePolicyTemplate] + Returns: Optional[TenantGovernancePolicyTemplate] Find more info here: https://learn.microsoft.com/graph/api/tenantgovernanceservices-governancepolicytemplate-update?view=graph-rest-beta """ if body is None: @@ -90,9 +90,9 @@ async def patch(self,body: GovernancePolicyTemplate, request_configuration: Opti } if not self.request_adapter: raise Exception("Http core is null") - from .....models.tenant_governance_services.governance_policy_template import GovernancePolicyTemplate + from .....models.tenant_governance_policy_template import TenantGovernancePolicyTemplate - return await self.request_adapter.send_async(request_info, GovernancePolicyTemplate, error_mapping) + return await self.request_adapter.send_async(request_info, TenantGovernancePolicyTemplate, error_mapping) def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo request_info.headers.try_add("Accept", "application/json") return request_info - def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GovernancePolicyTemplateItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[TenantGovernancePolicyTemplateItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ Read the properties of a governancePolicyTemplate object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi request_info.headers.try_add("Accept", "application/json") return request_info - def to_patch_request_information(self,body: GovernancePolicyTemplate, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + def to_patch_request_information(self,body: TenantGovernancePolicyTemplate, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ Update the properties of a governancePolicyTemplate object. param body: The request body @@ -131,25 +131,25 @@ def to_patch_request_information(self,body: GovernancePolicyTemplate, request_co request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info - def with_url(self,raw_url: str) -> GovernancePolicyTemplateItemRequestBuilder: + def with_url(self,raw_url: str) -> TenantGovernancePolicyTemplateItemRequestBuilder: """ Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. param raw_url: The raw URL to use for the request builder. - Returns: GovernancePolicyTemplateItemRequestBuilder + Returns: TenantGovernancePolicyTemplateItemRequestBuilder """ if raw_url is None: raise TypeError("raw_url cannot be null.") - return GovernancePolicyTemplateItemRequestBuilder(self.request_adapter, raw_url) + return TenantGovernancePolicyTemplateItemRequestBuilder(self.request_adapter, raw_url) @dataclass - class GovernancePolicyTemplateItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): + class TenantGovernancePolicyTemplateItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): """ Configuration for the request such as headers, query parameters, and middleware options. """ warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) @dataclass - class GovernancePolicyTemplateItemRequestBuilderGetQueryParameters(): + class TenantGovernancePolicyTemplateItemRequestBuilderGetQueryParameters(): """ Read the properties of a governancePolicyTemplate object. """ @@ -175,14 +175,14 @@ def get_query_parameter(self,original_name: str) -> str: @dataclass - class GovernancePolicyTemplateItemRequestBuilderGetRequestConfiguration(RequestConfiguration[GovernancePolicyTemplateItemRequestBuilderGetQueryParameters]): + class TenantGovernancePolicyTemplateItemRequestBuilderGetRequestConfiguration(RequestConfiguration[TenantGovernancePolicyTemplateItemRequestBuilderGetQueryParameters]): """ Configuration for the request such as headers, query parameters, and middleware options. """ warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) @dataclass - class GovernancePolicyTemplateItemRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + class TenantGovernancePolicyTemplateItemRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): """ Configuration for the request such as headers, query parameters, and middleware options. """ diff --git a/msgraph_beta/generated/directory/tenant_governance/governance_relationships/governance_relationships_request_builder.py b/msgraph_beta/generated/directory/tenant_governance/governance_relationships/governance_relationships_request_builder.py index 5d3133395a6..a82e100432c 100644 --- a/msgraph_beta/generated/directory/tenant_governance/governance_relationships/governance_relationships_request_builder.py +++ b/msgraph_beta/generated/directory/tenant_governance/governance_relationships/governance_relationships_request_builder.py @@ -14,15 +14,15 @@ from warnings import warn if TYPE_CHECKING: + from ....models.governance_relationship import GovernanceRelationship + from ....models.governance_relationship_collection_response import GovernanceRelationshipCollectionResponse from ....models.o_data_errors.o_data_error import ODataError - from ....models.tenant_governance_services.governance_relationship import GovernanceRelationship - from ....models.tenant_governance_services.governance_relationship_collection_response import GovernanceRelationshipCollectionResponse from .count.count_request_builder import CountRequestBuilder from .item.governance_relationship_item_request_builder import GovernanceRelationshipItemRequestBuilder class GovernanceRelationshipsRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the governanceRelationships property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + Provides operations to manage the governanceRelationships property of the microsoft.graph.tenantGovernance entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: """ @@ -35,7 +35,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d def by_governance_relationship_id(self,governance_relationship_id: str) -> GovernanceRelationshipItemRequestBuilder: """ - Provides operations to manage the governanceRelationships property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + Provides operations to manage the governanceRelationships property of the microsoft.graph.tenantGovernance entity. param governance_relationship_id: The unique identifier of governanceRelationship Returns: GovernanceRelationshipItemRequestBuilder """ @@ -64,7 +64,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Governan } if not self.request_adapter: raise Exception("Http core is null") - from ....models.tenant_governance_services.governance_relationship_collection_response import GovernanceRelationshipCollectionResponse + from ....models.governance_relationship_collection_response import GovernanceRelationshipCollectionResponse return await self.request_adapter.send_async(request_info, GovernanceRelationshipCollectionResponse, error_mapping) @@ -87,7 +87,7 @@ async def post(self,body: GovernanceRelationship, request_configuration: Optiona } if not self.request_adapter: raise Exception("Http core is null") - from ....models.tenant_governance_services.governance_relationship import GovernanceRelationship + from ....models.governance_relationship import GovernanceRelationship return await self.request_adapter.send_async(request_info, GovernanceRelationship, error_mapping) diff --git a/msgraph_beta/generated/directory/tenant_governance/governance_relationships/item/governance_relationship_item_request_builder.py b/msgraph_beta/generated/directory/tenant_governance/governance_relationships/item/governance_relationship_item_request_builder.py index 28d10d876fd..458cfd4a1d3 100644 --- a/msgraph_beta/generated/directory/tenant_governance/governance_relationships/item/governance_relationship_item_request_builder.py +++ b/msgraph_beta/generated/directory/tenant_governance/governance_relationships/item/governance_relationship_item_request_builder.py @@ -14,12 +14,12 @@ from warnings import warn if TYPE_CHECKING: + from .....models.governance_relationship import GovernanceRelationship from .....models.o_data_errors.o_data_error import ODataError - from .....models.tenant_governance_services.governance_relationship import GovernanceRelationship class GovernanceRelationshipItemRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the governanceRelationships property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + Provides operations to manage the governanceRelationships property of the microsoft.graph.tenantGovernance entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: """ @@ -65,7 +65,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Governan } if not self.request_adapter: raise Exception("Http core is null") - from .....models.tenant_governance_services.governance_relationship import GovernanceRelationship + from .....models.governance_relationship import GovernanceRelationship return await self.request_adapter.send_async(request_info, GovernanceRelationship, error_mapping) @@ -89,7 +89,7 @@ async def patch(self,body: GovernanceRelationship, request_configuration: Option } if not self.request_adapter: raise Exception("Http core is null") - from .....models.tenant_governance_services.governance_relationship import GovernanceRelationship + from .....models.governance_relationship import GovernanceRelationship return await self.request_adapter.send_async(request_info, GovernanceRelationship, error_mapping) diff --git a/msgraph_beta/generated/directory/tenant_governance/governance_requests/governance_requests_request_builder.py b/msgraph_beta/generated/directory/tenant_governance/governance_requests/governance_requests_request_builder.py index 7faa956ab35..8cc461c5db5 100644 --- a/msgraph_beta/generated/directory/tenant_governance/governance_requests/governance_requests_request_builder.py +++ b/msgraph_beta/generated/directory/tenant_governance/governance_requests/governance_requests_request_builder.py @@ -14,15 +14,15 @@ from warnings import warn if TYPE_CHECKING: + from ....models.governance_request import GovernanceRequest + from ....models.governance_request_collection_response import GovernanceRequestCollectionResponse from ....models.o_data_errors.o_data_error import ODataError - from ....models.tenant_governance_services.governance_request import GovernanceRequest - from ....models.tenant_governance_services.governance_request_collection_response import GovernanceRequestCollectionResponse from .count.count_request_builder import CountRequestBuilder from .item.governance_request_item_request_builder import GovernanceRequestItemRequestBuilder class GovernanceRequestsRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the governanceRequests property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + Provides operations to manage the governanceRequests property of the microsoft.graph.tenantGovernance entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: """ @@ -35,7 +35,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d def by_governance_request_id(self,governance_request_id: str) -> GovernanceRequestItemRequestBuilder: """ - Provides operations to manage the governanceRequests property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + Provides operations to manage the governanceRequests property of the microsoft.graph.tenantGovernance entity. param governance_request_id: The unique identifier of governanceRequest Returns: GovernanceRequestItemRequestBuilder """ @@ -64,7 +64,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Governan } if not self.request_adapter: raise Exception("Http core is null") - from ....models.tenant_governance_services.governance_request_collection_response import GovernanceRequestCollectionResponse + from ....models.governance_request_collection_response import GovernanceRequestCollectionResponse return await self.request_adapter.send_async(request_info, GovernanceRequestCollectionResponse, error_mapping) @@ -88,7 +88,7 @@ async def post(self,body: GovernanceRequest, request_configuration: Optional[Req } if not self.request_adapter: raise Exception("Http core is null") - from ....models.tenant_governance_services.governance_request import GovernanceRequest + from ....models.governance_request import GovernanceRequest return await self.request_adapter.send_async(request_info, GovernanceRequest, error_mapping) diff --git a/msgraph_beta/generated/directory/tenant_governance/governance_requests/item/governance_policy_template/governance_policy_template_request_builder.py b/msgraph_beta/generated/directory/tenant_governance/governance_requests/item/governance_policy_template/governance_policy_template_request_builder.py index a700549437a..61b876012ca 100644 --- a/msgraph_beta/generated/directory/tenant_governance/governance_requests/item/governance_policy_template/governance_policy_template_request_builder.py +++ b/msgraph_beta/generated/directory/tenant_governance/governance_requests/item/governance_policy_template/governance_policy_template_request_builder.py @@ -15,11 +15,11 @@ if TYPE_CHECKING: from ......models.o_data_errors.o_data_error import ODataError - from ......models.tenant_governance_services.governance_policy_template import GovernancePolicyTemplate + from ......models.tenant_governance_policy_template import TenantGovernancePolicyTemplate class GovernancePolicyTemplateRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the governancePolicyTemplate property of the microsoft.graph.tenantGovernanceServices.governanceRequest entity. + Provides operations to manage the governancePolicyTemplate property of the microsoft.graph.governanceRequest entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: """ @@ -30,11 +30,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d """ super().__init__(request_adapter, "{+baseurl}/directory/tenantGovernance/governanceRequests/{governanceRequest%2Did}/governancePolicyTemplate{?%24expand,%24select}", path_parameters) - async def get(self,request_configuration: Optional[RequestConfiguration[GovernancePolicyTemplateRequestBuilderGetQueryParameters]] = None) -> Optional[GovernancePolicyTemplate]: + async def get(self,request_configuration: Optional[RequestConfiguration[GovernancePolicyTemplateRequestBuilderGetQueryParameters]] = None) -> Optional[TenantGovernancePolicyTemplate]: """ - The governance policy template associated with this request. + Get governancePolicyTemplate from directory param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[GovernancePolicyTemplate] + Returns: Optional[TenantGovernancePolicyTemplate] """ request_info = self.to_get_request_information( request_configuration @@ -46,13 +46,13 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Governan } if not self.request_adapter: raise Exception("Http core is null") - from ......models.tenant_governance_services.governance_policy_template import GovernancePolicyTemplate + from ......models.tenant_governance_policy_template import TenantGovernancePolicyTemplate - return await self.request_adapter.send_async(request_info, GovernancePolicyTemplate, error_mapping) + return await self.request_adapter.send_async(request_info, TenantGovernancePolicyTemplate, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GovernancePolicyTemplateRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The governance policy template associated with this request. + Get governancePolicyTemplate from directory param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> GovernancePolicyTemplateRequestBuilder: @dataclass class GovernancePolicyTemplateRequestBuilderGetQueryParameters(): """ - The governance policy template associated with this request. + Get governancePolicyTemplate from directory """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/directory/tenant_governance/governance_requests/item/governance_request_item_request_builder.py b/msgraph_beta/generated/directory/tenant_governance/governance_requests/item/governance_request_item_request_builder.py index 0320e6504f2..73fb97c8ce3 100644 --- a/msgraph_beta/generated/directory/tenant_governance/governance_requests/item/governance_request_item_request_builder.py +++ b/msgraph_beta/generated/directory/tenant_governance/governance_requests/item/governance_request_item_request_builder.py @@ -14,13 +14,13 @@ from warnings import warn if TYPE_CHECKING: + from .....models.governance_request import GovernanceRequest from .....models.o_data_errors.o_data_error import ODataError - from .....models.tenant_governance_services.governance_request import GovernanceRequest from .governance_policy_template.governance_policy_template_request_builder import GovernancePolicyTemplateRequestBuilder class GovernanceRequestItemRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the governanceRequests property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + Provides operations to manage the governanceRequests property of the microsoft.graph.tenantGovernance entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Governan } if not self.request_adapter: raise Exception("Http core is null") - from .....models.tenant_governance_services.governance_request import GovernanceRequest + from .....models.governance_request import GovernanceRequest return await self.request_adapter.send_async(request_info, GovernanceRequest, error_mapping) @@ -90,7 +90,7 @@ async def patch(self,body: GovernanceRequest, request_configuration: Optional[Re } if not self.request_adapter: raise Exception("Http core is null") - from .....models.tenant_governance_services.governance_request import GovernanceRequest + from .....models.governance_request import GovernanceRequest return await self.request_adapter.send_async(request_info, GovernanceRequest, error_mapping) @@ -144,7 +144,7 @@ def with_url(self,raw_url: str) -> GovernanceRequestItemRequestBuilder: @property def governance_policy_template(self) -> GovernancePolicyTemplateRequestBuilder: """ - Provides operations to manage the governancePolicyTemplate property of the microsoft.graph.tenantGovernanceServices.governanceRequest entity. + Provides operations to manage the governancePolicyTemplate property of the microsoft.graph.governanceRequest entity. """ from .governance_policy_template.governance_policy_template_request_builder import GovernancePolicyTemplateRequestBuilder diff --git a/msgraph_beta/generated/directory/tenant_governance/related_tenants/item/app_b2_b_sign_in_activity_metrics/app_b2_b_sign_in_activity_metrics_request_builder.py b/msgraph_beta/generated/directory/tenant_governance/related_tenants/item/app_b2_b_sign_in_activity_metrics/app_b2_b_sign_in_activity_metrics_request_builder.py index 3015d2621ed..6e9efdf4d82 100644 --- a/msgraph_beta/generated/directory/tenant_governance/related_tenants/item/app_b2_b_sign_in_activity_metrics/app_b2_b_sign_in_activity_metrics_request_builder.py +++ b/msgraph_beta/generated/directory/tenant_governance/related_tenants/item/app_b2_b_sign_in_activity_metrics/app_b2_b_sign_in_activity_metrics_request_builder.py @@ -14,12 +14,12 @@ from warnings import warn if TYPE_CHECKING: + from ......models.b2_b_sign_in_activity_metrics import B2BSignInActivityMetrics from ......models.o_data_errors.o_data_error import ODataError - from ......models.tenant_governance_services.b2_b_sign_in_activity_metrics import B2BSignInActivityMetrics class AppB2BSignInActivityMetricsRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the appB2BSignInActivityMetrics property of the microsoft.graph.tenantGovernanceServices.relatedTenant entity. + Provides operations to manage the appB2BSignInActivityMetrics property of the microsoft.graph.relatedTenant entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: """ @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def get(self,request_configuration: Optional[RequestConfiguration[AppB2BSignInActivityMetricsRequestBuilderGetQueryParameters]] = None) -> Optional[B2BSignInActivityMetrics]: """ - B2B sign-in activity metrics for this related tenant. Expanded by default. + Get appB2BSignInActivityMetrics from directory param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[B2BSignInActivityMetrics] """ @@ -46,13 +46,13 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppB2BSi } if not self.request_adapter: raise Exception("Http core is null") - from ......models.tenant_governance_services.b2_b_sign_in_activity_metrics import B2BSignInActivityMetrics + from ......models.b2_b_sign_in_activity_metrics import B2BSignInActivityMetrics return await self.request_adapter.send_async(request_info, B2BSignInActivityMetrics, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AppB2BSignInActivityMetricsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - B2B sign-in activity metrics for this related tenant. Expanded by default. + Get appB2BSignInActivityMetrics from directory param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> AppB2BSignInActivityMetricsRequestBuilder: @dataclass class AppB2BSignInActivityMetricsRequestBuilderGetQueryParameters(): """ - B2B sign-in activity metrics for this related tenant. Expanded by default. + Get appB2BSignInActivityMetrics from directory """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/directory/tenant_governance/related_tenants/item/b2_b_registration_metrics/b2_b_registration_metrics_request_builder.py b/msgraph_beta/generated/directory/tenant_governance/related_tenants/item/b2_b_registration_metrics/b2_b_registration_metrics_request_builder.py index 3a1d6b147e3..e75925dfc46 100644 --- a/msgraph_beta/generated/directory/tenant_governance/related_tenants/item/b2_b_registration_metrics/b2_b_registration_metrics_request_builder.py +++ b/msgraph_beta/generated/directory/tenant_governance/related_tenants/item/b2_b_registration_metrics/b2_b_registration_metrics_request_builder.py @@ -14,12 +14,12 @@ from warnings import warn if TYPE_CHECKING: + from ......models.b2b_registration_metrics import B2bRegistrationMetrics from ......models.o_data_errors.o_data_error import ODataError - from ......models.tenant_governance_services.b2b_registration_metrics import B2bRegistrationMetrics class B2BRegistrationMetricsRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the b2BRegistrationMetrics property of the microsoft.graph.tenantGovernanceServices.relatedTenant entity. + Provides operations to manage the b2BRegistrationMetrics property of the microsoft.graph.relatedTenant entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: """ @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def get(self,request_configuration: Optional[RequestConfiguration[B2BRegistrationMetricsRequestBuilderGetQueryParameters]] = None) -> Optional[B2bRegistrationMetrics]: """ - B2B registration metrics for this related tenant. Expanded by default. + Get b2BRegistrationMetrics from directory param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[B2bRegistrationMetrics] """ @@ -46,13 +46,13 @@ async def get(self,request_configuration: Optional[RequestConfiguration[B2BRegis } if not self.request_adapter: raise Exception("Http core is null") - from ......models.tenant_governance_services.b2b_registration_metrics import B2bRegistrationMetrics + from ......models.b2b_registration_metrics import B2bRegistrationMetrics return await self.request_adapter.send_async(request_info, B2bRegistrationMetrics, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[B2BRegistrationMetricsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - B2B registration metrics for this related tenant. Expanded by default. + Get b2BRegistrationMetrics from directory param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> B2BRegistrationMetricsRequestBuilder: @dataclass class B2BRegistrationMetricsRequestBuilderGetQueryParameters(): """ - B2B registration metrics for this related tenant. Expanded by default. + Get b2BRegistrationMetrics from directory """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/directory/tenant_governance/related_tenants/item/b2_b_sign_in_activity_metrics/b2_b_sign_in_activity_metrics_request_builder.py b/msgraph_beta/generated/directory/tenant_governance/related_tenants/item/b2_b_sign_in_activity_metrics/b2_b_sign_in_activity_metrics_request_builder.py index d27c4b11b8a..13bb721d50a 100644 --- a/msgraph_beta/generated/directory/tenant_governance/related_tenants/item/b2_b_sign_in_activity_metrics/b2_b_sign_in_activity_metrics_request_builder.py +++ b/msgraph_beta/generated/directory/tenant_governance/related_tenants/item/b2_b_sign_in_activity_metrics/b2_b_sign_in_activity_metrics_request_builder.py @@ -14,12 +14,12 @@ from warnings import warn if TYPE_CHECKING: + from ......models.b2_b_sign_in_activity_metrics import B2BSignInActivityMetrics from ......models.o_data_errors.o_data_error import ODataError - from ......models.tenant_governance_services.b2_b_sign_in_activity_metrics import B2BSignInActivityMetrics class B2BSignInActivityMetricsRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the b2BSignInActivityMetrics property of the microsoft.graph.tenantGovernanceServices.relatedTenant entity. + Provides operations to manage the b2BSignInActivityMetrics property of the microsoft.graph.relatedTenant entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: """ @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def get(self,request_configuration: Optional[RequestConfiguration[B2BSignInActivityMetricsRequestBuilderGetQueryParameters]] = None) -> Optional[B2BSignInActivityMetrics]: """ - B2B sign-in activity metrics for this related tenant. Expanded by default. + Get b2BSignInActivityMetrics from directory param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[B2BSignInActivityMetrics] """ @@ -46,13 +46,13 @@ async def get(self,request_configuration: Optional[RequestConfiguration[B2BSignI } if not self.request_adapter: raise Exception("Http core is null") - from ......models.tenant_governance_services.b2_b_sign_in_activity_metrics import B2BSignInActivityMetrics + from ......models.b2_b_sign_in_activity_metrics import B2BSignInActivityMetrics return await self.request_adapter.send_async(request_info, B2BSignInActivityMetrics, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[B2BSignInActivityMetricsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - B2B sign-in activity metrics for this related tenant. Expanded by default. + Get b2BSignInActivityMetrics from directory param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> B2BSignInActivityMetricsRequestBuilder: @dataclass class B2BSignInActivityMetricsRequestBuilderGetQueryParameters(): """ - B2B sign-in activity metrics for this related tenant. Expanded by default. + Get b2BSignInActivityMetrics from directory """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/directory/tenant_governance/related_tenants/item/billing_metrics/billing_metrics_request_builder.py b/msgraph_beta/generated/directory/tenant_governance/related_tenants/item/billing_metrics/billing_metrics_request_builder.py index b9167065382..811a1b00aac 100644 --- a/msgraph_beta/generated/directory/tenant_governance/related_tenants/item/billing_metrics/billing_metrics_request_builder.py +++ b/msgraph_beta/generated/directory/tenant_governance/related_tenants/item/billing_metrics/billing_metrics_request_builder.py @@ -14,12 +14,12 @@ from warnings import warn if TYPE_CHECKING: + from ......models.billing_metrics import BillingMetrics from ......models.o_data_errors.o_data_error import ODataError - from ......models.tenant_governance_services.billing_metrics import BillingMetrics class BillingMetricsRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the billingMetrics property of the microsoft.graph.tenantGovernanceServices.relatedTenant entity. + Provides operations to manage the billingMetrics property of the microsoft.graph.relatedTenant entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: """ @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def get(self,request_configuration: Optional[RequestConfiguration[BillingMetricsRequestBuilderGetQueryParameters]] = None) -> Optional[BillingMetrics]: """ - Billing metrics for this related tenant. Expanded by default. + Get billingMetrics from directory param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BillingMetrics] """ @@ -46,13 +46,13 @@ async def get(self,request_configuration: Optional[RequestConfiguration[BillingM } if not self.request_adapter: raise Exception("Http core is null") - from ......models.tenant_governance_services.billing_metrics import BillingMetrics + from ......models.billing_metrics import BillingMetrics return await self.request_adapter.send_async(request_info, BillingMetrics, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[BillingMetricsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Billing metrics for this related tenant. Expanded by default. + Get billingMetrics from directory param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> BillingMetricsRequestBuilder: @dataclass class BillingMetricsRequestBuilderGetQueryParameters(): """ - Billing metrics for this related tenant. Expanded by default. + Get billingMetrics from directory """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/directory/tenant_governance/related_tenants/item/multi_tenant_application_metrics/multi_tenant_application_metrics_request_builder.py b/msgraph_beta/generated/directory/tenant_governance/related_tenants/item/multi_tenant_application_metrics/multi_tenant_application_metrics_request_builder.py index 80f179dae08..62a51e0f30c 100644 --- a/msgraph_beta/generated/directory/tenant_governance/related_tenants/item/multi_tenant_application_metrics/multi_tenant_application_metrics_request_builder.py +++ b/msgraph_beta/generated/directory/tenant_governance/related_tenants/item/multi_tenant_application_metrics/multi_tenant_application_metrics_request_builder.py @@ -14,12 +14,12 @@ from warnings import warn if TYPE_CHECKING: + from ......models.multi_tenant_application_metrics import MultiTenantApplicationMetrics from ......models.o_data_errors.o_data_error import ODataError - from ......models.tenant_governance_services.multi_tenant_application_metrics import MultiTenantApplicationMetrics class MultiTenantApplicationMetricsRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the multiTenantApplicationMetrics property of the microsoft.graph.tenantGovernanceServices.relatedTenant entity. + Provides operations to manage the multiTenantApplicationMetrics property of the microsoft.graph.relatedTenant entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: """ @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def get(self,request_configuration: Optional[RequestConfiguration[MultiTenantApplicationMetricsRequestBuilderGetQueryParameters]] = None) -> Optional[MultiTenantApplicationMetrics]: """ - Multi-tenant application usage metrics for this related tenant. Expanded by default. + Get multiTenantApplicationMetrics from directory param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MultiTenantApplicationMetrics] """ @@ -46,13 +46,13 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MultiTen } if not self.request_adapter: raise Exception("Http core is null") - from ......models.tenant_governance_services.multi_tenant_application_metrics import MultiTenantApplicationMetrics + from ......models.multi_tenant_application_metrics import MultiTenantApplicationMetrics return await self.request_adapter.send_async(request_info, MultiTenantApplicationMetrics, error_mapping) def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MultiTenantApplicationMetricsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Multi-tenant application usage metrics for this related tenant. Expanded by default. + Get multiTenantApplicationMetrics from directory param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> MultiTenantApplicationMetricsRequestBuilder: @dataclass class MultiTenantApplicationMetricsRequestBuilderGetQueryParameters(): """ - Multi-tenant application usage metrics for this related tenant. Expanded by default. + Get multiTenantApplicationMetrics from directory """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/directory/tenant_governance/related_tenants/item/related_tenant_item_request_builder.py b/msgraph_beta/generated/directory/tenant_governance/related_tenants/item/related_tenant_item_request_builder.py index c4ef865c604..b76427f8b09 100644 --- a/msgraph_beta/generated/directory/tenant_governance/related_tenants/item/related_tenant_item_request_builder.py +++ b/msgraph_beta/generated/directory/tenant_governance/related_tenants/item/related_tenant_item_request_builder.py @@ -15,7 +15,7 @@ if TYPE_CHECKING: from .....models.o_data_errors.o_data_error import ODataError - from .....models.tenant_governance_services.related_tenant import RelatedTenant + from .....models.related_tenant import RelatedTenant from .app_b2_b_sign_in_activity_metrics.app_b2_b_sign_in_activity_metrics_request_builder import AppB2BSignInActivityMetricsRequestBuilder from .b2_b_registration_metrics.b2_b_registration_metrics_request_builder import B2BRegistrationMetricsRequestBuilder from .b2_b_sign_in_activity_metrics.b2_b_sign_in_activity_metrics_request_builder import B2BSignInActivityMetricsRequestBuilder @@ -24,7 +24,7 @@ class RelatedTenantItemRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the relatedTenants property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + Provides operations to manage the relatedTenants property of the microsoft.graph.tenantGovernance entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: """ @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RelatedT } if not self.request_adapter: raise Exception("Http core is null") - from .....models.tenant_governance_services.related_tenant import RelatedTenant + from .....models.related_tenant import RelatedTenant return await self.request_adapter.send_async(request_info, RelatedTenant, error_mapping) @@ -93,7 +93,7 @@ async def patch(self,body: RelatedTenant, request_configuration: Optional[Reques } if not self.request_adapter: raise Exception("Http core is null") - from .....models.tenant_governance_services.related_tenant import RelatedTenant + from .....models.related_tenant import RelatedTenant return await self.request_adapter.send_async(request_info, RelatedTenant, error_mapping) @@ -147,7 +147,7 @@ def with_url(self,raw_url: str) -> RelatedTenantItemRequestBuilder: @property def app_b2_b_sign_in_activity_metrics(self) -> AppB2BSignInActivityMetricsRequestBuilder: """ - Provides operations to manage the appB2BSignInActivityMetrics property of the microsoft.graph.tenantGovernanceServices.relatedTenant entity. + Provides operations to manage the appB2BSignInActivityMetrics property of the microsoft.graph.relatedTenant entity. """ from .app_b2_b_sign_in_activity_metrics.app_b2_b_sign_in_activity_metrics_request_builder import AppB2BSignInActivityMetricsRequestBuilder @@ -156,7 +156,7 @@ def app_b2_b_sign_in_activity_metrics(self) -> AppB2BSignInActivityMetricsReques @property def b2_b_registration_metrics(self) -> B2BRegistrationMetricsRequestBuilder: """ - Provides operations to manage the b2BRegistrationMetrics property of the microsoft.graph.tenantGovernanceServices.relatedTenant entity. + Provides operations to manage the b2BRegistrationMetrics property of the microsoft.graph.relatedTenant entity. """ from .b2_b_registration_metrics.b2_b_registration_metrics_request_builder import B2BRegistrationMetricsRequestBuilder @@ -165,7 +165,7 @@ def b2_b_registration_metrics(self) -> B2BRegistrationMetricsRequestBuilder: @property def b2_b_sign_in_activity_metrics(self) -> B2BSignInActivityMetricsRequestBuilder: """ - Provides operations to manage the b2BSignInActivityMetrics property of the microsoft.graph.tenantGovernanceServices.relatedTenant entity. + Provides operations to manage the b2BSignInActivityMetrics property of the microsoft.graph.relatedTenant entity. """ from .b2_b_sign_in_activity_metrics.b2_b_sign_in_activity_metrics_request_builder import B2BSignInActivityMetricsRequestBuilder @@ -174,7 +174,7 @@ def b2_b_sign_in_activity_metrics(self) -> B2BSignInActivityMetricsRequestBuilde @property def billing_metrics(self) -> BillingMetricsRequestBuilder: """ - Provides operations to manage the billingMetrics property of the microsoft.graph.tenantGovernanceServices.relatedTenant entity. + Provides operations to manage the billingMetrics property of the microsoft.graph.relatedTenant entity. """ from .billing_metrics.billing_metrics_request_builder import BillingMetricsRequestBuilder @@ -183,7 +183,7 @@ def billing_metrics(self) -> BillingMetricsRequestBuilder: @property def multi_tenant_application_metrics(self) -> MultiTenantApplicationMetricsRequestBuilder: """ - Provides operations to manage the multiTenantApplicationMetrics property of the microsoft.graph.tenantGovernanceServices.relatedTenant entity. + Provides operations to manage the multiTenantApplicationMetrics property of the microsoft.graph.relatedTenant entity. """ from .multi_tenant_application_metrics.multi_tenant_application_metrics_request_builder import MultiTenantApplicationMetricsRequestBuilder diff --git a/msgraph_beta/generated/directory/tenant_governance/related_tenants/microsoft_graph_tenant_governance_services_refresh/microsoft_graph_tenant_governance_services_refresh_request_builder.py b/msgraph_beta/generated/directory/tenant_governance/related_tenants/refresh/refresh_request_builder.py similarity index 83% rename from msgraph_beta/generated/directory/tenant_governance/related_tenants/microsoft_graph_tenant_governance_services_refresh/microsoft_graph_tenant_governance_services_refresh_request_builder.py rename to msgraph_beta/generated/directory/tenant_governance/related_tenants/refresh/refresh_request_builder.py index da4c4e52cbf..a8361b6b226 100644 --- a/msgraph_beta/generated/directory/tenant_governance/related_tenants/microsoft_graph_tenant_governance_services_refresh/microsoft_graph_tenant_governance_services_refresh_request_builder.py +++ b/msgraph_beta/generated/directory/tenant_governance/related_tenants/refresh/refresh_request_builder.py @@ -16,18 +16,18 @@ if TYPE_CHECKING: from .....models.o_data_errors.o_data_error import ODataError -class MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder(BaseRequestBuilder): +class RefreshRequestBuilder(BaseRequestBuilder): """ Provides operations to call the refresh method. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: """ - Instantiates a new MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder and sets the default values. + Instantiates a new RefreshRequestBuilder and sets the default values. param path_parameters: The raw url or the url-template parameters for the request. param request_adapter: The request adapter to use to execute the requests. Returns: None """ - super().__init__(request_adapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/microsoft.graph.tenantGovernanceServices.refresh", path_parameters) + super().__init__(request_adapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/refresh", path_parameters) async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ @@ -59,18 +59,18 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf request_info.headers.try_add("Accept", "application/json") return request_info - def with_url(self,raw_url: str) -> MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder: + def with_url(self,raw_url: str) -> RefreshRequestBuilder: """ Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. param raw_url: The raw URL to use for the request builder. - Returns: MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder + Returns: RefreshRequestBuilder """ if raw_url is None: raise TypeError("raw_url cannot be null.") - return MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder(self.request_adapter, raw_url) + return RefreshRequestBuilder(self.request_adapter, raw_url) @dataclass - class MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + class RefreshRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): """ Configuration for the request such as headers, query parameters, and middleware options. """ diff --git a/msgraph_beta/generated/directory/tenant_governance/related_tenants/microsoft_graph_tenant_governance_services_refresh_status/microsoft_graph_tenant_governance_services_refresh_status_request_builder.py b/msgraph_beta/generated/directory/tenant_governance/related_tenants/refresh_status/refresh_status_request_builder.py similarity index 78% rename from msgraph_beta/generated/directory/tenant_governance/related_tenants/microsoft_graph_tenant_governance_services_refresh_status/microsoft_graph_tenant_governance_services_refresh_status_request_builder.py rename to msgraph_beta/generated/directory/tenant_governance/related_tenants/refresh_status/refresh_status_request_builder.py index 8ebd67c1956..32d19cfbe6d 100644 --- a/msgraph_beta/generated/directory/tenant_governance/related_tenants/microsoft_graph_tenant_governance_services_refresh_status/microsoft_graph_tenant_governance_services_refresh_status_request_builder.py +++ b/msgraph_beta/generated/directory/tenant_governance/related_tenants/refresh_status/refresh_status_request_builder.py @@ -15,20 +15,20 @@ if TYPE_CHECKING: from .....models.o_data_errors.o_data_error import ODataError - from .....models.tenant_governance_services.related_tenants_refresh_status import RelatedTenantsRefreshStatus + from .....models.related_tenants_refresh_status import RelatedTenantsRefreshStatus -class MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder(BaseRequestBuilder): +class RefreshStatusRequestBuilder(BaseRequestBuilder): """ Provides operations to call the refreshStatus method. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: """ - Instantiates a new MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder and sets the default values. + Instantiates a new RefreshStatusRequestBuilder and sets the default values. param path_parameters: The raw url or the url-template parameters for the request. param request_adapter: The request adapter to use to execute the requests. Returns: None """ - super().__init__(request_adapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/microsoft.graph.tenantGovernanceServices.refreshStatus()", path_parameters) + super().__init__(request_adapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/refreshStatus()", path_parameters) async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RelatedTenantsRefreshStatus]: """ @@ -47,7 +47,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar } if not self.request_adapter: raise Exception("Http core is null") - from .....models.tenant_governance_services.related_tenants_refresh_status import RelatedTenantsRefreshStatus + from .....models.related_tenants_refresh_status import RelatedTenantsRefreshStatus return await self.request_adapter.send_async(request_info, RelatedTenantsRefreshStatus, error_mapping) @@ -62,18 +62,18 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi request_info.headers.try_add("Accept", "application/json") return request_info - def with_url(self,raw_url: str) -> MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder: + def with_url(self,raw_url: str) -> RefreshStatusRequestBuilder: """ Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. param raw_url: The raw URL to use for the request builder. - Returns: MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder + Returns: RefreshStatusRequestBuilder """ if raw_url is None: raise TypeError("raw_url cannot be null.") - return MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder(self.request_adapter, raw_url) + return RefreshStatusRequestBuilder(self.request_adapter, raw_url) @dataclass - class MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilderGetRequestConfiguration(RequestConfiguration[QueryParameters]): + class RefreshStatusRequestBuilderGetRequestConfiguration(RequestConfiguration[QueryParameters]): """ Configuration for the request such as headers, query parameters, and middleware options. """ diff --git a/msgraph_beta/generated/directory/tenant_governance/related_tenants/related_tenants_request_builder.py b/msgraph_beta/generated/directory/tenant_governance/related_tenants/related_tenants_request_builder.py index 46f49f96708..bbba77a5dd4 100644 --- a/msgraph_beta/generated/directory/tenant_governance/related_tenants/related_tenants_request_builder.py +++ b/msgraph_beta/generated/directory/tenant_governance/related_tenants/related_tenants_request_builder.py @@ -15,16 +15,16 @@ if TYPE_CHECKING: from ....models.o_data_errors.o_data_error import ODataError - from ....models.tenant_governance_services.related_tenant import RelatedTenant - from ....models.tenant_governance_services.related_tenant_collection_response import RelatedTenantCollectionResponse + from ....models.related_tenant import RelatedTenant + from ....models.related_tenant_collection_response import RelatedTenantCollectionResponse from .count.count_request_builder import CountRequestBuilder from .item.related_tenant_item_request_builder import RelatedTenantItemRequestBuilder - from .microsoft_graph_tenant_governance_services_refresh.microsoft_graph_tenant_governance_services_refresh_request_builder import MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder - from .microsoft_graph_tenant_governance_services_refresh_status.microsoft_graph_tenant_governance_services_refresh_status_request_builder import MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder + from .refresh.refresh_request_builder import RefreshRequestBuilder + from .refresh_status.refresh_status_request_builder import RefreshStatusRequestBuilder class RelatedTenantsRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the relatedTenants property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + Provides operations to manage the relatedTenants property of the microsoft.graph.tenantGovernance entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: """ @@ -37,7 +37,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d def by_related_tenant_id(self,related_tenant_id: str) -> RelatedTenantItemRequestBuilder: """ - Provides operations to manage the relatedTenants property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + Provides operations to manage the relatedTenants property of the microsoft.graph.tenantGovernance entity. param related_tenant_id: The unique identifier of relatedTenant Returns: RelatedTenantItemRequestBuilder """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RelatedT } if not self.request_adapter: raise Exception("Http core is null") - from ....models.tenant_governance_services.related_tenant_collection_response import RelatedTenantCollectionResponse + from ....models.related_tenant_collection_response import RelatedTenantCollectionResponse return await self.request_adapter.send_async(request_info, RelatedTenantCollectionResponse, error_mapping) @@ -89,7 +89,7 @@ async def post(self,body: RelatedTenant, request_configuration: Optional[Request } if not self.request_adapter: raise Exception("Http core is null") - from ....models.tenant_governance_services.related_tenant import RelatedTenant + from ....models.related_tenant import RelatedTenant return await self.request_adapter.send_async(request_info, RelatedTenant, error_mapping) @@ -139,22 +139,22 @@ def count(self) -> CountRequestBuilder: return CountRequestBuilder(self.request_adapter, self.path_parameters) @property - def microsoft_graph_tenant_governance_services_refresh(self) -> MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder: + def refresh(self) -> RefreshRequestBuilder: """ Provides operations to call the refresh method. """ - from .microsoft_graph_tenant_governance_services_refresh.microsoft_graph_tenant_governance_services_refresh_request_builder import MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder + from .refresh.refresh_request_builder import RefreshRequestBuilder - return MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder(self.request_adapter, self.path_parameters) + return RefreshRequestBuilder(self.request_adapter, self.path_parameters) @property - def microsoft_graph_tenant_governance_services_refresh_status(self) -> MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder: + def refresh_status(self) -> RefreshStatusRequestBuilder: """ Provides operations to call the refreshStatus method. """ - from .microsoft_graph_tenant_governance_services_refresh_status.microsoft_graph_tenant_governance_services_refresh_status_request_builder import MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder + from .refresh_status.refresh_status_request_builder import RefreshStatusRequestBuilder - return MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder(self.request_adapter, self.path_parameters) + return RefreshStatusRequestBuilder(self.request_adapter, self.path_parameters) @dataclass class RelatedTenantsRequestBuilderGetQueryParameters(): diff --git a/msgraph_beta/generated/directory/tenant_governance/settings/microsoft_graph_tenant_governance_services_enable_related_tenants/microsoft_graph_tenant_governance_services_enable_related_tenants_request_builder.py b/msgraph_beta/generated/directory/tenant_governance/settings/enable_related_tenants/enable_related_tenants_request_builder.py similarity index 82% rename from msgraph_beta/generated/directory/tenant_governance/settings/microsoft_graph_tenant_governance_services_enable_related_tenants/microsoft_graph_tenant_governance_services_enable_related_tenants_request_builder.py rename to msgraph_beta/generated/directory/tenant_governance/settings/enable_related_tenants/enable_related_tenants_request_builder.py index 4e8c25dc351..e839130e264 100644 --- a/msgraph_beta/generated/directory/tenant_governance/settings/microsoft_graph_tenant_governance_services_enable_related_tenants/microsoft_graph_tenant_governance_services_enable_related_tenants_request_builder.py +++ b/msgraph_beta/generated/directory/tenant_governance/settings/enable_related_tenants/enable_related_tenants_request_builder.py @@ -16,18 +16,18 @@ if TYPE_CHECKING: from .....models.o_data_errors.o_data_error import ODataError -class MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder(BaseRequestBuilder): +class EnableRelatedTenantsRequestBuilder(BaseRequestBuilder): """ Provides operations to call the enableRelatedTenants method. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: """ - Instantiates a new MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder and sets the default values. + Instantiates a new EnableRelatedTenantsRequestBuilder and sets the default values. param path_parameters: The raw url or the url-template parameters for the request. param request_adapter: The request adapter to use to execute the requests. Returns: None """ - super().__init__(request_adapter, "{+baseurl}/directory/tenantGovernance/settings/microsoft.graph.tenantGovernanceServices.enableRelatedTenants", path_parameters) + super().__init__(request_adapter, "{+baseurl}/directory/tenantGovernance/settings/enableRelatedTenants", path_parameters) async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ @@ -59,18 +59,18 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf request_info.headers.try_add("Accept", "application/json") return request_info - def with_url(self,raw_url: str) -> MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder: + def with_url(self,raw_url: str) -> EnableRelatedTenantsRequestBuilder: """ Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. param raw_url: The raw URL to use for the request builder. - Returns: MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder + Returns: EnableRelatedTenantsRequestBuilder """ if raw_url is None: raise TypeError("raw_url cannot be null.") - return MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder(self.request_adapter, raw_url) + return EnableRelatedTenantsRequestBuilder(self.request_adapter, raw_url) @dataclass - class MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + class EnableRelatedTenantsRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): """ Configuration for the request such as headers, query parameters, and middleware options. """ diff --git a/msgraph_beta/generated/directory/tenant_governance/settings/settings_request_builder.py b/msgraph_beta/generated/directory/tenant_governance/settings/settings_request_builder.py index 82d17ebc056..ef2a9382be0 100644 --- a/msgraph_beta/generated/directory/tenant_governance/settings/settings_request_builder.py +++ b/msgraph_beta/generated/directory/tenant_governance/settings/settings_request_builder.py @@ -15,12 +15,12 @@ if TYPE_CHECKING: from ....models.o_data_errors.o_data_error import ODataError - from ....models.tenant_governance_services.tenant_governance_setting import TenantGovernanceSetting - from .microsoft_graph_tenant_governance_services_enable_related_tenants.microsoft_graph_tenant_governance_services_enable_related_tenants_request_builder import MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder + from ....models.tenant_governance_setting import TenantGovernanceSetting + from .enable_related_tenants.enable_related_tenants_request_builder import EnableRelatedTenantsRequestBuilder class SettingsRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the settings property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + Provides operations to manage the settings property of the microsoft.graph.tenantGovernance entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Settings } if not self.request_adapter: raise Exception("Http core is null") - from ....models.tenant_governance_services.tenant_governance_setting import TenantGovernanceSetting + from ....models.tenant_governance_setting import TenantGovernanceSetting return await self.request_adapter.send_async(request_info, TenantGovernanceSetting, error_mapping) @@ -90,7 +90,7 @@ async def patch(self,body: TenantGovernanceSetting, request_configuration: Optio } if not self.request_adapter: raise Exception("Http core is null") - from ....models.tenant_governance_services.tenant_governance_setting import TenantGovernanceSetting + from ....models.tenant_governance_setting import TenantGovernanceSetting return await self.request_adapter.send_async(request_info, TenantGovernanceSetting, error_mapping) @@ -142,13 +142,13 @@ def with_url(self,raw_url: str) -> SettingsRequestBuilder: return SettingsRequestBuilder(self.request_adapter, raw_url) @property - def microsoft_graph_tenant_governance_services_enable_related_tenants(self) -> MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder: + def enable_related_tenants(self) -> EnableRelatedTenantsRequestBuilder: """ Provides operations to call the enableRelatedTenants method. """ - from .microsoft_graph_tenant_governance_services_enable_related_tenants.microsoft_graph_tenant_governance_services_enable_related_tenants_request_builder import MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder + from .enable_related_tenants.enable_related_tenants_request_builder import EnableRelatedTenantsRequestBuilder - return MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder(self.request_adapter, self.path_parameters) + return EnableRelatedTenantsRequestBuilder(self.request_adapter, self.path_parameters) @dataclass class SettingsRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): diff --git a/msgraph_beta/generated/directory/tenant_governance/tenant_governance_request_builder.py b/msgraph_beta/generated/directory/tenant_governance/tenant_governance_request_builder.py index 62a78c939e4..8a7acf9091d 100644 --- a/msgraph_beta/generated/directory/tenant_governance/tenant_governance_request_builder.py +++ b/msgraph_beta/generated/directory/tenant_governance/tenant_governance_request_builder.py @@ -15,7 +15,7 @@ if TYPE_CHECKING: from ...models.o_data_errors.o_data_error import ODataError - from ...models.tenant_governance_services.tenant_governance import TenantGovernance + from ...models.tenant_governance import TenantGovernance from .governance_invitations.governance_invitations_request_builder import GovernanceInvitationsRequestBuilder from .governance_policy_templates.governance_policy_templates_request_builder import GovernancePolicyTemplatesRequestBuilder from .governance_relationships.governance_relationships_request_builder import GovernanceRelationshipsRequestBuilder @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TenantGo } if not self.request_adapter: raise Exception("Http core is null") - from ...models.tenant_governance_services.tenant_governance import TenantGovernance + from ...models.tenant_governance import TenantGovernance return await self.request_adapter.send_async(request_info, TenantGovernance, error_mapping) @@ -93,7 +93,7 @@ async def patch(self,body: TenantGovernance, request_configuration: Optional[Req } if not self.request_adapter: raise Exception("Http core is null") - from ...models.tenant_governance_services.tenant_governance import TenantGovernance + from ...models.tenant_governance import TenantGovernance return await self.request_adapter.send_async(request_info, TenantGovernance, error_mapping) @@ -147,7 +147,7 @@ def with_url(self,raw_url: str) -> TenantGovernanceRequestBuilder: @property def governance_invitations(self) -> GovernanceInvitationsRequestBuilder: """ - Provides operations to manage the governanceInvitations property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + Provides operations to manage the governanceInvitations property of the microsoft.graph.tenantGovernance entity. """ from .governance_invitations.governance_invitations_request_builder import GovernanceInvitationsRequestBuilder @@ -156,7 +156,7 @@ def governance_invitations(self) -> GovernanceInvitationsRequestBuilder: @property def governance_policy_templates(self) -> GovernancePolicyTemplatesRequestBuilder: """ - Provides operations to manage the governancePolicyTemplates property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + Provides operations to manage the governancePolicyTemplates property of the microsoft.graph.tenantGovernance entity. """ from .governance_policy_templates.governance_policy_templates_request_builder import GovernancePolicyTemplatesRequestBuilder @@ -165,7 +165,7 @@ def governance_policy_templates(self) -> GovernancePolicyTemplatesRequestBuilder @property def governance_relationships(self) -> GovernanceRelationshipsRequestBuilder: """ - Provides operations to manage the governanceRelationships property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + Provides operations to manage the governanceRelationships property of the microsoft.graph.tenantGovernance entity. """ from .governance_relationships.governance_relationships_request_builder import GovernanceRelationshipsRequestBuilder @@ -174,7 +174,7 @@ def governance_relationships(self) -> GovernanceRelationshipsRequestBuilder: @property def governance_requests(self) -> GovernanceRequestsRequestBuilder: """ - Provides operations to manage the governanceRequests property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + Provides operations to manage the governanceRequests property of the microsoft.graph.tenantGovernance entity. """ from .governance_requests.governance_requests_request_builder import GovernanceRequestsRequestBuilder @@ -183,7 +183,7 @@ def governance_requests(self) -> GovernanceRequestsRequestBuilder: @property def related_tenants(self) -> RelatedTenantsRequestBuilder: """ - Provides operations to manage the relatedTenants property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + Provides operations to manage the relatedTenants property of the microsoft.graph.tenantGovernance entity. """ from .related_tenants.related_tenants_request_builder import RelatedTenantsRequestBuilder @@ -192,7 +192,7 @@ def related_tenants(self) -> RelatedTenantsRequestBuilder: @property def settings(self) -> SettingsRequestBuilder: """ - Provides operations to manage the settings property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity. + Provides operations to manage the settings property of the microsoft.graph.tenantGovernance entity. """ from .settings.settings_request_builder import SettingsRequestBuilder diff --git a/msgraph_beta/generated/drives/item/items/item/assign_sensitivity_label/assign_sensitivity_label_post_request_body.py b/msgraph_beta/generated/drives/item/items/item/assign_sensitivity_label/assign_sensitivity_label_post_request_body.py index cae57abd7eb..6866813ddbe 100644 --- a/msgraph_beta/generated/drives/item/items/item/assign_sensitivity_label/assign_sensitivity_label_post_request_body.py +++ b/msgraph_beta/generated/drives/item/items/item/assign_sensitivity_label/assign_sensitivity_label_post_request_body.py @@ -7,6 +7,7 @@ if TYPE_CHECKING: from ......models.sensitivity_label_assignment_method import SensitivityLabelAssignmentMethod + from ......models.user_identity import UserIdentity @dataclass class AssignSensitivityLabelPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): @@ -15,6 +16,8 @@ class AssignSensitivityLabelPostRequestBody(AdditionalDataHolder, BackedModel, P # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) + # The appliedByUser property + applied_by_user: Optional[UserIdentity] = None # The assignmentMethod property assignment_method: Optional[SensitivityLabelAssignmentMethod] = None # The justificationText property @@ -39,10 +42,13 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: Returns: dict[str, Callable[[ParseNode], None]] """ from ......models.sensitivity_label_assignment_method import SensitivityLabelAssignmentMethod + from ......models.user_identity import UserIdentity from ......models.sensitivity_label_assignment_method import SensitivityLabelAssignmentMethod + from ......models.user_identity import UserIdentity fields: dict[str, Callable[[Any], None]] = { + "appliedByUser": lambda n : setattr(self, 'applied_by_user', n.get_object_value(UserIdentity)), "assignmentMethod": lambda n : setattr(self, 'assignment_method', n.get_enum_value(SensitivityLabelAssignmentMethod)), "justificationText": lambda n : setattr(self, 'justification_text', n.get_str_value()), "sensitivityLabelId": lambda n : setattr(self, 'sensitivity_label_id', n.get_str_value()), @@ -57,6 +63,7 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + writer.write_object_value("appliedByUser", self.applied_by_user) writer.write_enum_value("assignmentMethod", self.assignment_method) writer.write_str_value("justificationText", self.justification_text) writer.write_str_value("sensitivityLabelId", self.sensitivity_label_id) diff --git a/msgraph_beta/generated/employee_experience/communities/communities_request_builder.py b/msgraph_beta/generated/employee_experience/communities/communities_request_builder.py index 4472662b198..8b418866be5 100644 --- a/msgraph_beta/generated/employee_experience/communities/communities_request_builder.py +++ b/msgraph_beta/generated/employee_experience/communities/communities_request_builder.py @@ -17,7 +17,6 @@ from ...models.community import Community from ...models.community_collection_response import CommunityCollectionResponse from ...models.o_data_errors.o_data_error import ODataError - from .count.count_request_builder import CountRequestBuilder from .item.community_item_request_builder import CommunityItemRequestBuilder class CommunitiesRequestBuilder(BaseRequestBuilder): @@ -128,15 +127,6 @@ def with_url(self,raw_url: str) -> CommunitiesRequestBuilder: raise TypeError("raw_url cannot be null.") return CommunitiesRequestBuilder(self.request_adapter, raw_url) - @property - def count(self) -> CountRequestBuilder: - """ - Provides operations to count the resources in the collection. - """ - from .count.count_request_builder import CountRequestBuilder - - return CountRequestBuilder(self.request_adapter, self.path_parameters) - @dataclass class CommunitiesRequestBuilderGetQueryParameters(): """ diff --git a/msgraph_beta/generated/employee_experience/engagement_async_operations/engagement_async_operations_request_builder.py b/msgraph_beta/generated/employee_experience/engagement_async_operations/engagement_async_operations_request_builder.py index 8978b5334ec..5a35d7f06c4 100644 --- a/msgraph_beta/generated/employee_experience/engagement_async_operations/engagement_async_operations_request_builder.py +++ b/msgraph_beta/generated/employee_experience/engagement_async_operations/engagement_async_operations_request_builder.py @@ -14,10 +14,8 @@ from warnings import warn if TYPE_CHECKING: - from ...models.engagement_async_operation import EngagementAsyncOperation from ...models.engagement_async_operation_collection_response import EngagementAsyncOperationCollectionResponse from ...models.o_data_errors.o_data_error import ODataError - from .count.count_request_builder import CountRequestBuilder from .item.engagement_async_operation_item_request_builder import EngagementAsyncOperationItemRequestBuilder class EngagementAsyncOperationsRequestBuilder(BaseRequestBuilder): @@ -67,29 +65,6 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Engageme return await self.request_adapter.send_async(request_info, EngagementAsyncOperationCollectionResponse, error_mapping) - async def post(self,body: EngagementAsyncOperation, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[EngagementAsyncOperation]: - """ - Create new navigation property to engagementAsyncOperations for employeeExperience - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[EngagementAsyncOperation] - """ - if body is None: - raise TypeError("body cannot be null.") - request_info = self.to_post_request_information( - body, request_configuration - ) - from ...models.o_data_errors.o_data_error import ODataError - - error_mapping: dict[str, type[ParsableFactory]] = { - "XXX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - from ...models.engagement_async_operation import EngagementAsyncOperation - - return await self.request_adapter.send_async(request_info, EngagementAsyncOperation, error_mapping) - def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[EngagementAsyncOperationsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ Get an engagementAsyncOperation to track a long-running operation request. @@ -101,21 +76,6 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi request_info.headers.try_add("Accept", "application/json") return request_info - def to_post_request_information(self,body: EngagementAsyncOperation, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: - """ - Create new navigation property to engagementAsyncOperations for employeeExperience - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - if body is None: - raise TypeError("body cannot be null.") - request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) - request_info.configure(request_configuration) - request_info.headers.try_add("Accept", "application/json") - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) - return request_info - def with_url(self,raw_url: str) -> EngagementAsyncOperationsRequestBuilder: """ Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. @@ -126,15 +86,6 @@ def with_url(self,raw_url: str) -> EngagementAsyncOperationsRequestBuilder: raise TypeError("raw_url cannot be null.") return EngagementAsyncOperationsRequestBuilder(self.request_adapter, raw_url) - @property - def count(self) -> CountRequestBuilder: - """ - Provides operations to count the resources in the collection. - """ - from .count.count_request_builder import CountRequestBuilder - - return CountRequestBuilder(self.request_adapter, self.path_parameters) - @dataclass class EngagementAsyncOperationsRequestBuilderGetQueryParameters(): """ @@ -198,11 +149,4 @@ class EngagementAsyncOperationsRequestBuilderGetRequestConfiguration(RequestConf """ warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) - @dataclass - class EngagementAsyncOperationsRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) - diff --git a/msgraph_beta/generated/employee_experience/engagement_async_operations/item/engagement_async_operation_item_request_builder.py b/msgraph_beta/generated/employee_experience/engagement_async_operations/item/engagement_async_operation_item_request_builder.py index 4972d120658..06e089368ab 100644 --- a/msgraph_beta/generated/employee_experience/engagement_async_operations/item/engagement_async_operation_item_request_builder.py +++ b/msgraph_beta/generated/employee_experience/engagement_async_operations/item/engagement_async_operation_item_request_builder.py @@ -30,24 +30,6 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d """ super().__init__(request_adapter, "{+baseurl}/employeeExperience/engagementAsyncOperations/{engagementAsyncOperation%2Did}{?%24expand,%24select}", path_parameters) - async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: - """ - Delete navigation property engagementAsyncOperations for employeeExperience - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: None - """ - request_info = self.to_delete_request_information( - request_configuration - ) - from ....models.o_data_errors.o_data_error import ODataError - - error_mapping: dict[str, type[ParsableFactory]] = { - "XXX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) - async def get(self,request_configuration: Optional[RequestConfiguration[EngagementAsyncOperationItemRequestBuilderGetQueryParameters]] = None) -> Optional[EngagementAsyncOperation]: """ Get an engagementAsyncOperation to track a long-running operation request. @@ -69,40 +51,6 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Engageme return await self.request_adapter.send_async(request_info, EngagementAsyncOperation, error_mapping) - async def patch(self,body: EngagementAsyncOperation, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[EngagementAsyncOperation]: - """ - Update the navigation property engagementAsyncOperations in employeeExperience - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[EngagementAsyncOperation] - """ - if body is None: - raise TypeError("body cannot be null.") - request_info = self.to_patch_request_information( - body, request_configuration - ) - from ....models.o_data_errors.o_data_error import ODataError - - error_mapping: dict[str, type[ParsableFactory]] = { - "XXX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - from ....models.engagement_async_operation import EngagementAsyncOperation - - return await self.request_adapter.send_async(request_info, EngagementAsyncOperation, error_mapping) - - def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: - """ - Delete navigation property engagementAsyncOperations for employeeExperience - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) - request_info.configure(request_configuration) - request_info.headers.try_add("Accept", "application/json") - return request_info - def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[EngagementAsyncOperationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ Get an engagementAsyncOperation to track a long-running operation request. @@ -114,21 +62,6 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi request_info.headers.try_add("Accept", "application/json") return request_info - def to_patch_request_information(self,body: EngagementAsyncOperation, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: - """ - Update the navigation property engagementAsyncOperations in employeeExperience - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - if body is None: - raise TypeError("body cannot be null.") - request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) - request_info.configure(request_configuration) - request_info.headers.try_add("Accept", "application/json") - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) - return request_info - def with_url(self,raw_url: str) -> EngagementAsyncOperationItemRequestBuilder: """ Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. @@ -139,13 +72,6 @@ def with_url(self,raw_url: str) -> EngagementAsyncOperationItemRequestBuilder: raise TypeError("raw_url cannot be null.") return EngagementAsyncOperationItemRequestBuilder(self.request_adapter, raw_url) - @dataclass - class EngagementAsyncOperationItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) - @dataclass class EngagementAsyncOperationItemRequestBuilderGetQueryParameters(): """ @@ -179,11 +105,4 @@ class EngagementAsyncOperationItemRequestBuilderGetRequestConfiguration(RequestC """ warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) - @dataclass - class EngagementAsyncOperationItemRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) - diff --git a/msgraph_beta/generated/employee_experience/roles/item/engagement_role_item_request_builder.py b/msgraph_beta/generated/employee_experience/roles/item/engagement_role_item_request_builder.py index e39e8b4051f..9a0cc1c0d14 100644 --- a/msgraph_beta/generated/employee_experience/roles/item/engagement_role_item_request_builder.py +++ b/msgraph_beta/generated/employee_experience/roles/item/engagement_role_item_request_builder.py @@ -31,24 +31,6 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d """ super().__init__(request_adapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}{?%24expand,%24select}", path_parameters) - async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: - """ - Delete navigation property roles for employeeExperience - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: None - """ - request_info = self.to_delete_request_information( - request_configuration - ) - from ....models.o_data_errors.o_data_error import ODataError - - error_mapping: dict[str, type[ParsableFactory]] = { - "XXX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) - async def get(self,request_configuration: Optional[RequestConfiguration[EngagementRoleItemRequestBuilderGetQueryParameters]] = None) -> Optional[EngagementRole]: """ A collection of roles in Viva Engage. @@ -69,40 +51,6 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Engageme return await self.request_adapter.send_async(request_info, EngagementRole, error_mapping) - async def patch(self,body: EngagementRole, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[EngagementRole]: - """ - Update the navigation property roles in employeeExperience - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[EngagementRole] - """ - if body is None: - raise TypeError("body cannot be null.") - request_info = self.to_patch_request_information( - body, request_configuration - ) - from ....models.o_data_errors.o_data_error import ODataError - - error_mapping: dict[str, type[ParsableFactory]] = { - "XXX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - from ....models.engagement_role import EngagementRole - - return await self.request_adapter.send_async(request_info, EngagementRole, error_mapping) - - def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: - """ - Delete navigation property roles for employeeExperience - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) - request_info.configure(request_configuration) - request_info.headers.try_add("Accept", "application/json") - return request_info - def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[EngagementRoleItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ A collection of roles in Viva Engage. @@ -114,21 +62,6 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi request_info.headers.try_add("Accept", "application/json") return request_info - def to_patch_request_information(self,body: EngagementRole, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: - """ - Update the navigation property roles in employeeExperience - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - if body is None: - raise TypeError("body cannot be null.") - request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) - request_info.configure(request_configuration) - request_info.headers.try_add("Accept", "application/json") - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) - return request_info - def with_url(self,raw_url: str) -> EngagementRoleItemRequestBuilder: """ Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. @@ -148,13 +81,6 @@ def members(self) -> MembersRequestBuilder: return MembersRequestBuilder(self.request_adapter, self.path_parameters) - @dataclass - class EngagementRoleItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) - @dataclass class EngagementRoleItemRequestBuilderGetQueryParameters(): """ @@ -188,11 +114,4 @@ class EngagementRoleItemRequestBuilderGetRequestConfiguration(RequestConfigurati """ warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) - @dataclass - class EngagementRoleItemRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) - diff --git a/msgraph_beta/generated/employee_experience/roles/item/members/item/engagement_role_member_item_request_builder.py b/msgraph_beta/generated/employee_experience/roles/item/members/item/engagement_role_member_item_request_builder.py index 2e43c168d6b..fee7cd97c1d 100644 --- a/msgraph_beta/generated/employee_experience/roles/item/members/item/engagement_role_member_item_request_builder.py +++ b/msgraph_beta/generated/employee_experience/roles/item/members/item/engagement_role_member_item_request_builder.py @@ -70,29 +70,6 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Engageme return await self.request_adapter.send_async(request_info, EngagementRoleMember, error_mapping) - async def patch(self,body: EngagementRoleMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[EngagementRoleMember]: - """ - Update the navigation property members in employeeExperience - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[EngagementRoleMember] - """ - if body is None: - raise TypeError("body cannot be null.") - request_info = self.to_patch_request_information( - body, request_configuration - ) - from ......models.o_data_errors.o_data_error import ODataError - - error_mapping: dict[str, type[ParsableFactory]] = { - "XXX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - from ......models.engagement_role_member import EngagementRoleMember - - return await self.request_adapter.send_async(request_info, EngagementRoleMember, error_mapping) - def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ Delete a Viva Engage role from a user. @@ -115,21 +92,6 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi request_info.headers.try_add("Accept", "application/json") return request_info - def to_patch_request_information(self,body: EngagementRoleMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: - """ - Update the navigation property members in employeeExperience - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - if body is None: - raise TypeError("body cannot be null.") - request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) - request_info.configure(request_configuration) - request_info.headers.try_add("Accept", "application/json") - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) - return request_info - def with_url(self,raw_url: str) -> EngagementRoleMemberItemRequestBuilder: """ Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. @@ -189,11 +151,4 @@ class EngagementRoleMemberItemRequestBuilderGetRequestConfiguration(RequestConfi """ warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) - @dataclass - class EngagementRoleMemberItemRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) - diff --git a/msgraph_beta/generated/employee_experience/roles/roles_request_builder.py b/msgraph_beta/generated/employee_experience/roles/roles_request_builder.py index e31628825e5..5c1edd01e44 100644 --- a/msgraph_beta/generated/employee_experience/roles/roles_request_builder.py +++ b/msgraph_beta/generated/employee_experience/roles/roles_request_builder.py @@ -14,10 +14,8 @@ from warnings import warn if TYPE_CHECKING: - from ...models.engagement_role import EngagementRole from ...models.engagement_role_collection_response import EngagementRoleCollectionResponse from ...models.o_data_errors.o_data_error import ODataError - from .count.count_request_builder import CountRequestBuilder from .item.engagement_role_item_request_builder import EngagementRoleItemRequestBuilder class RolesRequestBuilder(BaseRequestBuilder): @@ -68,29 +66,6 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RolesReq return await self.request_adapter.send_async(request_info, EngagementRoleCollectionResponse, error_mapping) - async def post(self,body: EngagementRole, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[EngagementRole]: - """ - Create new navigation property to roles for employeeExperience - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[EngagementRole] - """ - if body is None: - raise TypeError("body cannot be null.") - request_info = self.to_post_request_information( - body, request_configuration - ) - from ...models.o_data_errors.o_data_error import ODataError - - error_mapping: dict[str, type[ParsableFactory]] = { - "XXX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - from ...models.engagement_role import EngagementRole - - return await self.request_adapter.send_async(request_info, EngagementRole, error_mapping) - def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RolesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ Get a list of all the roles that can be assigned in Viva Engage. @@ -102,21 +77,6 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi request_info.headers.try_add("Accept", "application/json") return request_info - def to_post_request_information(self,body: EngagementRole, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: - """ - Create new navigation property to roles for employeeExperience - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - if body is None: - raise TypeError("body cannot be null.") - request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) - request_info.configure(request_configuration) - request_info.headers.try_add("Accept", "application/json") - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) - return request_info - def with_url(self,raw_url: str) -> RolesRequestBuilder: """ Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. @@ -127,15 +87,6 @@ def with_url(self,raw_url: str) -> RolesRequestBuilder: raise TypeError("raw_url cannot be null.") return RolesRequestBuilder(self.request_adapter, raw_url) - @property - def count(self) -> CountRequestBuilder: - """ - Provides operations to count the resources in the collection. - """ - from .count.count_request_builder import CountRequestBuilder - - return CountRequestBuilder(self.request_adapter, self.path_parameters) - @dataclass class RolesRequestBuilderGetQueryParameters(): """ @@ -199,11 +150,4 @@ class RolesRequestBuilderGetRequestConfiguration(RequestConfiguration[RolesReque """ warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) - @dataclass - class RolesRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) - diff --git a/msgraph_beta/generated/identity_governance/access_reviews/access_reviews_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/access_reviews_request_builder.py index 598486d2453..70ccfba4900 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/access_reviews_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/access_reviews_request_builder.py @@ -42,6 +42,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -60,6 +61,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewSet] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,6 +83,7 @@ async def patch(self,body: AccessReviewSet, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewSet] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,6 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -114,6 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,6 +131,7 @@ def to_patch_request_information(self,body: AccessReviewSet, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,6 +146,7 @@ def with_url(self,raw_url: str) -> AccessReviewsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessReviewsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessReviewsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/decisions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/decisions/count/count_request_builder.py index 110efa49884..297bb43e746 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/decisions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/decisions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/decisions/decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/decisions/decisions_request_builder.py index eb9a3cea395..6689c89ef9f 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/decisions/decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/decisions/decisions_request_builder.py @@ -41,6 +41,7 @@ def by_access_review_instance_decision_item_id(self,access_review_instance_decis param access_review_instance_decision_item_id: The unique identifier of accessReviewInstanceDecisionItem Returns: AccessReviewInstanceDecisionItemItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_review_instance_decision_item_id is None: raise TypeError("access_review_instance_decision_item_id cannot be null.") from .item.access_review_instance_decision_item_item_request_builder import AccessReviewInstanceDecisionItemItemRequestBuilder @@ -55,6 +56,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -67,6 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Decision param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItemCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -88,6 +91,7 @@ async def post(self,body: AccessReviewInstanceDecisionItem, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItem] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_post_request_information(self,body: AccessReviewInstanceDecisionItem, req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> DecisionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index e0ff21e5f8a..661dca79713 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/decisions/item/access_review_instance_decision_item_item_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/decisions/item/access_review_instance_decision_item_item_request_builder.py index 0817e28761d..76d41a83455 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/decisions/item/access_review_instance_decision_item_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/decisions/item/access_review_instance_decision_item_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItem] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: AccessReviewInstanceDecisionItem, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItem] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: AccessReviewInstanceDecisionItem, re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> AccessReviewInstanceDecisionItemItemRequestBu param raw_url: The raw URL to use for the request builder. Returns: AccessReviewInstanceDecisionItemItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessReviewInstanceDecisionItemItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/decisions/item/insights/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/decisions/item/insights/count/count_request_builder.py index 4d64a219eb2..c85f61b320e 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/decisions/item/insights/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/decisions/item/insights/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/decisions/item/insights/insights_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/decisions/item/insights/insights_request_builder.py index a805717daa4..164d3d409e3 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/decisions/item/insights/insights_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/decisions/item/insights/insights_request_builder.py @@ -39,6 +39,7 @@ def by_governance_insight_id(self,governance_insight_id: str) -> GovernanceInsig param governance_insight_id: The unique identifier of governanceInsight Returns: GovernanceInsightItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if governance_insight_id is None: raise TypeError("governance_insight_id cannot be null.") from .item.governance_insight_item_request_builder import GovernanceInsightItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Insights param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceInsightCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: GovernanceInsight, request_configuration: Optional[Req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceInsight] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: GovernanceInsight, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> InsightsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: InsightsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return InsightsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/decisions/item/insights/item/governance_insight_item_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/decisions/item/insights/item/governance_insight_item_request_builder.py index 8b74e2fb9d3..aa387cba718 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/decisions/item/insights/item/governance_insight_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/decisions/item/insights/item/governance_insight_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Governan param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceInsight] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: GovernanceInsight, request_configuration: Optional[Re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceInsight] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: GovernanceInsight, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> GovernanceInsightItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GovernanceInsightItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GovernanceInsightItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/decisions/record_all_decisions/record_all_decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/decisions/record_all_decisions/record_all_decisions_request_builder.py index b124110c33c..2f45c89c826 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/decisions/record_all_decisions/record_all_decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/decisions/record_all_decisions/record_all_decisions_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: RecordAllDecisionsPostRequestBody, request_configurati Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-recordalldecisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: RecordAllDecisionsPostRequestBody, re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> RecordAllDecisionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RecordAllDecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RecordAllDecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/count/count_request_builder.py index 542e12448e4..63462ea14ad 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/definitions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/definitions_request_builder.py index 994942108e5..c09327c2001 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/definitions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/definitions_request_builder.py @@ -40,6 +40,7 @@ def by_access_review_schedule_definition_id(self,access_review_schedule_definiti param access_review_schedule_definition_id: The unique identifier of accessReviewScheduleDefinition Returns: AccessReviewScheduleDefinitionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_review_schedule_definition_id is None: raise TypeError("access_review_schedule_definition_id cannot be null.") from .item.access_review_schedule_definition_item_request_builder import AccessReviewScheduleDefinitionItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -67,6 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Definiti Returns: Optional[AccessReviewScheduleDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreviewset-list-definitions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -89,6 +92,7 @@ async def post(self,body: AccessReviewScheduleDefinition, request_configuration: Returns: Optional[AccessReviewScheduleDefinition] Find more info here: https://learn.microsoft.com/graph/api/accessreviewset-post-definitions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -111,6 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -123,6 +128,7 @@ def to_post_request_information(self,body: AccessReviewScheduleDefinition, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -137,6 +143,7 @@ def with_url(self,raw_url: str) -> DefinitionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DefinitionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DefinitionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 1225e27c26c..9be9f9cc9ab 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreviewscheduledefinition-filterbycurrentuser?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/access_review_schedule_definition_item_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/access_review_schedule_definition_item_request_builder.py index 92b9e0db21c..1b3e01024ad 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/access_review_schedule_definition_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/access_review_schedule_definition_item_request_builder.py @@ -39,6 +39,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewscheduledefinition-delete?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,6 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessRe Returns: Optional[AccessReviewScheduleDefinition] Find more info here: https://learn.microsoft.com/graph/api/accessreviewscheduledefinition-get?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,6 +82,7 @@ async def put(self,body: AccessReviewScheduleDefinition, request_configuration: Returns: Optional[AccessReviewScheduleDefinition] Find more info here: https://learn.microsoft.com/graph/api/accessreviewscheduledefinition-update?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_put_request_information( @@ -102,6 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,6 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,6 +130,7 @@ def to_put_request_information(self,body: AccessReviewScheduleDefinition, reques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PUT, self.url_template, self.path_parameters) @@ -139,6 +145,7 @@ def with_url(self,raw_url: str) -> AccessReviewScheduleDefinitionItemRequestBuil param raw_url: The raw URL to use for the request builder. Returns: AccessReviewScheduleDefinitionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessReviewScheduleDefinitionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/count/count_request_builder.py index bad6ddb47e5..e36e1de28ca 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 76d52aa389c..c8fde822a5c 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-filterbycurrentuser?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/instances_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/instances_request_builder.py index 0df42c586ca..6b479bd3b03 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/instances_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/instances_request_builder.py @@ -40,6 +40,7 @@ def by_access_review_instance_id(self,access_review_instance_id: str) -> AccessR param access_review_instance_id: The unique identifier of accessReviewInstance Returns: AccessReviewInstanceItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_review_instance_id is None: raise TypeError("access_review_instance_id cannot be null.") from .item.access_review_instance_item_request_builder import AccessReviewInstanceItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -67,6 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Instance Returns: Optional[AccessReviewInstanceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreviewscheduledefinition-list-instances?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -88,6 +91,7 @@ async def post(self,body: AccessReviewInstance, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstance] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_post_request_information(self,body: AccessReviewInstance, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> InstancesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: InstancesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return InstancesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/accept_recommendations/accept_recommendations_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/accept_recommendations/accept_recommendations_request_builder.py index 39df9ec9532..ea8a0f04476 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/accept_recommendations/accept_recommendations_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/accept_recommendations/accept_recommendations_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-acceptrecommendations?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> AcceptRecommendationsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AcceptRecommendationsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AcceptRecommendationsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/access_review_instance_item_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/access_review_instance_item_request_builder.py index 714264c7f61..43e39ddc43a 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/access_review_instance_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/access_review_instance_item_request_builder.py @@ -48,6 +48,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -67,6 +68,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessRe Returns: Optional[AccessReviewInstance] Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-get?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -89,6 +91,7 @@ async def patch(self,body: AccessReviewInstance, request_configuration: Optional Returns: Optional[AccessReviewInstance] Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-update?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -111,6 +114,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -134,6 +139,7 @@ def to_patch_request_information(self,body: AccessReviewInstance, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -148,6 +154,7 @@ def with_url(self,raw_url: str) -> AccessReviewInstanceItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessReviewInstanceItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessReviewInstanceItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/apply_decisions/apply_decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/apply_decisions/apply_decisions_request_builder.py index 2a6947f4137..4ae1e1e4954 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/apply_decisions/apply_decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/apply_decisions/apply_decisions_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-applydecisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> ApplyDecisionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ApplyDecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ApplyDecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/batch_apply_custom_data_provided_resource_decisions/batch_apply_custom_data_provided_resource_decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/batch_apply_custom_data_provided_resource_decisions/batch_apply_custom_data_provided_resource_decisions_request_builder.py index 276c9a70023..1c938454a09 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/batch_apply_custom_data_provided_resource_decisions/batch_apply_custom_data_provided_resource_decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/batch_apply_custom_data_provided_resource_decisions/batch_apply_custom_data_provided_resource_decisions_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: BatchApplyCustomDataProvidedResourceDecisionsPostReque Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-batchapplycustomdataprovidedresourcedecisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: BatchApplyCustomDataProvidedResourceD param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> BatchApplyCustomDataProvidedResourceDecisions param raw_url: The raw URL to use for the request builder. Returns: BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/batch_record_decisions/batch_record_decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/batch_record_decisions/batch_record_decisions_request_builder.py index ff9b32c3d02..1b84524363f 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/batch_record_decisions/batch_record_decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/batch_record_decisions/batch_record_decisions_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: BatchRecordDecisionsPostRequestBody, request_configura Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-batchrecorddecisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: BatchRecordDecisionsPostRequestBody, param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> BatchRecordDecisionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BatchRecordDecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BatchRecordDecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/contacted_reviewers/contacted_reviewers_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/contacted_reviewers/contacted_reviewers_request_builder.py index 27df08b4a8d..8856d6986b2 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/contacted_reviewers/contacted_reviewers_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/contacted_reviewers/contacted_reviewers_request_builder.py @@ -39,6 +39,7 @@ def by_access_review_reviewer_id(self,access_review_reviewer_id: str) -> AccessR param access_review_reviewer_id: The unique identifier of accessReviewReviewer Returns: AccessReviewReviewerItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_review_reviewer_id is None: raise TypeError("access_review_reviewer_id cannot be null.") from .item.access_review_reviewer_item_request_builder import AccessReviewReviewerItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Contacte Returns: Optional[AccessReviewReviewerCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-list-contactedreviewers?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: AccessReviewReviewer, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewReviewer] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: AccessReviewReviewer, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> ContactedReviewersRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ContactedReviewersRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ContactedReviewersRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/contacted_reviewers/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/contacted_reviewers/count/count_request_builder.py index cd5d812ad3f..a9888004c5c 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/contacted_reviewers/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/contacted_reviewers/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/contacted_reviewers/item/access_review_reviewer_item_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/contacted_reviewers/item/access_review_reviewer_item_request_builder.py index be4f9268e37..710074ddaaf 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/contacted_reviewers/item/access_review_reviewer_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/contacted_reviewers/item/access_review_reviewer_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewReviewer] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AccessReviewReviewer, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewReviewer] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: AccessReviewReviewer, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> AccessReviewReviewerItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessReviewReviewerItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessReviewReviewerItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/count/count_request_builder.py index a7a89a35438..ca4cad3e723 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/decisions_request_builder.py index c74a17d04c0..af32de6d459 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/decisions_request_builder.py @@ -41,6 +41,7 @@ def by_access_review_instance_decision_item_id(self,access_review_instance_decis param access_review_instance_decision_item_id: The unique identifier of accessReviewInstanceDecisionItem Returns: AccessReviewInstanceDecisionItemItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_review_instance_decision_item_id is None: raise TypeError("access_review_instance_decision_item_id cannot be null.") from .item.access_review_instance_decision_item_item_request_builder import AccessReviewInstanceDecisionItemItemRequestBuilder @@ -55,6 +56,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -68,6 +70,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Decision Returns: Optional[AccessReviewInstanceDecisionItemCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -89,6 +92,7 @@ async def post(self,body: AccessReviewInstanceDecisionItem, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItem] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -111,6 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -123,6 +128,7 @@ def to_post_request_information(self,body: AccessReviewInstanceDecisionItem, req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -137,6 +143,7 @@ def with_url(self,raw_url: str) -> DecisionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 3e8d8ecbb9b..b870839bae1 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/item/access_review_instance_decision_item_item_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/item/access_review_instance_decision_item_item_request_builder.py index 6af04381a2a..92176590957 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/item/access_review_instance_decision_item_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/item/access_review_instance_decision_item_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessRe Returns: Optional[AccessReviewInstanceDecisionItem] Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-get?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def patch(self,body: AccessReviewInstanceDecisionItem, request_configurati Returns: Optional[AccessReviewInstanceDecisionItem] Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-update?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,6 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,6 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -124,6 +129,7 @@ def to_patch_request_information(self,body: AccessReviewInstanceDecisionItem, re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -138,6 +144,7 @@ def with_url(self,raw_url: str) -> AccessReviewInstanceDecisionItemItemRequestBu param raw_url: The raw URL to use for the request builder. Returns: AccessReviewInstanceDecisionItemItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessReviewInstanceDecisionItemItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/item/insights/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/item/insights/count/count_request_builder.py index c37748d1d5a..d1b3da29800 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/item/insights/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/item/insights/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/item/insights/insights_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/item/insights/insights_request_builder.py index 257d4ae5801..09d3ff2895c 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/item/insights/insights_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/item/insights/insights_request_builder.py @@ -39,6 +39,7 @@ def by_governance_insight_id(self,governance_insight_id: str) -> GovernanceInsig param governance_insight_id: The unique identifier of governanceInsight Returns: GovernanceInsightItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if governance_insight_id is None: raise TypeError("governance_insight_id cannot be null.") from .item.governance_insight_item_request_builder import GovernanceInsightItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Insights param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceInsightCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: GovernanceInsight, request_configuration: Optional[Req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceInsight] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: GovernanceInsight, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> InsightsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: InsightsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return InsightsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/item/insights/item/governance_insight_item_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/item/insights/item/governance_insight_item_request_builder.py index 4520c0abe4f..df71b6744c4 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/item/insights/item/governance_insight_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/item/insights/item/governance_insight_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Governan param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceInsight] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: GovernanceInsight, request_configuration: Optional[Re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceInsight] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: GovernanceInsight, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> GovernanceInsightItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GovernanceInsightItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GovernanceInsightItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/record_all_decisions/record_all_decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/record_all_decisions/record_all_decisions_request_builder.py index 9176bc90afd..ed7d349040f 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/record_all_decisions/record_all_decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/decisions/record_all_decisions/record_all_decisions_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: RecordAllDecisionsPostRequestBody, request_configurati Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-recordalldecisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: RecordAllDecisionsPostRequestBody, re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> RecordAllDecisionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RecordAllDecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RecordAllDecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/definition/definition_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/definition/definition_request_builder.py index 2fba8cee466..d868e54f5a2 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/definition/definition_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/definition/definition_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Definiti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewScheduleDefinition] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> DefinitionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DefinitionRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DefinitionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/reset_decisions/reset_decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/reset_decisions/reset_decisions_request_builder.py index 91010207f5e..5d15cfc9ed0 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/reset_decisions/reset_decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/reset_decisions/reset_decisions_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-resetdecisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> ResetDecisionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ResetDecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ResetDecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/send_reminder/send_reminder_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/send_reminder/send_reminder_request_builder.py index f55a607733d..07eebf8cd95 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/send_reminder/send_reminder_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/send_reminder/send_reminder_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-sendreminder?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> SendReminderRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SendReminderRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SendReminderRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/count/count_request_builder.py index f63f737417c..fb10b7b96a0 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 58a05c5aaf7..7f82b6f9870 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreviewstage-filterbycurrentuser?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/accept_recommendations/accept_recommendations_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/accept_recommendations/accept_recommendations_request_builder.py index 35082fb700b..632a9e4df88 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/accept_recommendations/accept_recommendations_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/accept_recommendations/accept_recommendations_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewstage-acceptrecommendations?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> AcceptRecommendationsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AcceptRecommendationsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AcceptRecommendationsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/access_review_stage_item_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/access_review_stage_item_request_builder.py index f2f389f2cb9..0fd765554cd 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/access_review_stage_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/access_review_stage_item_request_builder.py @@ -40,6 +40,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,6 +60,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessRe Returns: Optional[AccessReviewStage] Find more info here: https://learn.microsoft.com/graph/api/accessreviewstage-get?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,6 +83,7 @@ async def patch(self,body: AccessReviewStage, request_configuration: Optional[Re Returns: Optional[AccessReviewStage] Find more info here: https://learn.microsoft.com/graph/api/accessreviewstage-update?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,6 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -114,6 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,6 +131,7 @@ def to_patch_request_information(self,body: AccessReviewStage, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,6 +146,7 @@ def with_url(self,raw_url: str) -> AccessReviewStageItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessReviewStageItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessReviewStageItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/batch_record_decisions/batch_record_decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/batch_record_decisions/batch_record_decisions_request_builder.py index 74e3e7c1579..93c281082e8 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/batch_record_decisions/batch_record_decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/batch_record_decisions/batch_record_decisions_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: BatchRecordDecisionsPostRequestBody, request_configura Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewstage-batchrecorddecisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: BatchRecordDecisionsPostRequestBody, param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> BatchRecordDecisionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BatchRecordDecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BatchRecordDecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/count/count_request_builder.py index 36071cdcc6e..26042f21f4b 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/decisions_request_builder.py index 662bd7faaf0..78964f62ff9 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/decisions_request_builder.py @@ -41,6 +41,7 @@ def by_access_review_instance_decision_item_id(self,access_review_instance_decis param access_review_instance_decision_item_id: The unique identifier of accessReviewInstanceDecisionItem Returns: AccessReviewInstanceDecisionItemItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_review_instance_decision_item_id is None: raise TypeError("access_review_instance_decision_item_id cannot be null.") from .item.access_review_instance_decision_item_item_request_builder import AccessReviewInstanceDecisionItemItemRequestBuilder @@ -55,6 +56,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -68,6 +70,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Decision Returns: Optional[AccessReviewInstanceDecisionItemCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreviewstage-list-decisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -89,6 +92,7 @@ async def post(self,body: AccessReviewInstanceDecisionItem, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItem] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -111,6 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -123,6 +128,7 @@ def to_post_request_information(self,body: AccessReviewInstanceDecisionItem, req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -137,6 +143,7 @@ def with_url(self,raw_url: str) -> DecisionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index d85f4b472ed..6ed01aec1de 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/item/access_review_instance_decision_item_item_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/item/access_review_instance_decision_item_item_request_builder.py index 3e9f2d6f375..7c7843abc2e 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/item/access_review_instance_decision_item_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/item/access_review_instance_decision_item_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessRe Returns: Optional[AccessReviewInstanceDecisionItem] Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-get?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def patch(self,body: AccessReviewInstanceDecisionItem, request_configurati Returns: Optional[AccessReviewInstanceDecisionItem] Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-update?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,6 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,6 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -124,6 +129,7 @@ def to_patch_request_information(self,body: AccessReviewInstanceDecisionItem, re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -138,6 +144,7 @@ def with_url(self,raw_url: str) -> AccessReviewInstanceDecisionItemItemRequestBu param raw_url: The raw URL to use for the request builder. Returns: AccessReviewInstanceDecisionItemItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessReviewInstanceDecisionItemItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/item/insights/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/item/insights/count/count_request_builder.py index 6618b0b6d81..5f1cc654c8a 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/item/insights/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/item/insights/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/item/insights/insights_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/item/insights/insights_request_builder.py index dcbfd847f9a..7babbee3622 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/item/insights/insights_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/item/insights/insights_request_builder.py @@ -39,6 +39,7 @@ def by_governance_insight_id(self,governance_insight_id: str) -> GovernanceInsig param governance_insight_id: The unique identifier of governanceInsight Returns: GovernanceInsightItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if governance_insight_id is None: raise TypeError("governance_insight_id cannot be null.") from .item.governance_insight_item_request_builder import GovernanceInsightItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Insights param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceInsightCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: GovernanceInsight, request_configuration: Optional[Req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceInsight] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: GovernanceInsight, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> InsightsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: InsightsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return InsightsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/item/insights/item/governance_insight_item_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/item/insights/item/governance_insight_item_request_builder.py index 2e1c7bb067f..d06efc7548f 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/item/insights/item/governance_insight_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/item/insights/item/governance_insight_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Governan param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceInsight] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: GovernanceInsight, request_configuration: Optional[Re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceInsight] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: GovernanceInsight, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> GovernanceInsightItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GovernanceInsightItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GovernanceInsightItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/record_all_decisions/record_all_decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/record_all_decisions/record_all_decisions_request_builder.py index 9a3ef75695f..cc8d2e771f2 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/record_all_decisions/record_all_decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/record_all_decisions/record_all_decisions_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: RecordAllDecisionsPostRequestBody, request_configurati Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-recordalldecisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: RecordAllDecisionsPostRequestBody, re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> RecordAllDecisionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RecordAllDecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RecordAllDecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/stop/stop_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/stop/stop_request_builder.py index acb402b04c7..c3b859d7825 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/stop/stop_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/item/stop/stop_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewstage-stop?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> StopRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: StopRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return StopRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/stages_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/stages_request_builder.py index cf9680826fe..b96c8ef53d3 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/stages_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/stages_request_builder.py @@ -40,6 +40,7 @@ def by_access_review_stage_id(self,access_review_stage_id: str) -> AccessReviewS param access_review_stage_id: The unique identifier of accessReviewStage Returns: AccessReviewStageItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_review_stage_id is None: raise TypeError("access_review_stage_id cannot be null.") from .item.access_review_stage_item_request_builder import AccessReviewStageItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -67,6 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[StagesRe Returns: Optional[AccessReviewStageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-list-stages?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -88,6 +91,7 @@ async def post(self,body: AccessReviewStage, request_configuration: Optional[Req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewStage] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_post_request_information(self,body: AccessReviewStage, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> StagesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: StagesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return StagesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stop/stop_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stop/stop_request_builder.py index 8946c4d0b07..4e016d5f41d 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stop/stop_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stop/stop_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-stop?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> StopRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: StopRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return StopRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stop_apply_decisions/stop_apply_decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stop_apply_decisions/stop_apply_decisions_request_builder.py index 42910e299eb..633fa4f82b1 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stop_apply_decisions/stop_apply_decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/instances/item/stop_apply_decisions/stop_apply_decisions_request_builder.py @@ -35,6 +35,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> StopApplyDecisionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: StopApplyDecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return StopApplyDecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/stop/stop_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/stop/stop_request_builder.py index 20326935c82..7efa1238a3a 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/stop/stop_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/definitions/item/stop/stop_request_builder.py @@ -35,6 +35,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> StopRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: StopRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return StopRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/history_definitions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/history_definitions/count/count_request_builder.py index 8b8f1c1d1da..b47cb286838 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/history_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/history_definitions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/history_definitions/history_definitions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/history_definitions/history_definitions_request_builder.py index 78ba9760c7d..17b31318dd0 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/history_definitions/history_definitions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/history_definitions/history_definitions_request_builder.py @@ -39,6 +39,7 @@ def by_access_review_history_definition_id(self,access_review_history_definition param access_review_history_definition_id: The unique identifier of accessReviewHistoryDefinition Returns: AccessReviewHistoryDefinitionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_review_history_definition_id is None: raise TypeError("access_review_history_definition_id cannot be null.") from .item.access_review_history_definition_item_request_builder import AccessReviewHistoryDefinitionItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[HistoryD Returns: Optional[AccessReviewHistoryDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreviewset-list-historydefinitions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def post(self,body: AccessReviewHistoryDefinition, request_configuration: Returns: Optional[AccessReviewHistoryDefinition] Find more info here: https://learn.microsoft.com/graph/api/accessreviewset-post-historydefinitions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -98,6 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_post_request_information(self,body: AccessReviewHistoryDefinition, reques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -124,6 +129,7 @@ def with_url(self,raw_url: str) -> HistoryDefinitionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: HistoryDefinitionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return HistoryDefinitionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/history_definitions/item/access_review_history_definition_item_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/history_definitions/item/access_review_history_definition_item_request_builder.py index 1c576644a3f..44919c57a67 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/history_definitions/item/access_review_history_definition_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/history_definitions/item/access_review_history_definition_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessRe Returns: Optional[AccessReviewHistoryDefinition] Find more info here: https://learn.microsoft.com/graph/api/accessreviewhistorydefinition-get?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: AccessReviewHistoryDefinition, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewHistoryDefinition] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: AccessReviewHistoryDefinition, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> AccessReviewHistoryDefinitionItemRequestBuild param raw_url: The raw URL to use for the request builder. Returns: AccessReviewHistoryDefinitionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessReviewHistoryDefinitionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/history_definitions/item/instances/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/history_definitions/item/instances/count/count_request_builder.py index 1452b6e07aa..02d94a0fb62 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/history_definitions/item/instances/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/history_definitions/item/instances/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/history_definitions/item/instances/instances_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/history_definitions/item/instances/instances_request_builder.py index a1b99f296e9..dcc7a848db3 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/history_definitions/item/instances/instances_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/history_definitions/item/instances/instances_request_builder.py @@ -39,6 +39,7 @@ def by_access_review_history_instance_id(self,access_review_history_instance_id: param access_review_history_instance_id: The unique identifier of accessReviewHistoryInstance Returns: AccessReviewHistoryInstanceItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_review_history_instance_id is None: raise TypeError("access_review_history_instance_id cannot be null.") from .item.access_review_history_instance_item_request_builder import AccessReviewHistoryInstanceItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Instance Returns: Optional[AccessReviewHistoryInstanceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreviewhistorydefinition-list-instances?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: AccessReviewHistoryInstance, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewHistoryInstance] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: AccessReviewHistoryInstance, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> InstancesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: InstancesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return InstancesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/history_definitions/item/instances/item/access_review_history_instance_item_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/history_definitions/item/instances/item/access_review_history_instance_item_request_builder.py index f24925f0666..32f1463c2fa 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/history_definitions/item/instances/item/access_review_history_instance_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/history_definitions/item/instances/item/access_review_history_instance_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewHistoryInstance] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: AccessReviewHistoryInstance, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewHistoryInstance] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: AccessReviewHistoryInstance, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> AccessReviewHistoryInstanceItemRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: AccessReviewHistoryInstanceItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessReviewHistoryInstanceItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/history_definitions/item/instances/item/generate_download_uri/generate_download_uri_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/history_definitions/item/instances/item/generate_download_uri/generate_download_uri_request_builder.py index b09257ec32d..c2659727750 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/history_definitions/item/instances/item/generate_download_uri/generate_download_uri_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/history_definitions/item/instances/item/generate_download_uri/generate_download_uri_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[AccessReviewHistoryInstance] Find more info here: https://learn.microsoft.com/graph/api/accessreviewhistoryinstance-generatedownloaduri?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> GenerateDownloadUriRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GenerateDownloadUriRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GenerateDownloadUriRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/instances/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/instances/count/count_request_builder.py index a044e35fb3e..46af0eaab9d 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/instances/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/instances/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 0c6542b2872..3f186c91836 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-filterbycurrentuser?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/instances/instances_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/instances/instances_request_builder.py index 6203e029b4f..9130cf4c266 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/instances/instances_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/instances/instances_request_builder.py @@ -40,6 +40,7 @@ def by_access_review_instance_id(self,access_review_instance_id: str) -> AccessR param access_review_instance_id: The unique identifier of accessReviewInstance Returns: AccessReviewInstanceItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_review_instance_id is None: raise TypeError("access_review_instance_id cannot be null.") from .item.access_review_instance_item_request_builder import AccessReviewInstanceItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -66,6 +68,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Instance param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -87,6 +90,7 @@ async def post(self,body: AccessReviewInstance, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstance] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_post_request_information(self,body: AccessReviewInstance, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> InstancesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: InstancesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return InstancesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/accept_recommendations/accept_recommendations_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/accept_recommendations/accept_recommendations_request_builder.py index 22aa3c2d5c3..b904ce357d7 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/accept_recommendations/accept_recommendations_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/accept_recommendations/accept_recommendations_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-acceptrecommendations?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> AcceptRecommendationsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AcceptRecommendationsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AcceptRecommendationsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/access_review_instance_item_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/access_review_instance_item_request_builder.py index 50c8d806a58..baa4637a12e 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/access_review_instance_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/access_review_instance_item_request_builder.py @@ -48,6 +48,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -66,6 +67,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstance] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -87,6 +89,7 @@ async def patch(self,body: AccessReviewInstance, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstance] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -109,6 +112,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -132,6 +137,7 @@ def to_patch_request_information(self,body: AccessReviewInstance, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -146,6 +152,7 @@ def with_url(self,raw_url: str) -> AccessReviewInstanceItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessReviewInstanceItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessReviewInstanceItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/apply_decisions/apply_decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/apply_decisions/apply_decisions_request_builder.py index f941869b611..b61facab203 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/apply_decisions/apply_decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/apply_decisions/apply_decisions_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-applydecisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> ApplyDecisionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ApplyDecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ApplyDecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/batch_apply_custom_data_provided_resource_decisions/batch_apply_custom_data_provided_resource_decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/batch_apply_custom_data_provided_resource_decisions/batch_apply_custom_data_provided_resource_decisions_request_builder.py index a9ae8378ed0..d3c3edbe35c 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/batch_apply_custom_data_provided_resource_decisions/batch_apply_custom_data_provided_resource_decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/batch_apply_custom_data_provided_resource_decisions/batch_apply_custom_data_provided_resource_decisions_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: BatchApplyCustomDataProvidedResourceDecisionsPostReque Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-batchapplycustomdataprovidedresourcedecisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: BatchApplyCustomDataProvidedResourceD param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> BatchApplyCustomDataProvidedResourceDecisions param raw_url: The raw URL to use for the request builder. Returns: BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/batch_record_decisions/batch_record_decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/batch_record_decisions/batch_record_decisions_request_builder.py index 0b8dfb86a0f..e95a60ed6d6 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/batch_record_decisions/batch_record_decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/batch_record_decisions/batch_record_decisions_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: BatchRecordDecisionsPostRequestBody, request_configura Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-batchrecorddecisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: BatchRecordDecisionsPostRequestBody, param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> BatchRecordDecisionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BatchRecordDecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BatchRecordDecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/contacted_reviewers/contacted_reviewers_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/contacted_reviewers/contacted_reviewers_request_builder.py index 85de03b0af1..430eeb8a7bb 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/contacted_reviewers/contacted_reviewers_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/contacted_reviewers/contacted_reviewers_request_builder.py @@ -39,6 +39,7 @@ def by_access_review_reviewer_id(self,access_review_reviewer_id: str) -> AccessR param access_review_reviewer_id: The unique identifier of accessReviewReviewer Returns: AccessReviewReviewerItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_review_reviewer_id is None: raise TypeError("access_review_reviewer_id cannot be null.") from .item.access_review_reviewer_item_request_builder import AccessReviewReviewerItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Contacte param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewReviewerCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AccessReviewReviewer, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewReviewer] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AccessReviewReviewer, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> ContactedReviewersRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ContactedReviewersRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ContactedReviewersRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/contacted_reviewers/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/contacted_reviewers/count/count_request_builder.py index 06131cb73e2..75c6908775e 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/contacted_reviewers/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/contacted_reviewers/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/contacted_reviewers/item/access_review_reviewer_item_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/contacted_reviewers/item/access_review_reviewer_item_request_builder.py index b3fac816677..8d22b660f6b 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/contacted_reviewers/item/access_review_reviewer_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/contacted_reviewers/item/access_review_reviewer_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewReviewer] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AccessReviewReviewer, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewReviewer] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: AccessReviewReviewer, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> AccessReviewReviewerItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessReviewReviewerItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessReviewReviewerItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/decisions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/decisions/count/count_request_builder.py index 77e0c9e6e97..d56d3bc094a 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/decisions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/decisions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/decisions/decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/decisions/decisions_request_builder.py index 4db8fc0d14f..c1fdce8ac7f 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/decisions/decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/decisions/decisions_request_builder.py @@ -41,6 +41,7 @@ def by_access_review_instance_decision_item_id(self,access_review_instance_decis param access_review_instance_decision_item_id: The unique identifier of accessReviewInstanceDecisionItem Returns: AccessReviewInstanceDecisionItemItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_review_instance_decision_item_id is None: raise TypeError("access_review_instance_decision_item_id cannot be null.") from .item.access_review_instance_decision_item_item_request_builder import AccessReviewInstanceDecisionItemItemRequestBuilder @@ -55,6 +56,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -67,6 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Decision param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItemCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -88,6 +91,7 @@ async def post(self,body: AccessReviewInstanceDecisionItem, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItem] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_post_request_information(self,body: AccessReviewInstanceDecisionItem, req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> DecisionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 7bbb6eb3a07..79a3e8dae22 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/decisions/item/access_review_instance_decision_item_item_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/decisions/item/access_review_instance_decision_item_item_request_builder.py index 73b72e28449..c700d33588d 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/decisions/item/access_review_instance_decision_item_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/decisions/item/access_review_instance_decision_item_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItem] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: AccessReviewInstanceDecisionItem, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItem] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: AccessReviewInstanceDecisionItem, re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> AccessReviewInstanceDecisionItemItemRequestBu param raw_url: The raw URL to use for the request builder. Returns: AccessReviewInstanceDecisionItemItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessReviewInstanceDecisionItemItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/decisions/item/insights/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/decisions/item/insights/count/count_request_builder.py index b61e0b01500..bc2840215d3 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/decisions/item/insights/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/decisions/item/insights/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/decisions/item/insights/insights_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/decisions/item/insights/insights_request_builder.py index f1c0ff1cf98..1aa40f2128e 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/decisions/item/insights/insights_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/decisions/item/insights/insights_request_builder.py @@ -39,6 +39,7 @@ def by_governance_insight_id(self,governance_insight_id: str) -> GovernanceInsig param governance_insight_id: The unique identifier of governanceInsight Returns: GovernanceInsightItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if governance_insight_id is None: raise TypeError("governance_insight_id cannot be null.") from .item.governance_insight_item_request_builder import GovernanceInsightItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Insights param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceInsightCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: GovernanceInsight, request_configuration: Optional[Req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceInsight] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: GovernanceInsight, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> InsightsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: InsightsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return InsightsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/decisions/item/insights/item/governance_insight_item_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/decisions/item/insights/item/governance_insight_item_request_builder.py index 5b29746a05d..ef5cb90acbc 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/decisions/item/insights/item/governance_insight_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/decisions/item/insights/item/governance_insight_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Governan param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceInsight] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: GovernanceInsight, request_configuration: Optional[Re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceInsight] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: GovernanceInsight, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> GovernanceInsightItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GovernanceInsightItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GovernanceInsightItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/decisions/record_all_decisions/record_all_decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/decisions/record_all_decisions/record_all_decisions_request_builder.py index 67f8524047c..ab8f95549c8 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/decisions/record_all_decisions/record_all_decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/decisions/record_all_decisions/record_all_decisions_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: RecordAllDecisionsPostRequestBody, request_configurati Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-recordalldecisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: RecordAllDecisionsPostRequestBody, re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> RecordAllDecisionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RecordAllDecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RecordAllDecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/definition/definition_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/definition/definition_request_builder.py index 37297ac3cd6..93b4515a484 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/definition/definition_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/definition/definition_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Definiti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewScheduleDefinition] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> DefinitionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DefinitionRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DefinitionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/reset_decisions/reset_decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/reset_decisions/reset_decisions_request_builder.py index 57ccf1f75d2..78ed0640828 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/reset_decisions/reset_decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/reset_decisions/reset_decisions_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-resetdecisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> ResetDecisionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ResetDecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ResetDecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/send_reminder/send_reminder_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/send_reminder/send_reminder_request_builder.py index f39996269ec..189e9ce91a4 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/send_reminder/send_reminder_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/send_reminder/send_reminder_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-sendreminder?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> SendReminderRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SendReminderRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SendReminderRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/count/count_request_builder.py index 4f517b0baa5..9bd371d0fc0 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index f5d9f854dda..9518efc4520 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreviewstage-filterbycurrentuser?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/accept_recommendations/accept_recommendations_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/accept_recommendations/accept_recommendations_request_builder.py index cd732ff2f09..a79e9607d7e 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/accept_recommendations/accept_recommendations_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/accept_recommendations/accept_recommendations_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewstage-acceptrecommendations?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> AcceptRecommendationsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AcceptRecommendationsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AcceptRecommendationsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/access_review_stage_item_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/access_review_stage_item_request_builder.py index ae905dc2fd3..5d0fd909c00 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/access_review_stage_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/access_review_stage_item_request_builder.py @@ -40,6 +40,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,6 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewStage] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def patch(self,body: AccessReviewStage, request_configuration: Optional[Re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewStage] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,6 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,6 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -124,6 +129,7 @@ def to_patch_request_information(self,body: AccessReviewStage, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -138,6 +144,7 @@ def with_url(self,raw_url: str) -> AccessReviewStageItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessReviewStageItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessReviewStageItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/batch_record_decisions/batch_record_decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/batch_record_decisions/batch_record_decisions_request_builder.py index 9b36b62b337..3732c97707a 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/batch_record_decisions/batch_record_decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/batch_record_decisions/batch_record_decisions_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: BatchRecordDecisionsPostRequestBody, request_configura Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewstage-batchrecorddecisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: BatchRecordDecisionsPostRequestBody, param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> BatchRecordDecisionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BatchRecordDecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BatchRecordDecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/decisions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/decisions/count/count_request_builder.py index fe56c9763aa..8d43b8cd2a9 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/decisions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/decisions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/decisions/decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/decisions/decisions_request_builder.py index 7761335ffae..78393ff3bde 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/decisions/decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/decisions/decisions_request_builder.py @@ -41,6 +41,7 @@ def by_access_review_instance_decision_item_id(self,access_review_instance_decis param access_review_instance_decision_item_id: The unique identifier of accessReviewInstanceDecisionItem Returns: AccessReviewInstanceDecisionItemItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_review_instance_decision_item_id is None: raise TypeError("access_review_instance_decision_item_id cannot be null.") from .item.access_review_instance_decision_item_item_request_builder import AccessReviewInstanceDecisionItemItemRequestBuilder @@ -55,6 +56,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -67,6 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Decision param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItemCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -88,6 +91,7 @@ async def post(self,body: AccessReviewInstanceDecisionItem, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItem] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_post_request_information(self,body: AccessReviewInstanceDecisionItem, req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> DecisionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 2ce400f3f1f..253e7c19ca4 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/decisions/item/access_review_instance_decision_item_item_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/decisions/item/access_review_instance_decision_item_item_request_builder.py index 03746336b76..a0af7782ee3 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/decisions/item/access_review_instance_decision_item_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/decisions/item/access_review_instance_decision_item_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItem] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: AccessReviewInstanceDecisionItem, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItem] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: AccessReviewInstanceDecisionItem, re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> AccessReviewInstanceDecisionItemItemRequestBu param raw_url: The raw URL to use for the request builder. Returns: AccessReviewInstanceDecisionItemItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessReviewInstanceDecisionItemItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/decisions/item/insights/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/decisions/item/insights/count/count_request_builder.py index e498e3abc04..d9058c2f6cd 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/decisions/item/insights/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/decisions/item/insights/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/decisions/item/insights/insights_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/decisions/item/insights/insights_request_builder.py index d968ef584a6..d02287b00a1 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/decisions/item/insights/insights_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/decisions/item/insights/insights_request_builder.py @@ -39,6 +39,7 @@ def by_governance_insight_id(self,governance_insight_id: str) -> GovernanceInsig param governance_insight_id: The unique identifier of governanceInsight Returns: GovernanceInsightItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if governance_insight_id is None: raise TypeError("governance_insight_id cannot be null.") from .item.governance_insight_item_request_builder import GovernanceInsightItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Insights param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceInsightCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: GovernanceInsight, request_configuration: Optional[Req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceInsight] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: GovernanceInsight, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> InsightsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: InsightsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return InsightsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/decisions/item/insights/item/governance_insight_item_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/decisions/item/insights/item/governance_insight_item_request_builder.py index 8aa1d38a4a6..32ab36790b7 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/decisions/item/insights/item/governance_insight_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/decisions/item/insights/item/governance_insight_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Governan param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceInsight] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: GovernanceInsight, request_configuration: Optional[Re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceInsight] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: GovernanceInsight, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> GovernanceInsightItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GovernanceInsightItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GovernanceInsightItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/decisions/record_all_decisions/record_all_decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/decisions/record_all_decisions/record_all_decisions_request_builder.py index 03e4e71e00d..4e4e3f4d5ed 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/decisions/record_all_decisions/record_all_decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/decisions/record_all_decisions/record_all_decisions_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: RecordAllDecisionsPostRequestBody, request_configurati Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-recordalldecisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: RecordAllDecisionsPostRequestBody, re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> RecordAllDecisionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RecordAllDecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RecordAllDecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/stop/stop_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/stop/stop_request_builder.py index 8ce9be8d64c..4cda72e8847 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/stop/stop_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/item/stop/stop_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewstage-stop?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> StopRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: StopRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return StopRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/stages_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/stages_request_builder.py index 97d641e95c7..73e5f8d3e42 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/stages_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stages/stages_request_builder.py @@ -40,6 +40,7 @@ def by_access_review_stage_id(self,access_review_stage_id: str) -> AccessReviewS param access_review_stage_id: The unique identifier of accessReviewStage Returns: AccessReviewStageItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_review_stage_id is None: raise TypeError("access_review_stage_id cannot be null.") from .item.access_review_stage_item_request_builder import AccessReviewStageItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -66,6 +68,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[StagesRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewStageCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -87,6 +90,7 @@ async def post(self,body: AccessReviewStage, request_configuration: Optional[Req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewStage] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_post_request_information(self,body: AccessReviewStage, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> StagesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: StagesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return StagesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stop/stop_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stop/stop_request_builder.py index f1684e56714..4b2c6b3cf74 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stop/stop_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stop/stop_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-stop?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> StopRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: StopRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return StopRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stop_apply_decisions/stop_apply_decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stop_apply_decisions/stop_apply_decisions_request_builder.py index fb243675792..596b75c70af 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stop_apply_decisions/stop_apply_decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/instances/item/stop_apply_decisions/stop_apply_decisions_request_builder.py @@ -35,6 +35,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> StopApplyDecisionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: StopApplyDecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return StopApplyDecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/policy/policy_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/policy/policy_request_builder.py index 5889596ded5..98693ffb178 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/policy/policy_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/policy/policy_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[PolicyRe Returns: Optional[AccessReviewPolicy] Find more info here: https://learn.microsoft.com/graph/api/accessreviewpolicy-get?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: AccessReviewPolicy, request_configuration: Optional[R Returns: Optional[AccessReviewPolicy] Find more info here: https://learn.microsoft.com/graph/api/accessreviewpolicy-update?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: AccessReviewPolicy, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> PolicyRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PolicyRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PolicyRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/decisions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/decisions/count/count_request_builder.py index 1dfbd0014ce..8028df8b5df 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/decisions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/decisions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/decisions/decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/decisions/decisions_request_builder.py index 40ace7eee71..fc74ccabef0 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/decisions/decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/decisions/decisions_request_builder.py @@ -41,6 +41,7 @@ def by_access_review_instance_decision_item_id(self,access_review_instance_decis param access_review_instance_decision_item_id: The unique identifier of accessReviewInstanceDecisionItem Returns: AccessReviewInstanceDecisionItemItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_review_instance_decision_item_id is None: raise TypeError("access_review_instance_decision_item_id cannot be null.") from .item.access_review_instance_decision_item_item_request_builder import AccessReviewInstanceDecisionItemItemRequestBuilder @@ -55,6 +56,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -67,6 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Decision param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItemCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -88,6 +91,7 @@ async def post(self,body: AccessReviewInstanceDecisionItem, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItem] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_post_request_information(self,body: AccessReviewInstanceDecisionItem, req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> DecisionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 7669a66a03c..1eea73228cc 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/decisions/item/access_review_instance_decision_item_item_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/decisions/item/access_review_instance_decision_item_item_request_builder.py index ed9d414e0c7..27d28ad0355 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/decisions/item/access_review_instance_decision_item_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/decisions/item/access_review_instance_decision_item_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItem] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: AccessReviewInstanceDecisionItem, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItem] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: AccessReviewInstanceDecisionItem, re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> AccessReviewInstanceDecisionItemItemRequestBu param raw_url: The raw URL to use for the request builder. Returns: AccessReviewInstanceDecisionItemItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessReviewInstanceDecisionItemItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/decisions/item/insights/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/decisions/item/insights/count/count_request_builder.py index dce19627d33..03005f8d8f6 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/decisions/item/insights/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/decisions/item/insights/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/decisions/item/insights/insights_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/decisions/item/insights/insights_request_builder.py index 330724c9714..ec1979cb71c 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/decisions/item/insights/insights_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/decisions/item/insights/insights_request_builder.py @@ -39,6 +39,7 @@ def by_governance_insight_id(self,governance_insight_id: str) -> GovernanceInsig param governance_insight_id: The unique identifier of governanceInsight Returns: GovernanceInsightItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if governance_insight_id is None: raise TypeError("governance_insight_id cannot be null.") from .item.governance_insight_item_request_builder import GovernanceInsightItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Insights param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceInsightCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: GovernanceInsight, request_configuration: Optional[Req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceInsight] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: GovernanceInsight, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> InsightsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: InsightsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return InsightsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/decisions/item/insights/item/governance_insight_item_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/decisions/item/insights/item/governance_insight_item_request_builder.py index f376219ed32..48fc04a375f 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/decisions/item/insights/item/governance_insight_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/decisions/item/insights/item/governance_insight_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Governan param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceInsight] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: GovernanceInsight, request_configuration: Optional[Re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceInsight] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: GovernanceInsight, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> GovernanceInsightItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GovernanceInsightItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GovernanceInsightItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/decisions/record_all_decisions/record_all_decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/decisions/record_all_decisions/record_all_decisions_request_builder.py index b2304bfa5d5..5f85acd5bc1 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/decisions/record_all_decisions/record_all_decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/decisions/record_all_decisions/record_all_decisions_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: RecordAllDecisionsPostRequestBody, request_configurati Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-recordalldecisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: RecordAllDecisionsPostRequestBody, re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> RecordAllDecisionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RecordAllDecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RecordAllDecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/count/count_request_builder.py index 3f5a40f0a53..2b3eca93f76 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/definitions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/definitions_request_builder.py index 914264ebbc1..9480b12bac8 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/definitions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/definitions_request_builder.py @@ -40,6 +40,7 @@ def by_access_review_schedule_definition_id(self,access_review_schedule_definiti param access_review_schedule_definition_id: The unique identifier of accessReviewScheduleDefinition Returns: AccessReviewScheduleDefinitionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_review_schedule_definition_id is None: raise TypeError("access_review_schedule_definition_id cannot be null.") from .item.access_review_schedule_definition_item_request_builder import AccessReviewScheduleDefinitionItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -67,6 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Definiti Returns: Optional[AccessReviewScheduleDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedroot-list-definitions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -89,6 +92,7 @@ async def post(self,body: AccessReviewScheduleDefinition, request_configuration: Returns: Optional[AccessReviewScheduleDefinition] Find more info here: https://learn.microsoft.com/graph/api/unifiedroot-post-definitions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -111,6 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -123,6 +128,7 @@ def to_post_request_information(self,body: AccessReviewScheduleDefinition, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -137,6 +143,7 @@ def with_url(self,raw_url: str) -> DefinitionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DefinitionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DefinitionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 45b45563d0a..2780f1b595e 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreviewscheduledefinition-filterbycurrentuser?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/access_review_schedule_definition_item_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/access_review_schedule_definition_item_request_builder.py index c8ccc4ac71e..eebc3c099de 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/access_review_schedule_definition_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/access_review_schedule_definition_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewScheduleDefinition] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: AccessReviewScheduleDefinition, request_configuration param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewScheduleDefinition] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: AccessReviewScheduleDefinition, requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> AccessReviewScheduleDefinitionItemRequestBuil param raw_url: The raw URL to use for the request builder. Returns: AccessReviewScheduleDefinitionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessReviewScheduleDefinitionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/count/count_request_builder.py index dde424e91c1..b38b3adaddb 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index c18065bbb59..9c1eeb5202c 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-filterbycurrentuser?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/instances_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/instances_request_builder.py index 5a580e00916..d3aa007deb7 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/instances_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/instances_request_builder.py @@ -40,6 +40,7 @@ def by_access_review_instance_id(self,access_review_instance_id: str) -> AccessR param access_review_instance_id: The unique identifier of accessReviewInstance Returns: AccessReviewInstanceItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_review_instance_id is None: raise TypeError("access_review_instance_id cannot be null.") from .item.access_review_instance_item_request_builder import AccessReviewInstanceItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -66,6 +68,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Instance param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -87,6 +90,7 @@ async def post(self,body: AccessReviewInstance, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstance] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_post_request_information(self,body: AccessReviewInstance, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> InstancesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: InstancesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return InstancesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/accept_recommendations/accept_recommendations_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/accept_recommendations/accept_recommendations_request_builder.py index 074846baa50..881e63bc654 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/accept_recommendations/accept_recommendations_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/accept_recommendations/accept_recommendations_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-acceptrecommendations?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> AcceptRecommendationsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AcceptRecommendationsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AcceptRecommendationsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/access_review_instance_item_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/access_review_instance_item_request_builder.py index a152f183aac..76909878756 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/access_review_instance_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/access_review_instance_item_request_builder.py @@ -48,6 +48,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -66,6 +67,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstance] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -87,6 +89,7 @@ async def patch(self,body: AccessReviewInstance, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstance] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -109,6 +112,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -132,6 +137,7 @@ def to_patch_request_information(self,body: AccessReviewInstance, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -146,6 +152,7 @@ def with_url(self,raw_url: str) -> AccessReviewInstanceItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessReviewInstanceItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessReviewInstanceItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/apply_decisions/apply_decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/apply_decisions/apply_decisions_request_builder.py index 3ea3d5e3b37..d9b15c8f68b 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/apply_decisions/apply_decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/apply_decisions/apply_decisions_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-applydecisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> ApplyDecisionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ApplyDecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ApplyDecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/batch_apply_custom_data_provided_resource_decisions/batch_apply_custom_data_provided_resource_decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/batch_apply_custom_data_provided_resource_decisions/batch_apply_custom_data_provided_resource_decisions_request_builder.py index b5de9f6ac22..4e6f80f242a 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/batch_apply_custom_data_provided_resource_decisions/batch_apply_custom_data_provided_resource_decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/batch_apply_custom_data_provided_resource_decisions/batch_apply_custom_data_provided_resource_decisions_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: BatchApplyCustomDataProvidedResourceDecisionsPostReque Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-batchapplycustomdataprovidedresourcedecisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: BatchApplyCustomDataProvidedResourceD param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> BatchApplyCustomDataProvidedResourceDecisions param raw_url: The raw URL to use for the request builder. Returns: BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/batch_record_decisions/batch_record_decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/batch_record_decisions/batch_record_decisions_request_builder.py index 7cc973de4c9..496457f964c 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/batch_record_decisions/batch_record_decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/batch_record_decisions/batch_record_decisions_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: BatchRecordDecisionsPostRequestBody, request_configura Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-batchrecorddecisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: BatchRecordDecisionsPostRequestBody, param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> BatchRecordDecisionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BatchRecordDecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BatchRecordDecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/contacted_reviewers/contacted_reviewers_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/contacted_reviewers/contacted_reviewers_request_builder.py index ea92225b6dc..91c16258885 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/contacted_reviewers/contacted_reviewers_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/contacted_reviewers/contacted_reviewers_request_builder.py @@ -39,6 +39,7 @@ def by_access_review_reviewer_id(self,access_review_reviewer_id: str) -> AccessR param access_review_reviewer_id: The unique identifier of accessReviewReviewer Returns: AccessReviewReviewerItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_review_reviewer_id is None: raise TypeError("access_review_reviewer_id cannot be null.") from .item.access_review_reviewer_item_request_builder import AccessReviewReviewerItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Contacte param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewReviewerCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AccessReviewReviewer, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewReviewer] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AccessReviewReviewer, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> ContactedReviewersRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ContactedReviewersRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ContactedReviewersRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/contacted_reviewers/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/contacted_reviewers/count/count_request_builder.py index d5184d2f71e..462c58fafc2 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/contacted_reviewers/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/contacted_reviewers/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/contacted_reviewers/item/access_review_reviewer_item_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/contacted_reviewers/item/access_review_reviewer_item_request_builder.py index a68a1fbb6cd..8dd7ce40c39 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/contacted_reviewers/item/access_review_reviewer_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/contacted_reviewers/item/access_review_reviewer_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewReviewer] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AccessReviewReviewer, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewReviewer] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: AccessReviewReviewer, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> AccessReviewReviewerItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessReviewReviewerItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessReviewReviewerItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/decisions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/decisions/count/count_request_builder.py index a8569210e7f..696c9fa9102 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/decisions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/decisions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/decisions/decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/decisions/decisions_request_builder.py index d5beabaa21a..56e2126e31b 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/decisions/decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/decisions/decisions_request_builder.py @@ -41,6 +41,7 @@ def by_access_review_instance_decision_item_id(self,access_review_instance_decis param access_review_instance_decision_item_id: The unique identifier of accessReviewInstanceDecisionItem Returns: AccessReviewInstanceDecisionItemItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_review_instance_decision_item_id is None: raise TypeError("access_review_instance_decision_item_id cannot be null.") from .item.access_review_instance_decision_item_item_request_builder import AccessReviewInstanceDecisionItemItemRequestBuilder @@ -55,6 +56,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -67,6 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Decision param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItemCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -88,6 +91,7 @@ async def post(self,body: AccessReviewInstanceDecisionItem, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItem] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_post_request_information(self,body: AccessReviewInstanceDecisionItem, req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> DecisionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index bee6ec1fc06..b74b3734653 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/decisions/item/access_review_instance_decision_item_item_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/decisions/item/access_review_instance_decision_item_item_request_builder.py index 7e51278b30f..bb8c74968fe 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/decisions/item/access_review_instance_decision_item_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/decisions/item/access_review_instance_decision_item_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItem] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: AccessReviewInstanceDecisionItem, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItem] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: AccessReviewInstanceDecisionItem, re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> AccessReviewInstanceDecisionItemItemRequestBu param raw_url: The raw URL to use for the request builder. Returns: AccessReviewInstanceDecisionItemItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessReviewInstanceDecisionItemItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/decisions/item/insights/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/decisions/item/insights/count/count_request_builder.py index 4fc8392311d..61687988e41 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/decisions/item/insights/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/decisions/item/insights/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/decisions/item/insights/insights_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/decisions/item/insights/insights_request_builder.py index f9712bf41c9..d8f56d6a782 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/decisions/item/insights/insights_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/decisions/item/insights/insights_request_builder.py @@ -39,6 +39,7 @@ def by_governance_insight_id(self,governance_insight_id: str) -> GovernanceInsig param governance_insight_id: The unique identifier of governanceInsight Returns: GovernanceInsightItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if governance_insight_id is None: raise TypeError("governance_insight_id cannot be null.") from .item.governance_insight_item_request_builder import GovernanceInsightItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Insights param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceInsightCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: GovernanceInsight, request_configuration: Optional[Req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceInsight] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: GovernanceInsight, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> InsightsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: InsightsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return InsightsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/decisions/item/insights/item/governance_insight_item_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/decisions/item/insights/item/governance_insight_item_request_builder.py index 8b81202f644..3a31e171c9a 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/decisions/item/insights/item/governance_insight_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/decisions/item/insights/item/governance_insight_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Governan param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceInsight] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: GovernanceInsight, request_configuration: Optional[Re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceInsight] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: GovernanceInsight, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> GovernanceInsightItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GovernanceInsightItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GovernanceInsightItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/decisions/record_all_decisions/record_all_decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/decisions/record_all_decisions/record_all_decisions_request_builder.py index db5a488fd2c..1c5af06158d 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/decisions/record_all_decisions/record_all_decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/decisions/record_all_decisions/record_all_decisions_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: RecordAllDecisionsPostRequestBody, request_configurati Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-recordalldecisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: RecordAllDecisionsPostRequestBody, re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> RecordAllDecisionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RecordAllDecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RecordAllDecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/definition/definition_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/definition/definition_request_builder.py index 0fd75fbd3ae..23fa10b9a18 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/definition/definition_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/definition/definition_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Definiti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewScheduleDefinition] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> DefinitionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DefinitionRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DefinitionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/reset_decisions/reset_decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/reset_decisions/reset_decisions_request_builder.py index c95296460fb..97a585c76e3 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/reset_decisions/reset_decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/reset_decisions/reset_decisions_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-resetdecisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> ResetDecisionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ResetDecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ResetDecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/send_reminder/send_reminder_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/send_reminder/send_reminder_request_builder.py index 92747add343..a658845f115 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/send_reminder/send_reminder_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/send_reminder/send_reminder_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-sendreminder?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> SendReminderRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SendReminderRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SendReminderRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/count/count_request_builder.py index b37f77d1096..545661a040d 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 68b9d6d2c0e..604f5b0856c 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreviewstage-filterbycurrentuser?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/accept_recommendations/accept_recommendations_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/accept_recommendations/accept_recommendations_request_builder.py index 4927301a4c1..d4e1af03b08 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/accept_recommendations/accept_recommendations_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/accept_recommendations/accept_recommendations_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewstage-acceptrecommendations?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> AcceptRecommendationsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AcceptRecommendationsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AcceptRecommendationsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/access_review_stage_item_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/access_review_stage_item_request_builder.py index 0bb2bc3d060..ceb1c189aa3 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/access_review_stage_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/access_review_stage_item_request_builder.py @@ -40,6 +40,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,6 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewStage] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def patch(self,body: AccessReviewStage, request_configuration: Optional[Re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewStage] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,6 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,6 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -124,6 +129,7 @@ def to_patch_request_information(self,body: AccessReviewStage, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -138,6 +144,7 @@ def with_url(self,raw_url: str) -> AccessReviewStageItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessReviewStageItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessReviewStageItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/batch_record_decisions/batch_record_decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/batch_record_decisions/batch_record_decisions_request_builder.py index bde00a69c75..1fa5fb5bc9f 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/batch_record_decisions/batch_record_decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/batch_record_decisions/batch_record_decisions_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: BatchRecordDecisionsPostRequestBody, request_configura Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewstage-batchrecorddecisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: BatchRecordDecisionsPostRequestBody, param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> BatchRecordDecisionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BatchRecordDecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BatchRecordDecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/decisions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/decisions/count/count_request_builder.py index 8f990aabf50..5b57de58b0b 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/decisions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/decisions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/decisions/decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/decisions/decisions_request_builder.py index d2390e8c57d..c406b851961 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/decisions/decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/decisions/decisions_request_builder.py @@ -41,6 +41,7 @@ def by_access_review_instance_decision_item_id(self,access_review_instance_decis param access_review_instance_decision_item_id: The unique identifier of accessReviewInstanceDecisionItem Returns: AccessReviewInstanceDecisionItemItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_review_instance_decision_item_id is None: raise TypeError("access_review_instance_decision_item_id cannot be null.") from .item.access_review_instance_decision_item_item_request_builder import AccessReviewInstanceDecisionItemItemRequestBuilder @@ -55,6 +56,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -67,6 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Decision param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItemCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -88,6 +91,7 @@ async def post(self,body: AccessReviewInstanceDecisionItem, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItem] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_post_request_information(self,body: AccessReviewInstanceDecisionItem, req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> DecisionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 8af630062fd..9388139c274 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/decisions/item/access_review_instance_decision_item_item_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/decisions/item/access_review_instance_decision_item_item_request_builder.py index 7bf7d6f637f..9e26456707f 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/decisions/item/access_review_instance_decision_item_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/decisions/item/access_review_instance_decision_item_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItem] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: AccessReviewInstanceDecisionItem, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItem] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: AccessReviewInstanceDecisionItem, re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> AccessReviewInstanceDecisionItemItemRequestBu param raw_url: The raw URL to use for the request builder. Returns: AccessReviewInstanceDecisionItemItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessReviewInstanceDecisionItemItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/decisions/item/insights/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/decisions/item/insights/count/count_request_builder.py index 8b35168251c..960d8b4e984 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/decisions/item/insights/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/decisions/item/insights/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/decisions/item/insights/insights_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/decisions/item/insights/insights_request_builder.py index 2f484aa1c93..1032c73d060 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/decisions/item/insights/insights_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/decisions/item/insights/insights_request_builder.py @@ -39,6 +39,7 @@ def by_governance_insight_id(self,governance_insight_id: str) -> GovernanceInsig param governance_insight_id: The unique identifier of governanceInsight Returns: GovernanceInsightItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if governance_insight_id is None: raise TypeError("governance_insight_id cannot be null.") from .item.governance_insight_item_request_builder import GovernanceInsightItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Insights param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceInsightCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: GovernanceInsight, request_configuration: Optional[Req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceInsight] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: GovernanceInsight, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> InsightsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: InsightsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return InsightsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/decisions/item/insights/item/governance_insight_item_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/decisions/item/insights/item/governance_insight_item_request_builder.py index 17f01727782..8f64c280cb0 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/decisions/item/insights/item/governance_insight_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/decisions/item/insights/item/governance_insight_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Governan param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceInsight] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: GovernanceInsight, request_configuration: Optional[Re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceInsight] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: GovernanceInsight, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> GovernanceInsightItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GovernanceInsightItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GovernanceInsightItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/decisions/record_all_decisions/record_all_decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/decisions/record_all_decisions/record_all_decisions_request_builder.py index 05196697541..86d4efae87f 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/decisions/record_all_decisions/record_all_decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/decisions/record_all_decisions/record_all_decisions_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: RecordAllDecisionsPostRequestBody, request_configurati Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-recordalldecisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: RecordAllDecisionsPostRequestBody, re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> RecordAllDecisionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RecordAllDecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RecordAllDecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/stop/stop_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/stop/stop_request_builder.py index 8da76567baf..0b8a58a06f3 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/stop/stop_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/item/stop/stop_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewstage-stop?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> StopRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: StopRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return StopRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/stages_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/stages_request_builder.py index 0aae4bcb648..e0b65d8eaff 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/stages_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stages/stages_request_builder.py @@ -40,6 +40,7 @@ def by_access_review_stage_id(self,access_review_stage_id: str) -> AccessReviewS param access_review_stage_id: The unique identifier of accessReviewStage Returns: AccessReviewStageItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_review_stage_id is None: raise TypeError("access_review_stage_id cannot be null.") from .item.access_review_stage_item_request_builder import AccessReviewStageItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -66,6 +68,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[StagesRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewStageCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -87,6 +90,7 @@ async def post(self,body: AccessReviewStage, request_configuration: Optional[Req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewStage] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_post_request_information(self,body: AccessReviewStage, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> StagesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: StagesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return StagesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stop/stop_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stop/stop_request_builder.py index 48cd85b6782..9ef36e28cef 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stop/stop_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stop/stop_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-stop?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> StopRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: StopRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return StopRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stop_apply_decisions/stop_apply_decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stop_apply_decisions/stop_apply_decisions_request_builder.py index 49ced3c2b24..1dee717d234 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stop_apply_decisions/stop_apply_decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/instances/item/stop_apply_decisions/stop_apply_decisions_request_builder.py @@ -35,6 +35,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> StopApplyDecisionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: StopApplyDecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return StopApplyDecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/stop/stop_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/stop/stop_request_builder.py index 392944fb54b..8e8665432eb 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/stop/stop_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/definitions/item/stop/stop_request_builder.py @@ -35,6 +35,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> StopRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: StopRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return StopRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/count/count_request_builder.py index 0afd002ae36..887cf25ade1 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index b9b1485a5b5..84f8e5f3c24 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-filterbycurrentuser?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/instances_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/instances_request_builder.py index fb520b2cf28..025077a5386 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/instances_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/instances_request_builder.py @@ -40,6 +40,7 @@ def by_access_review_instance_id(self,access_review_instance_id: str) -> AccessR param access_review_instance_id: The unique identifier of accessReviewInstance Returns: AccessReviewInstanceItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_review_instance_id is None: raise TypeError("access_review_instance_id cannot be null.") from .item.access_review_instance_item_request_builder import AccessReviewInstanceItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -66,6 +68,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Instance param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -87,6 +90,7 @@ async def post(self,body: AccessReviewInstance, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstance] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_post_request_information(self,body: AccessReviewInstance, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> InstancesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: InstancesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return InstancesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/accept_recommendations/accept_recommendations_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/accept_recommendations/accept_recommendations_request_builder.py index f05012f0a7d..3ce9a3efe2d 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/accept_recommendations/accept_recommendations_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/accept_recommendations/accept_recommendations_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-acceptrecommendations?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> AcceptRecommendationsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AcceptRecommendationsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AcceptRecommendationsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/access_review_instance_item_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/access_review_instance_item_request_builder.py index 9c2e86cc7f0..c23ff6ce018 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/access_review_instance_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/access_review_instance_item_request_builder.py @@ -48,6 +48,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -66,6 +67,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstance] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -87,6 +89,7 @@ async def patch(self,body: AccessReviewInstance, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstance] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -109,6 +112,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -132,6 +137,7 @@ def to_patch_request_information(self,body: AccessReviewInstance, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -146,6 +152,7 @@ def with_url(self,raw_url: str) -> AccessReviewInstanceItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessReviewInstanceItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessReviewInstanceItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/apply_decisions/apply_decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/apply_decisions/apply_decisions_request_builder.py index 3948b14691f..1c9e832b125 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/apply_decisions/apply_decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/apply_decisions/apply_decisions_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-applydecisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> ApplyDecisionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ApplyDecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ApplyDecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/batch_apply_custom_data_provided_resource_decisions/batch_apply_custom_data_provided_resource_decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/batch_apply_custom_data_provided_resource_decisions/batch_apply_custom_data_provided_resource_decisions_request_builder.py index e9843d5a623..f3bb5f063f7 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/batch_apply_custom_data_provided_resource_decisions/batch_apply_custom_data_provided_resource_decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/batch_apply_custom_data_provided_resource_decisions/batch_apply_custom_data_provided_resource_decisions_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: BatchApplyCustomDataProvidedResourceDecisionsPostReque Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-batchapplycustomdataprovidedresourcedecisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: BatchApplyCustomDataProvidedResourceD param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> BatchApplyCustomDataProvidedResourceDecisions param raw_url: The raw URL to use for the request builder. Returns: BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/batch_record_decisions/batch_record_decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/batch_record_decisions/batch_record_decisions_request_builder.py index 5d60982c00e..be0a7ade736 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/batch_record_decisions/batch_record_decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/batch_record_decisions/batch_record_decisions_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: BatchRecordDecisionsPostRequestBody, request_configura Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-batchrecorddecisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: BatchRecordDecisionsPostRequestBody, param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> BatchRecordDecisionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BatchRecordDecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BatchRecordDecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/contacted_reviewers/contacted_reviewers_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/contacted_reviewers/contacted_reviewers_request_builder.py index f591a0b0f60..f0536031c72 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/contacted_reviewers/contacted_reviewers_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/contacted_reviewers/contacted_reviewers_request_builder.py @@ -39,6 +39,7 @@ def by_access_review_reviewer_id(self,access_review_reviewer_id: str) -> AccessR param access_review_reviewer_id: The unique identifier of accessReviewReviewer Returns: AccessReviewReviewerItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_review_reviewer_id is None: raise TypeError("access_review_reviewer_id cannot be null.") from .item.access_review_reviewer_item_request_builder import AccessReviewReviewerItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Contacte param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewReviewerCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AccessReviewReviewer, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewReviewer] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AccessReviewReviewer, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> ContactedReviewersRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ContactedReviewersRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ContactedReviewersRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/contacted_reviewers/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/contacted_reviewers/count/count_request_builder.py index 51c90df10ba..b6a6dacda99 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/contacted_reviewers/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/contacted_reviewers/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/contacted_reviewers/item/access_review_reviewer_item_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/contacted_reviewers/item/access_review_reviewer_item_request_builder.py index e22adaeb4bd..67e2bb13b66 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/contacted_reviewers/item/access_review_reviewer_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/contacted_reviewers/item/access_review_reviewer_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewReviewer] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AccessReviewReviewer, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewReviewer] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: AccessReviewReviewer, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> AccessReviewReviewerItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessReviewReviewerItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessReviewReviewerItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/decisions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/decisions/count/count_request_builder.py index df1e5462554..770128c4854 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/decisions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/decisions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/decisions/decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/decisions/decisions_request_builder.py index f2ad24b0fd4..ae804a2bdcb 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/decisions/decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/decisions/decisions_request_builder.py @@ -41,6 +41,7 @@ def by_access_review_instance_decision_item_id(self,access_review_instance_decis param access_review_instance_decision_item_id: The unique identifier of accessReviewInstanceDecisionItem Returns: AccessReviewInstanceDecisionItemItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_review_instance_decision_item_id is None: raise TypeError("access_review_instance_decision_item_id cannot be null.") from .item.access_review_instance_decision_item_item_request_builder import AccessReviewInstanceDecisionItemItemRequestBuilder @@ -55,6 +56,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -67,6 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Decision param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItemCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -88,6 +91,7 @@ async def post(self,body: AccessReviewInstanceDecisionItem, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItem] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_post_request_information(self,body: AccessReviewInstanceDecisionItem, req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> DecisionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index ae2ea7bf9b6..0280849cd42 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/decisions/item/access_review_instance_decision_item_item_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/decisions/item/access_review_instance_decision_item_item_request_builder.py index 2cfe749aa83..60fc95efdeb 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/decisions/item/access_review_instance_decision_item_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/decisions/item/access_review_instance_decision_item_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItem] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: AccessReviewInstanceDecisionItem, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItem] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: AccessReviewInstanceDecisionItem, re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> AccessReviewInstanceDecisionItemItemRequestBu param raw_url: The raw URL to use for the request builder. Returns: AccessReviewInstanceDecisionItemItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessReviewInstanceDecisionItemItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/decisions/item/insights/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/decisions/item/insights/count/count_request_builder.py index 3277e61e9b5..7b1a556faf9 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/decisions/item/insights/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/decisions/item/insights/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/decisions/item/insights/insights_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/decisions/item/insights/insights_request_builder.py index fe94140a9ea..28075b01503 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/decisions/item/insights/insights_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/decisions/item/insights/insights_request_builder.py @@ -39,6 +39,7 @@ def by_governance_insight_id(self,governance_insight_id: str) -> GovernanceInsig param governance_insight_id: The unique identifier of governanceInsight Returns: GovernanceInsightItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if governance_insight_id is None: raise TypeError("governance_insight_id cannot be null.") from .item.governance_insight_item_request_builder import GovernanceInsightItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Insights param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceInsightCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: GovernanceInsight, request_configuration: Optional[Req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceInsight] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: GovernanceInsight, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> InsightsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: InsightsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return InsightsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/decisions/item/insights/item/governance_insight_item_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/decisions/item/insights/item/governance_insight_item_request_builder.py index 3f5ca5710fe..52488df2ec2 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/decisions/item/insights/item/governance_insight_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/decisions/item/insights/item/governance_insight_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Governan param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceInsight] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: GovernanceInsight, request_configuration: Optional[Re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceInsight] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: GovernanceInsight, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> GovernanceInsightItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GovernanceInsightItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GovernanceInsightItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/decisions/record_all_decisions/record_all_decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/decisions/record_all_decisions/record_all_decisions_request_builder.py index 61cebd7d42c..16689b368aa 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/decisions/record_all_decisions/record_all_decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/decisions/record_all_decisions/record_all_decisions_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: RecordAllDecisionsPostRequestBody, request_configurati Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-recordalldecisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: RecordAllDecisionsPostRequestBody, re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> RecordAllDecisionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RecordAllDecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RecordAllDecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/definition/definition_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/definition/definition_request_builder.py index 521436d49e1..5ee0b9a8ab4 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/definition/definition_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/definition/definition_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Definiti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewScheduleDefinition] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> DefinitionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DefinitionRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DefinitionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/reset_decisions/reset_decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/reset_decisions/reset_decisions_request_builder.py index 7c3fa564920..4d9b726d6c7 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/reset_decisions/reset_decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/reset_decisions/reset_decisions_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-resetdecisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> ResetDecisionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ResetDecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ResetDecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/send_reminder/send_reminder_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/send_reminder/send_reminder_request_builder.py index a84d94f7470..5fadfae80a0 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/send_reminder/send_reminder_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/send_reminder/send_reminder_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-sendreminder?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> SendReminderRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SendReminderRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SendReminderRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/count/count_request_builder.py index 9e03a43084b..38daac1b9ab 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 7f27ca5b524..2802d931a33 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreviewstage-filterbycurrentuser?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/accept_recommendations/accept_recommendations_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/accept_recommendations/accept_recommendations_request_builder.py index 28ac54dead1..3b201e206d1 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/accept_recommendations/accept_recommendations_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/accept_recommendations/accept_recommendations_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewstage-acceptrecommendations?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> AcceptRecommendationsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AcceptRecommendationsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AcceptRecommendationsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/access_review_stage_item_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/access_review_stage_item_request_builder.py index 19fad4c84a2..e4816c06568 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/access_review_stage_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/access_review_stage_item_request_builder.py @@ -40,6 +40,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,6 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewStage] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def patch(self,body: AccessReviewStage, request_configuration: Optional[Re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewStage] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,6 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,6 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -124,6 +129,7 @@ def to_patch_request_information(self,body: AccessReviewStage, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -138,6 +144,7 @@ def with_url(self,raw_url: str) -> AccessReviewStageItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessReviewStageItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessReviewStageItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/batch_record_decisions/batch_record_decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/batch_record_decisions/batch_record_decisions_request_builder.py index d382afee81c..3fb3a599a02 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/batch_record_decisions/batch_record_decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/batch_record_decisions/batch_record_decisions_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: BatchRecordDecisionsPostRequestBody, request_configura Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewstage-batchrecorddecisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: BatchRecordDecisionsPostRequestBody, param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> BatchRecordDecisionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BatchRecordDecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BatchRecordDecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/decisions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/decisions/count/count_request_builder.py index 0772d2f077a..908212e4368 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/decisions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/decisions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/decisions/decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/decisions/decisions_request_builder.py index 6035d6354c8..2594a8c38a5 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/decisions/decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/decisions/decisions_request_builder.py @@ -41,6 +41,7 @@ def by_access_review_instance_decision_item_id(self,access_review_instance_decis param access_review_instance_decision_item_id: The unique identifier of accessReviewInstanceDecisionItem Returns: AccessReviewInstanceDecisionItemItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_review_instance_decision_item_id is None: raise TypeError("access_review_instance_decision_item_id cannot be null.") from .item.access_review_instance_decision_item_item_request_builder import AccessReviewInstanceDecisionItemItemRequestBuilder @@ -55,6 +56,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -67,6 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Decision param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItemCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -88,6 +91,7 @@ async def post(self,body: AccessReviewInstanceDecisionItem, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItem] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_post_request_information(self,body: AccessReviewInstanceDecisionItem, req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> DecisionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index de8521650ef..3ead5601bee 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/decisions/item/access_review_instance_decision_item_item_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/decisions/item/access_review_instance_decision_item_item_request_builder.py index 79fc124b016..4b14f514618 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/decisions/item/access_review_instance_decision_item_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/decisions/item/access_review_instance_decision_item_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItem] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: AccessReviewInstanceDecisionItem, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItem] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: AccessReviewInstanceDecisionItem, re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> AccessReviewInstanceDecisionItemItemRequestBu param raw_url: The raw URL to use for the request builder. Returns: AccessReviewInstanceDecisionItemItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessReviewInstanceDecisionItemItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/decisions/item/insights/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/decisions/item/insights/count/count_request_builder.py index 5c78c38283f..be7878c40b4 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/decisions/item/insights/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/decisions/item/insights/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/decisions/item/insights/insights_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/decisions/item/insights/insights_request_builder.py index 40c74e33e9b..4d4d8568196 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/decisions/item/insights/insights_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/decisions/item/insights/insights_request_builder.py @@ -39,6 +39,7 @@ def by_governance_insight_id(self,governance_insight_id: str) -> GovernanceInsig param governance_insight_id: The unique identifier of governanceInsight Returns: GovernanceInsightItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if governance_insight_id is None: raise TypeError("governance_insight_id cannot be null.") from .item.governance_insight_item_request_builder import GovernanceInsightItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Insights param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceInsightCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: GovernanceInsight, request_configuration: Optional[Req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceInsight] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: GovernanceInsight, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> InsightsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: InsightsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return InsightsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/decisions/item/insights/item/governance_insight_item_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/decisions/item/insights/item/governance_insight_item_request_builder.py index 2868ae2b5ee..0faa11d9b27 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/decisions/item/insights/item/governance_insight_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/decisions/item/insights/item/governance_insight_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Governan param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceInsight] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: GovernanceInsight, request_configuration: Optional[Re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceInsight] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: GovernanceInsight, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> GovernanceInsightItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GovernanceInsightItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GovernanceInsightItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/decisions/record_all_decisions/record_all_decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/decisions/record_all_decisions/record_all_decisions_request_builder.py index 70b811f765a..7f00474014a 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/decisions/record_all_decisions/record_all_decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/decisions/record_all_decisions/record_all_decisions_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: RecordAllDecisionsPostRequestBody, request_configurati Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-recordalldecisions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: RecordAllDecisionsPostRequestBody, re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> RecordAllDecisionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RecordAllDecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RecordAllDecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/stop/stop_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/stop/stop_request_builder.py index e570f59e3b3..09b5840d5e8 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/stop/stop_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/item/stop/stop_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewstage-stop?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> StopRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: StopRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return StopRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/stages_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/stages_request_builder.py index 77f392c26ba..1216d2b2143 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/stages_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stages/stages_request_builder.py @@ -40,6 +40,7 @@ def by_access_review_stage_id(self,access_review_stage_id: str) -> AccessReviewS param access_review_stage_id: The unique identifier of accessReviewStage Returns: AccessReviewStageItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_review_stage_id is None: raise TypeError("access_review_stage_id cannot be null.") from .item.access_review_stage_item_request_builder import AccessReviewStageItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -66,6 +68,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[StagesRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewStageCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -87,6 +90,7 @@ async def post(self,body: AccessReviewStage, request_configuration: Optional[Req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewStage] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_post_request_information(self,body: AccessReviewStage, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> StagesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: StagesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return StagesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stop/stop_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stop/stop_request_builder.py index 0228b2ec68e..49130b77c78 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stop/stop_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stop/stop_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-stop?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> StopRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: StopRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return StopRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stop_apply_decisions/stop_apply_decisions_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stop_apply_decisions/stop_apply_decisions_request_builder.py index 04ee141ca4c..beb753eca4a 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stop_apply_decisions/stop_apply_decisions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/instances/item/stop_apply_decisions/stop_apply_decisions_request_builder.py @@ -35,6 +35,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> StopApplyDecisionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: StopApplyDecisionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return StopApplyDecisionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/access_reviews/unified/unified_request_builder.py b/msgraph_beta/generated/identity_governance/access_reviews/unified/unified_request_builder.py index e3ad4bb0940..f28053c0157 100644 --- a/msgraph_beta/generated/identity_governance/access_reviews/unified/unified_request_builder.py +++ b/msgraph_beta/generated/identity_governance/access_reviews/unified/unified_request_builder.py @@ -39,6 +39,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoot] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,6 +80,7 @@ async def patch(self,body: UnifiedRoot, request_configuration: Optional[RequestC param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoot] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,6 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -111,6 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -123,6 +128,7 @@ def to_patch_request_information(self,body: UnifiedRoot, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -137,6 +143,7 @@ def with_url(self,raw_url: str) -> UnifiedRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UnifiedRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/app_consent/app_consent_request_builder.py b/msgraph_beta/generated/identity_governance/app_consent/app_consent_request_builder.py index b1642fa34be..52c6556133b 100644 --- a/msgraph_beta/generated/identity_governance/app_consent/app_consent_request_builder.py +++ b/msgraph_beta/generated/identity_governance/app_consent/app_consent_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppConse param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppConsentApprovalRoute] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: AppConsentApprovalRoute, request_configuration: Optio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppConsentApprovalRoute] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: AppConsentApprovalRoute, request_con param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> AppConsentRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppConsentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppConsentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/app_consent_requests_request_builder.py b/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/app_consent_requests_request_builder.py index 14a4849a503..1335023adb4 100644 --- a/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/app_consent_requests_request_builder.py +++ b/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/app_consent_requests_request_builder.py @@ -40,6 +40,7 @@ def by_app_consent_request_id(self,app_consent_request_id: str) -> AppConsentReq param app_consent_request_id: The unique identifier of appConsentRequest Returns: AppConsentRequestItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if app_consent_request_id is None: raise TypeError("app_consent_request_id cannot be null.") from .item.app_consent_request_item_request_builder import AppConsentRequestItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -67,6 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppConse Returns: Optional[AppConsentRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/appconsentapprovalroute-list-appconsentrequests?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -88,6 +91,7 @@ async def post(self,body: AppConsentRequest, request_configuration: Optional[Req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppConsentRequest] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_post_request_information(self,body: AppConsentRequest, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> AppConsentRequestsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppConsentRequestsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppConsentRequestsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/count/count_request_builder.py index 9f324326015..92fbb1a7642 100644 --- a/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index cf39fdc6e14..c0841a93cef 100644 --- a/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/appconsentrequest-filterbycurrentuser?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/app_consent_request_item_request_builder.py b/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/app_consent_request_item_request_builder.py index 1741b701a7e..9f78e696145 100644 --- a/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/app_consent_request_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/app_consent_request_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppConse Returns: Optional[AppConsentRequest] Find more info here: https://learn.microsoft.com/graph/api/appconsentrequest-get?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: AppConsentRequest, request_configuration: Optional[Re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppConsentRequest] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: AppConsentRequest, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> AppConsentRequestItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppConsentRequestItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppConsentRequestItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/count/count_request_builder.py index dab40dfaa7f..f9553f6cce8 100644 --- a/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index ae65dcbf382..075d25e25d3 100644 --- a/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/userconsentrequest-filterbycurrentuser?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/approval/approval_request_builder.py b/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/approval/approval_request_builder.py index a1f975daa94..7d3cf1fbd6d 100644 --- a/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/approval/approval_request_builder.py +++ b/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/approval/approval_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Approval param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Approval] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: Approval, request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Approval] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: Approval, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> ApprovalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ApprovalRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ApprovalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/approval/steps/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/approval/steps/count/count_request_builder.py index bb0ea18e439..776fe8044b4 100644 --- a/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/approval/steps/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/approval/steps/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/approval/steps/item/approval_step_item_request_builder.py b/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/approval/steps/item/approval_step_item_request_builder.py index bd631641f44..c488efd41be 100644 --- a/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/approval/steps/item/approval_step_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/approval/steps/item/approval_step_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Approval param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStep] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: ApprovalStep, request_configuration: Optional[Request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStep] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: ApprovalStep, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> ApprovalStepItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ApprovalStepItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ApprovalStepItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/approval/steps/steps_request_builder.py b/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/approval/steps/steps_request_builder.py index f981a0dd6b6..b79bcd7a8cb 100644 --- a/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/approval/steps/steps_request_builder.py +++ b/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/approval/steps/steps_request_builder.py @@ -39,6 +39,7 @@ def by_approval_step_id(self,approval_step_id: str) -> ApprovalStepItemRequestBu param approval_step_id: The unique identifier of approvalStep Returns: ApprovalStepItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if approval_step_id is None: raise TypeError("approval_step_id cannot be null.") from .item.approval_step_item_request_builder import ApprovalStepItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[StepsReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStepCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: ApprovalStep, request_configuration: Optional[RequestC param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStep] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: ApprovalStep, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> StepsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: StepsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return StepsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/user_consent_request_item_request_builder.py b/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/user_consent_request_item_request_builder.py index 79f1336211a..693798cd44f 100644 --- a/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/user_consent_request_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/user_consent_request_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UserCons Returns: Optional[UserConsentRequest] Find more info here: https://learn.microsoft.com/graph/api/userconsentrequest-get?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: UserConsentRequest, request_configuration: Optional[R param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserConsentRequest] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: UserConsentRequest, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> UserConsentRequestItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UserConsentRequestItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UserConsentRequestItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/user_consent_requests_request_builder.py b/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/user_consent_requests_request_builder.py index ea21e17dc27..a9d0ca77bf5 100644 --- a/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/user_consent_requests_request_builder.py +++ b/msgraph_beta/generated/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/user_consent_requests_request_builder.py @@ -40,6 +40,7 @@ def by_user_consent_request_id(self,user_consent_request_id: str) -> UserConsent param user_consent_request_id: The unique identifier of userConsentRequest Returns: UserConsentRequestItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if user_consent_request_id is None: raise TypeError("user_consent_request_id cannot be null.") from .item.user_consent_request_item_request_builder import UserConsentRequestItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -67,6 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UserCons Returns: Optional[UserConsentRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/appconsentrequest-list-userconsentrequests?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -88,6 +91,7 @@ async def post(self,body: UserConsentRequest, request_configuration: Optional[Re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserConsentRequest] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_post_request_information(self,body: UserConsentRequest, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> UserConsentRequestsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UserConsentRequestsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UserConsentRequestsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_approvals/access_package_assignment_approvals_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_approvals/access_package_assignment_approvals_request_builder.py index 8d974e55f54..6cc316e66ec 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_approvals/access_package_assignment_approvals_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_approvals/access_package_assignment_approvals_request_builder.py @@ -40,6 +40,7 @@ def by_approval_id(self,approval_id: str) -> ApprovalItemRequestBuilder: param approval_id: The unique identifier of approval Returns: ApprovalItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if approval_id is None: raise TypeError("approval_id cannot be null.") from .item.approval_item_request_builder import ApprovalItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -66,6 +68,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -87,6 +90,7 @@ async def post(self,body: Approval, request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Approval] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_post_request_information(self,body: Approval, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> AccessPackageAssignmentApprovalsRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: AccessPackageAssignmentApprovalsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageAssignmentApprovalsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_approvals/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_approvals/count/count_request_builder.py index ebc966b49d4..b78241ffbfb 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_approvals/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_approvals/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index c9be96f48d2..db3b1f2720b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/approval-filterbycurrentuser?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_approvals/item/approval_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_approvals/item/approval_item_request_builder.py index cbb81fa335b..9446ab1038a 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_approvals/item/approval_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_approvals/item/approval_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Approval Returns: Optional[Approval] Find more info here: https://learn.microsoft.com/graph/api/approval-get?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: Approval, request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Approval] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: Approval, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> ApprovalItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ApprovalItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ApprovalItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_approvals/item/steps/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_approvals/item/steps/count/count_request_builder.py index 1042b03f1d4..173ef0af0da 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_approvals/item/steps/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_approvals/item/steps/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_approvals/item/steps/item/approval_step_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_approvals/item/steps/item/approval_step_item_request_builder.py index 3ac7ab1c346..74f2bbfb48a 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_approvals/item/steps/item/approval_step_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_approvals/item/steps/item/approval_step_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Approval Returns: Optional[ApprovalStep] Find more info here: https://learn.microsoft.com/graph/api/approvalstep-get?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: ApprovalStep, request_configuration: Optional[Request Returns: Optional[ApprovalStep] Find more info here: https://learn.microsoft.com/graph/api/approvalstep-update?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: ApprovalStep, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> ApprovalStepItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ApprovalStepItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ApprovalStepItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_approvals/item/steps/steps_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_approvals/item/steps/steps_request_builder.py index 2dbcdb055d1..7f6f88611ac 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_approvals/item/steps/steps_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_approvals/item/steps/steps_request_builder.py @@ -39,6 +39,7 @@ def by_approval_step_id(self,approval_step_id: str) -> ApprovalStepItemRequestBu param approval_step_id: The unique identifier of approvalStep Returns: ApprovalStepItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if approval_step_id is None: raise TypeError("approval_step_id cannot be null.") from .item.approval_step_item_request_builder import ApprovalStepItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[StepsReq Returns: Optional[ApprovalStepCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/approval-list-steps?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: ApprovalStep, request_configuration: Optional[RequestC param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStep] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: ApprovalStep, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> StepsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: StepsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return StepsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/access_package_assignment_resource_roles_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/access_package_assignment_resource_roles_request_builder.py index 6f4ec1d233c..f26eecacec1 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/access_package_assignment_resource_roles_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/access_package_assignment_resource_roles_request_builder.py @@ -40,6 +40,7 @@ def by_access_package_assignment_resource_role_id(self,access_package_assignment param access_package_assignment_resource_role_id: The unique identifier of accessPackageAssignmentResourceRole Returns: AccessPackageAssignmentResourceRoleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_assignment_resource_role_id is None: raise TypeError("access_package_assignment_resource_role_id cannot be null.") from .item.access_package_assignment_resource_role_item_request_builder import AccessPackageAssignmentResourceRoleItemRequestBuilder @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa Returns: Optional[AccessPackageAssignmentResourceRoleCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/entitlementmanagement-list-accesspackageassignmentresourceroles?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def post(self,body: AccessPackageAssignmentResourceRole, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignmentResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -98,6 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_post_request_information(self,body: AccessPackageAssignmentResourceRole, param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -124,6 +129,7 @@ def with_url(self,raw_url: str) -> AccessPackageAssignmentResourceRolesRequestBu param raw_url: The raw URL to use for the request builder. Returns: AccessPackageAssignmentResourceRolesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageAssignmentResourceRolesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/count/count_request_builder.py index 0a18025292e..6d1eb34415c 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_assignment_resource_role_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_assignment_resource_role_item_request_builder.py index 9c457c94845..2770811b5d6 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_assignment_resource_role_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_assignment_resource_role_item_request_builder.py @@ -40,6 +40,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,6 +60,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa Returns: Optional[AccessPackageAssignmentResourceRole] Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentresourcerole-get?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,6 +82,7 @@ async def patch(self,body: AccessPackageAssignmentResourceRole, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignmentResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -102,6 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,6 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,6 +130,7 @@ def to_patch_request_information(self,body: AccessPackageAssignmentResourceRole, param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -139,6 +145,7 @@ def with_url(self,raw_url: str) -> AccessPackageAssignmentResourceRoleItemReques param raw_url: The raw URL to use for the request builder. Returns: AccessPackageAssignmentResourceRoleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageAssignmentResourceRoleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_assignments/access_package_assignments_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_assignments/access_package_assignments_request_builder.py index c21cc66d38a..4553603f8f2 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_assignments/access_package_assignments_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_assignments/access_package_assignments_request_builder.py @@ -38,6 +38,7 @@ def by_access_package_assignment_id(self,access_package_assignment_id: str) -> A param access_package_assignment_id: The unique identifier of accessPackageAssignment Returns: AccessPackageAssignmentItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_assignment_id is None: raise TypeError("access_package_assignment_id cannot be null.") from .item.access_package_assignment_item_request_builder import AccessPackageAssignmentItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignmentCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> AccessPackageAssignmentsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageAssignmentsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageAssignmentsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_assignments/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_assignments/count/count_request_builder.py index fde1ca6f9dc..dd9eccbc576 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_assignments/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_assignments/item/access_package_assignment_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_assignments/item/access_package_assignment_item_request_builder.py index 2de9f7f7c34..d8aee2aff01 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_assignments/item/access_package_assignment_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_assignments/item/access_package_assignment_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignment] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageAssignmentItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageAssignmentItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageAssignmentItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py index d58e3f5ea80..34912cf63b9 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceEnvironment] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceEnvironmentRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceEnvironmentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceEnvironmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_request_builder.py index 1566bae3190..6a60828a07e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_request_builder.py @@ -42,6 +42,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -60,6 +61,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,6 +83,7 @@ async def patch(self,body: AccessPackageResource, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,6 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -114,6 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,6 +131,7 @@ def to_patch_request_information(self,body: AccessPackageResource, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,6 +146,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py index 20189757ee0..eff53432c2c 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py @@ -39,6 +39,7 @@ def by_access_package_resource_role_id(self,access_package_resource_role_id: str param access_package_resource_role_id: The unique identifier of accessPackageResourceRole Returns: AccessPackageResourceRoleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_role_id is None: raise TypeError("access_package_resource_role_id cannot be null.") from .item.access_package_resource_role_item_request_builder import AccessPackageResourceRoleItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRoleCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AccessPackageResourceRole, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceRole, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRolesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRolesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRolesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_roles/count/count_request_builder.py index 8ae73407617..66bf921d024 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_roles/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py index 9d5c0c6b809..0fbf024caba 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AccessPackageResourceRole, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: AccessPackageResourceRole, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRoleItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRoleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRoleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py index 259e82fd9bb..e13fbb1d4b1 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py @@ -39,6 +39,7 @@ def by_access_package_resource_scope_id(self,access_package_resource_scope_id: s param access_package_resource_scope_id: The unique identifier of accessPackageResourceScope Returns: AccessPackageResourceScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_scope_id is None: raise TypeError("access_package_resource_scope_id cannot be null.") from .item.access_package_resource_scope_item_request_builder import AccessPackageResourceScopeItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScopeCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AccessPackageResourceScope, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceScope, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/count/count_request_builder.py index 5900d3822d7..3b82e85ea45 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py index 28d3ee31712..358b34d9f11 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceEnvironment] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceEnvironmentRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceEnvironmentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceEnvironmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py index c7b513a9015..5bc240d6534 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py @@ -41,6 +41,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,6 +60,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,6 +82,7 @@ async def patch(self,body: AccessPackageResource, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -102,6 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,6 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,6 +130,7 @@ def to_patch_request_information(self,body: AccessPackageResource, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -139,6 +145,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py index 374c2569385..15cb456dfa0 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py @@ -39,6 +39,7 @@ def by_access_package_resource_role_id(self,access_package_resource_role_id: str param access_package_resource_role_id: The unique identifier of accessPackageResourceRole Returns: AccessPackageResourceRoleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_role_id is None: raise TypeError("access_package_resource_role_id cannot be null.") from .item.access_package_resource_role_item_request_builder import AccessPackageResourceRoleItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRoleCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AccessPackageResourceRole, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceRole, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRolesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRolesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRolesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py index 407a2037c94..7ef4f52dcec 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py index 339edcea947..da5422db93b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AccessPackageResourceRole, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: AccessPackageResourceRole, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRoleItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRoleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRoleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py index b4fac089b6c..824c0caa8ef 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[External param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalOriginResourceConnector] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ExternalOriginResourceConnectorRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: ExternalOriginResourceConnectorRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ExternalOriginResourceConnectorRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py index a5d80dbfe93..3ed35f90d5c 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> RefreshRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefreshRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefreshRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/count/count_request_builder.py index d9940bf7601..3768572750d 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py index 9f55da5ceed..7bda164b361 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: CustomDataProvidedResourceUploadSession, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: CustomDataProvidedResourceUploadSess param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceUploadSessionItemRe param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceUploadSessionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py index b82f5eeaa21..8ee2838726a 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/files_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/files_request_builder.py index cf0f98e7812..ee6b42ef9e1 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/files_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/files_request_builder.py @@ -38,6 +38,7 @@ def by_custom_data_provided_resource_file_id(self,custom_data_provided_resource_ param custom_data_provided_resource_file_id: The unique identifier of customDataProvidedResourceFile Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_file_id is None: raise TypeError("custom_data_provided_resource_file_id cannot be null.") from .item.custom_data_provided_resource_file_item_request_builder import CustomDataProvidedResourceFileItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilesReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFileCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> FilesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py index 247521b1fed..3df18724e54 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFile] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceFileItemRequestBuil param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceFileItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py index 5f7a11fcfe8..b43cd75f55b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py @@ -35,6 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_put_request_information( @@ -92,6 +95,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -103,6 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/octet-stream, application/json") @@ -115,6 +120,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PUT, self.url_template, self.path_parameters) @@ -129,6 +135,7 @@ def with_url(self,raw_url: str) -> ContentRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ContentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ContentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py index 3f2972e1bb7..02d3d2c3e90 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[CustomDataProvidedResourceUploadSession] Find more info here: https://learn.microsoft.com/graph/api/customdataprovidedresourceuploadsession-uploadfile?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> UploadFileRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadFileRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadFileRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py index 2d94c08ee39..df6b2625d4a 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py @@ -39,6 +39,7 @@ def by_custom_data_provided_resource_upload_session_id(self,custom_data_provided param custom_data_provided_resource_upload_session_id: The unique identifier of customDataProvidedResourceUploadSession Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_upload_session_id is None: raise TypeError("custom_data_provided_resource_upload_session_id cannot be null.") from .item.custom_data_provided_resource_upload_session_item_request_builder import CustomDataProvidedResourceUploadSessionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UploadSe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSessionCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: CustomDataProvidedResourceUploadSession, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: CustomDataProvidedResourceUploadSessi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> UploadSessionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadSessionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadSessionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py index 6c5b20f018e..6824aa0260c 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: AccessPackageResourceScope, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: AccessPackageResourceScope, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopeItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopeItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py index 7eb35c92634..0366cbd2387 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[External param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalOriginResourceConnector] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ExternalOriginResourceConnectorRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: ExternalOriginResourceConnectorRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ExternalOriginResourceConnectorRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/refresh/refresh_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/refresh/refresh_request_builder.py index 636cfa4d151..d571c1fbdf2 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/refresh/refresh_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/refresh/refresh_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> RefreshRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefreshRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefreshRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/count/count_request_builder.py index 521c4ad0961..6e1123cd7d5 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py index 4d7b7bc5107..8a4f8491c0f 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: CustomDataProvidedResourceUploadSession, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: CustomDataProvidedResourceUploadSess param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceUploadSessionItemRe param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceUploadSessionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/count/count_request_builder.py index 5b2e131d882..7cf22636b6c 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/files_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/files_request_builder.py index 6f72955eb19..73adab0425c 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/files_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/files_request_builder.py @@ -38,6 +38,7 @@ def by_custom_data_provided_resource_file_id(self,custom_data_provided_resource_ param custom_data_provided_resource_file_id: The unique identifier of customDataProvidedResourceFile Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_file_id is None: raise TypeError("custom_data_provided_resource_file_id cannot be null.") from .item.custom_data_provided_resource_file_item_request_builder import CustomDataProvidedResourceFileItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilesReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFileCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> FilesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py index c601d09e469..f3cafdd1bbe 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFile] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceFileItemRequestBuil param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceFileItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py index 73f9ed9e4eb..17284cbb727 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py @@ -35,6 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_put_request_information( @@ -92,6 +95,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -103,6 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/octet-stream, application/json") @@ -115,6 +120,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PUT, self.url_template, self.path_parameters) @@ -129,6 +135,7 @@ def with_url(self,raw_url: str) -> ContentRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ContentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ContentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py index e3e358a2c3c..51f7ffbfa49 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[CustomDataProvidedResourceUploadSession] Find more info here: https://learn.microsoft.com/graph/api/customdataprovidedresourceuploadsession-uploadfile?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> UploadFileRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadFileRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadFileRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/upload_sessions_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/upload_sessions_request_builder.py index 0a937751537..fe7f81ba270 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/upload_sessions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/upload_sessions_request_builder.py @@ -39,6 +39,7 @@ def by_custom_data_provided_resource_upload_session_id(self,custom_data_provided param custom_data_provided_resource_upload_session_id: The unique identifier of customDataProvidedResourceUploadSession Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_upload_session_id is None: raise TypeError("custom_data_provided_resource_upload_session_id cannot be null.") from .item.custom_data_provided_resource_upload_session_item_request_builder import CustomDataProvidedResourceUploadSessionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UploadSe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSessionCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: CustomDataProvidedResourceUploadSession, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: CustomDataProvidedResourceUploadSessi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> UploadSessionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadSessionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadSessionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource_role_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource_role_request_builder.py index f1d31de70e3..64ab0e7909b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource_role_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource_role_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: AccessPackageResourceRole, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: AccessPackageResourceRole, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRoleRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRoleRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRoleRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py index 611976bd0b4..365c639cd0f 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceEnvironment] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceEnvironmentRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceEnvironmentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceEnvironmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_request_builder.py index 606917298a8..eaa85574c3e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_request_builder.py @@ -42,6 +42,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -60,6 +61,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,6 +83,7 @@ async def patch(self,body: AccessPackageResource, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,6 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -114,6 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,6 +131,7 @@ def to_patch_request_information(self,body: AccessPackageResource, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,6 +146,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py index 78688fdd771..0cd20b35940 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py @@ -39,6 +39,7 @@ def by_access_package_resource_role_id(self,access_package_resource_role_id: str param access_package_resource_role_id: The unique identifier of accessPackageResourceRole Returns: AccessPackageResourceRoleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_role_id is None: raise TypeError("access_package_resource_role_id cannot be null.") from .item.access_package_resource_role_item_request_builder import AccessPackageResourceRoleItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRoleCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AccessPackageResourceRole, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceRole, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRolesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRolesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRolesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/count/count_request_builder.py index 10a00f3a63d..0768669e612 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py index 100c20329b9..51eae65cbbd 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceEnvironment] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceEnvironmentRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceEnvironmentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceEnvironmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py index 030f78eebee..6875160e50f 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py @@ -41,6 +41,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,6 +60,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,6 +82,7 @@ async def patch(self,body: AccessPackageResource, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -102,6 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,6 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,6 +130,7 @@ def to_patch_request_information(self,body: AccessPackageResource, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -139,6 +145,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py index 7fa8a03cf94..a21e16102f8 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py @@ -39,6 +39,7 @@ def by_access_package_resource_scope_id(self,access_package_resource_scope_id: s param access_package_resource_scope_id: The unique identifier of accessPackageResourceScope Returns: AccessPackageResourceScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_scope_id is None: raise TypeError("access_package_resource_scope_id cannot be null.") from .item.access_package_resource_scope_item_request_builder import AccessPackageResourceScopeItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScopeCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AccessPackageResourceScope, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceScope, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py index efe0256ef38..3931b8a1298 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py index 9013bbddbd0..542b7771b85 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AccessPackageResourceScope, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: AccessPackageResourceScope, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopeItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopeItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py index 0a8c7fcbf02..7906bc1558e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[External param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalOriginResourceConnector] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ExternalOriginResourceConnectorRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: ExternalOriginResourceConnectorRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ExternalOriginResourceConnectorRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py index f7f1c9c8b28..e4e65816522 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> RefreshRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefreshRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefreshRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/count/count_request_builder.py index 5a8d513f578..b2ca3f2dc9b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py index 1a2cec49099..70220914de3 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: CustomDataProvidedResourceUploadSession, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: CustomDataProvidedResourceUploadSess param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceUploadSessionItemRe param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceUploadSessionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py index d7799e98ded..572add27dae 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/files_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/files_request_builder.py index ecf133918a7..6b2c3edd5ed 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/files_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/files_request_builder.py @@ -38,6 +38,7 @@ def by_custom_data_provided_resource_file_id(self,custom_data_provided_resource_ param custom_data_provided_resource_file_id: The unique identifier of customDataProvidedResourceFile Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_file_id is None: raise TypeError("custom_data_provided_resource_file_id cannot be null.") from .item.custom_data_provided_resource_file_item_request_builder import CustomDataProvidedResourceFileItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilesReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFileCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> FilesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py index b643ba7b6f6..907755a31a0 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFile] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceFileItemRequestBuil param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceFileItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py index d1576f02bed..5e7742cf024 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py @@ -35,6 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_put_request_information( @@ -92,6 +95,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -103,6 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/octet-stream, application/json") @@ -115,6 +120,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PUT, self.url_template, self.path_parameters) @@ -129,6 +135,7 @@ def with_url(self,raw_url: str) -> ContentRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ContentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ContentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py index 23b8bffa109..4eca10b0b81 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[CustomDataProvidedResourceUploadSession] Find more info here: https://learn.microsoft.com/graph/api/customdataprovidedresourceuploadsession-uploadfile?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> UploadFileRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadFileRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadFileRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py index 0be03ad59bf..f4d8d8a61b2 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py @@ -39,6 +39,7 @@ def by_custom_data_provided_resource_upload_session_id(self,custom_data_provided param custom_data_provided_resource_upload_session_id: The unique identifier of customDataProvidedResourceUploadSession Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_upload_session_id is None: raise TypeError("custom_data_provided_resource_upload_session_id cannot be null.") from .item.custom_data_provided_resource_upload_session_item_request_builder import CustomDataProvidedResourceUploadSessionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UploadSe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSessionCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: CustomDataProvidedResourceUploadSession, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: CustomDataProvidedResourceUploadSessi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> UploadSessionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadSessionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadSessionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py index c4cbedde9a2..d1c04c7bb9d 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: AccessPackageResourceRole, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: AccessPackageResourceRole, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRoleItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRoleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRoleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py index 1dec094a54d..a7c462776ed 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py @@ -39,6 +39,7 @@ def by_access_package_resource_scope_id(self,access_package_resource_scope_id: s param access_package_resource_scope_id: The unique identifier of accessPackageResourceScope Returns: AccessPackageResourceScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_scope_id is None: raise TypeError("access_package_resource_scope_id cannot be null.") from .item.access_package_resource_scope_item_request_builder import AccessPackageResourceScopeItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScopeCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AccessPackageResourceScope, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceScope, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/count/count_request_builder.py index 567177c6918..ea67da84172 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py index 73becbe94d4..387deac2feb 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AccessPackageResourceScope, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: AccessPackageResourceScope, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopeItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopeItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py index 51d3acd0ca8..2b975a7372b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[External param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalOriginResourceConnector] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ExternalOriginResourceConnectorRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: ExternalOriginResourceConnectorRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ExternalOriginResourceConnectorRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/refresh/refresh_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/refresh/refresh_request_builder.py index 8030138c5f2..91a573f2ba7 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/refresh/refresh_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/refresh/refresh_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> RefreshRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefreshRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefreshRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/count/count_request_builder.py index 6803604a33b..34d3f671b67 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py index cc4ac01d903..9a0a12330c3 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: CustomDataProvidedResourceUploadSession, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: CustomDataProvidedResourceUploadSess param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceUploadSessionItemRe param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceUploadSessionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/count/count_request_builder.py index 6d1b58eedf8..99b2b20d116 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/files_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/files_request_builder.py index f6bd4239859..c0d59e101b7 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/files_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/files_request_builder.py @@ -38,6 +38,7 @@ def by_custom_data_provided_resource_file_id(self,custom_data_provided_resource_ param custom_data_provided_resource_file_id: The unique identifier of customDataProvidedResourceFile Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_file_id is None: raise TypeError("custom_data_provided_resource_file_id cannot be null.") from .item.custom_data_provided_resource_file_item_request_builder import CustomDataProvidedResourceFileItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilesReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFileCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> FilesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py index 90ea5ebf16c..ee1c55962f0 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFile] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceFileItemRequestBuil param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceFileItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py index a48b3050240..b2c47de65a8 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py @@ -35,6 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_put_request_information( @@ -92,6 +95,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -103,6 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/octet-stream, application/json") @@ -115,6 +120,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PUT, self.url_template, self.path_parameters) @@ -129,6 +135,7 @@ def with_url(self,raw_url: str) -> ContentRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ContentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ContentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py index 38705132bfa..deabbda2a73 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[CustomDataProvidedResourceUploadSession] Find more info here: https://learn.microsoft.com/graph/api/customdataprovidedresourceuploadsession-uploadfile?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> UploadFileRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadFileRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadFileRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/upload_sessions_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/upload_sessions_request_builder.py index cbabab50517..53f5098508a 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/upload_sessions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/upload_sessions_request_builder.py @@ -39,6 +39,7 @@ def by_custom_data_provided_resource_upload_session_id(self,custom_data_provided param custom_data_provided_resource_upload_session_id: The unique identifier of customDataProvidedResourceUploadSession Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_upload_session_id is None: raise TypeError("custom_data_provided_resource_upload_session_id cannot be null.") from .item.custom_data_provided_resource_upload_session_item_request_builder import CustomDataProvidedResourceUploadSessionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UploadSe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSessionCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: CustomDataProvidedResourceUploadSession, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: CustomDataProvidedResourceUploadSessi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> UploadSessionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadSessionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadSessionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource_scope_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource_scope_request_builder.py index 6da154174fe..4e8fdda6924 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource_scope_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource_scope_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: AccessPackageResourceScope, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: AccessPackageResourceScope, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_subject/access_package_subject_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_subject/access_package_subject_request_builder.py index a3dc61e1c48..971ca394173 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_subject/access_package_subject_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_subject/access_package_subject_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageSubject] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: AccessPackageSubject, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageSubject] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: AccessPackageSubject, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> AccessPackageSubjectRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageSubjectRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageSubjectRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_subject/connected_organization/connected_organization_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_subject/connected_organization/connected_organization_request_builder.py index be494189c73..60f094c5676 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_subject/connected_organization/connected_organization_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/item/access_package_subject/connected_organization/connected_organization_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Connecte param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConnectedOrganization] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ConnectedOrganizationRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ConnectedOrganizationRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ConnectedOrganizationRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/my/my_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/my/my_request_builder.py index 437aaa1678f..71fb31cf657 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/my/my_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_resource_roles/my/my_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MyReques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MyGetResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> MyRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MyRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MyRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/access_package_assignments_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/access_package_assignments_request_builder.py index 36e575bc1b1..c757a8aa6f4 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/access_package_assignments_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/access_package_assignments_request_builder.py @@ -43,6 +43,7 @@ def additional_access_with_access_package_id_with_incompatible_access_package_id param incompatible_access_package_id: Usage: incompatibleAccessPackageId='{incompatibleAccessPackageId}' Returns: AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_id is None: raise TypeError("access_package_id cannot be null.") if incompatible_access_package_id is None: @@ -57,6 +58,7 @@ def by_access_package_assignment_id(self,access_package_assignment_id: str) -> A param access_package_assignment_id: The unique identifier of accessPackageAssignment Returns: AccessPackageAssignmentItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_assignment_id is None: raise TypeError("access_package_assignment_id cannot be null.") from .item.access_package_assignment_item_request_builder import AccessPackageAssignmentItemRequestBuilder @@ -71,6 +73,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -84,6 +87,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa Returns: Optional[AccessPackageAssignmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/entitlementmanagement-list-accesspackageassignments?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -105,6 +109,7 @@ async def post(self,body: AccessPackageAssignment, request_configuration: Option param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignment] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -127,6 +132,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -139,6 +145,7 @@ def to_post_request_information(self,body: AccessPackageAssignment, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -153,6 +160,7 @@ def with_url(self,raw_url: str) -> AccessPackageAssignmentsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageAssignmentsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageAssignmentsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/additional_access/additional_access_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/additional_access/additional_access_request_builder.py index c800e1b1b43..c586cdfdd4e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/additional_access/additional_access_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/additional_access/additional_access_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Addition Returns: Optional[AdditionalAccessGetResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignment-additionalaccess?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> AdditionalAccessRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AdditionalAccessRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AdditionalAccessRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/additional_access_with_access_package_id_with_incompatible_access_package_id/additional_access_with_access_package_id_with_incompatible_access_package_id_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/additional_access_with_access_package_id_with_incompatible_access_package_id/additional_access_with_access_package_id_with_incompatible_access_package_id_request_builder.py index fd90f3a3070..e2e9e434f94 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/additional_access_with_access_package_id_with_incompatible_access_package_id/additional_access_with_access_package_id_with_incompatible_access_package_id_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/additional_access_with_access_package_id_with_incompatible_access_package_id/additional_access_with_access_package_id_with_incompatible_access_package_id_request_builder.py @@ -41,6 +41,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Addition param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdGetResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -61,6 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -72,6 +74,7 @@ def with_url(self,raw_url: str) -> AdditionalAccessWithAccessPackageIdWithIncomp param raw_url: The raw URL to use for the request builder. Returns: AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/count/count_request_builder.py index 044cdf986df..2558ccd94ba 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 2b33c8ef85b..117667352ab 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignment-filterbycurrentuser?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_request_builder.py index e8986db5f09..8716737580a 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_request_builder.py @@ -45,6 +45,7 @@ def access_packages_incompatible_with_with_unique_name(self,unique_name: str) -> param unique_name: Alternate key of accessPackage Returns: AccessPackagesIncompatibleWithWithUniqueNameRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if unique_name is None: raise TypeError("unique_name cannot be null.") from .access_packages_incompatible_with_with_unique_name.access_packages_incompatible_with_with_unique_name_request_builder import AccessPackagesIncompatibleWithWithUniqueNameRequestBuilder @@ -57,6 +58,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackage] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -96,6 +99,7 @@ async def patch(self,body: AccessPackage, request_configuration: Optional[Reques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackage] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -118,6 +122,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -129,6 +134,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -141,6 +147,7 @@ def to_patch_request_information(self,body: AccessPackage, request_configuration param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -155,6 +162,7 @@ def with_url(self,raw_url: str) -> AccessPackageRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/access_package_resource_role_scopes_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/access_package_resource_role_scopes_request_builder.py index b1d1532847a..8d6a602fc8b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/access_package_resource_role_scopes_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/access_package_resource_role_scopes_request_builder.py @@ -39,6 +39,7 @@ def by_access_package_resource_role_scope_id(self,access_package_resource_role_s param access_package_resource_role_scope_id: The unique identifier of accessPackageResourceRoleScope Returns: AccessPackageResourceRoleScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_role_scope_id is None: raise TypeError("access_package_resource_role_scope_id cannot be null.") from .item.access_package_resource_role_scope_item_request_builder import AccessPackageResourceRoleScopeItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRoleScopeCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AccessPackageResourceRoleScope, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRoleScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceRoleScope, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRoleScopesRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRoleScopesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRoleScopesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/count/count_request_builder.py index 0812f6e6e16..7ceb360eb41 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py index 9da8849c2a9..b6c232e6d9a 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceEnvironment] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceEnvironmentRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceEnvironmentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceEnvironmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_request_builder.py index d086e52feea..be2d8eabd85 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_request_builder.py @@ -42,6 +42,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -60,6 +61,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,6 +83,7 @@ async def patch(self,body: AccessPackageResource, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,6 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -114,6 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,6 +131,7 @@ def to_patch_request_information(self,body: AccessPackageResource, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,6 +146,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py index e1aa5c56a5a..41f32018a27 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py @@ -39,6 +39,7 @@ def by_access_package_resource_role_id(self,access_package_resource_role_id: str param access_package_resource_role_id: The unique identifier of accessPackageResourceRole Returns: AccessPackageResourceRoleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_role_id is None: raise TypeError("access_package_resource_role_id cannot be null.") from .item.access_package_resource_role_item_request_builder import AccessPackageResourceRoleItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRoleCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AccessPackageResourceRole, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceRole, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRolesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRolesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRolesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/count/count_request_builder.py index e45133d0a40..4c92b740963 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py index bc3c8b1f904..a0d82cacf3e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AccessPackageResourceRole, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: AccessPackageResourceRole, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRoleItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRoleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRoleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py index a1144640716..f5c98c0445a 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py @@ -39,6 +39,7 @@ def by_access_package_resource_scope_id(self,access_package_resource_scope_id: s param access_package_resource_scope_id: The unique identifier of accessPackageResourceScope Returns: AccessPackageResourceScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_scope_id is None: raise TypeError("access_package_resource_scope_id cannot be null.") from .item.access_package_resource_scope_item_request_builder import AccessPackageResourceScopeItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScopeCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AccessPackageResourceScope, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceScope, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/count/count_request_builder.py index 33e815e5075..2b9c72cf5bf 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py index f6820c5bbf5..201dbf156e8 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceEnvironment] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceEnvironmentRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceEnvironmentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceEnvironmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py index 0f15589bbf3..437a3c4df40 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py @@ -41,6 +41,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,6 +60,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,6 +82,7 @@ async def patch(self,body: AccessPackageResource, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -102,6 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,6 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,6 +130,7 @@ def to_patch_request_information(self,body: AccessPackageResource, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -139,6 +145,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py index a5afffe827a..7915e613445 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py @@ -39,6 +39,7 @@ def by_access_package_resource_role_id(self,access_package_resource_role_id: str param access_package_resource_role_id: The unique identifier of accessPackageResourceRole Returns: AccessPackageResourceRoleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_role_id is None: raise TypeError("access_package_resource_role_id cannot be null.") from .item.access_package_resource_role_item_request_builder import AccessPackageResourceRoleItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRoleCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AccessPackageResourceRole, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceRole, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRolesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRolesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRolesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py index a370cc04726..8543f689b33 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py index 36e7bdee4b7..d7f02d66756 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AccessPackageResourceRole, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: AccessPackageResourceRole, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRoleItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRoleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRoleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py index b7f23114494..db2b628443a 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[External param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalOriginResourceConnector] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ExternalOriginResourceConnectorRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: ExternalOriginResourceConnectorRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ExternalOriginResourceConnectorRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py index c21b2f3b52f..5994014442a 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> RefreshRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefreshRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefreshRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/count/count_request_builder.py index 2ec9abb20d1..51bf411c030 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py index e109e14b2a4..e4001499512 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: CustomDataProvidedResourceUploadSession, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: CustomDataProvidedResourceUploadSess param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceUploadSessionItemRe param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceUploadSessionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py index d32e1ac923d..9adf92fa83d 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/files_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/files_request_builder.py index 01eade5b17c..3ff749d76b7 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/files_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/files_request_builder.py @@ -38,6 +38,7 @@ def by_custom_data_provided_resource_file_id(self,custom_data_provided_resource_ param custom_data_provided_resource_file_id: The unique identifier of customDataProvidedResourceFile Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_file_id is None: raise TypeError("custom_data_provided_resource_file_id cannot be null.") from .item.custom_data_provided_resource_file_item_request_builder import CustomDataProvidedResourceFileItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilesReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFileCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> FilesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py index ee8ee1852aa..79f3ac67c2d 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFile] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceFileItemRequestBuil param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceFileItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py index 2d3eff2d4bf..bd8173d9739 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py @@ -35,6 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_put_request_information( @@ -92,6 +95,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -103,6 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/octet-stream, application/json") @@ -115,6 +120,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PUT, self.url_template, self.path_parameters) @@ -129,6 +135,7 @@ def with_url(self,raw_url: str) -> ContentRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ContentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ContentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py index 102553d64a0..2d44032a89f 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[CustomDataProvidedResourceUploadSession] Find more info here: https://learn.microsoft.com/graph/api/customdataprovidedresourceuploadsession-uploadfile?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> UploadFileRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadFileRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadFileRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py index ed08bd94f37..3b495cd991d 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py @@ -39,6 +39,7 @@ def by_custom_data_provided_resource_upload_session_id(self,custom_data_provided param custom_data_provided_resource_upload_session_id: The unique identifier of customDataProvidedResourceUploadSession Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_upload_session_id is None: raise TypeError("custom_data_provided_resource_upload_session_id cannot be null.") from .item.custom_data_provided_resource_upload_session_item_request_builder import CustomDataProvidedResourceUploadSessionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UploadSe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSessionCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: CustomDataProvidedResourceUploadSession, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: CustomDataProvidedResourceUploadSessi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> UploadSessionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadSessionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadSessionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py index 174a0755b5b..0b14b410944 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: AccessPackageResourceScope, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: AccessPackageResourceScope, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopeItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopeItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py index 244c28d0f06..9b673e0b902 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[External param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalOriginResourceConnector] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ExternalOriginResourceConnectorRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: ExternalOriginResourceConnectorRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ExternalOriginResourceConnectorRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/refresh/refresh_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/refresh/refresh_request_builder.py index 1b590b7762d..cf25a990edd 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/refresh/refresh_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/refresh/refresh_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> RefreshRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefreshRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefreshRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/count/count_request_builder.py index 3966bade20d..4e025ff2cda 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py index 91f0e8c2d12..94829dd4a53 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: CustomDataProvidedResourceUploadSession, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: CustomDataProvidedResourceUploadSess param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceUploadSessionItemRe param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceUploadSessionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/count/count_request_builder.py index 2e3ee8756b5..12c2f4cf872 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/files_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/files_request_builder.py index 05c370c9a19..753a6657d85 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/files_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/files_request_builder.py @@ -38,6 +38,7 @@ def by_custom_data_provided_resource_file_id(self,custom_data_provided_resource_ param custom_data_provided_resource_file_id: The unique identifier of customDataProvidedResourceFile Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_file_id is None: raise TypeError("custom_data_provided_resource_file_id cannot be null.") from .item.custom_data_provided_resource_file_item_request_builder import CustomDataProvidedResourceFileItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilesReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFileCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> FilesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py index d31ca56a197..e0091eda9db 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFile] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceFileItemRequestBuil param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceFileItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py index 89641aa6344..8b51319f6aa 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py @@ -35,6 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_put_request_information( @@ -92,6 +95,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -103,6 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/octet-stream, application/json") @@ -115,6 +120,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PUT, self.url_template, self.path_parameters) @@ -129,6 +135,7 @@ def with_url(self,raw_url: str) -> ContentRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ContentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ContentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py index af10998b3e4..658d3567995 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[CustomDataProvidedResourceUploadSession] Find more info here: https://learn.microsoft.com/graph/api/customdataprovidedresourceuploadsession-uploadfile?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> UploadFileRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadFileRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadFileRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/upload_sessions_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/upload_sessions_request_builder.py index 13b5f3ea162..db1e1a2cdb9 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/upload_sessions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/upload_sessions_request_builder.py @@ -39,6 +39,7 @@ def by_custom_data_provided_resource_upload_session_id(self,custom_data_provided param custom_data_provided_resource_upload_session_id: The unique identifier of customDataProvidedResourceUploadSession Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_upload_session_id is None: raise TypeError("custom_data_provided_resource_upload_session_id cannot be null.") from .item.custom_data_provided_resource_upload_session_item_request_builder import CustomDataProvidedResourceUploadSessionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UploadSe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSessionCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: CustomDataProvidedResourceUploadSession, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: CustomDataProvidedResourceUploadSessi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> UploadSessionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadSessionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadSessionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource_role_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource_role_request_builder.py index 8903cc57fed..072769a46ad 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource_role_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource_role_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: AccessPackageResourceRole, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: AccessPackageResourceRole, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRoleRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRoleRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRoleRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role_scope_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role_scope_item_request_builder.py index 47731c38911..d2b0410801c 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role_scope_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_role_scope_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRoleScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: AccessPackageResourceRoleScope, request_configuration param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRoleScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: AccessPackageResourceRoleScope, requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRoleScopeItemRequestBuil param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRoleScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRoleScopeItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py index 109f4de7f51..4aaf78026cc 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceEnvironment] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceEnvironmentRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceEnvironmentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceEnvironmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_request_builder.py index 0b9f585d2d7..789ed0b8484 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_request_builder.py @@ -42,6 +42,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -60,6 +61,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,6 +83,7 @@ async def patch(self,body: AccessPackageResource, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,6 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -114,6 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,6 +131,7 @@ def to_patch_request_information(self,body: AccessPackageResource, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,6 +146,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py index 6fe905734b3..cde60fceca8 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py @@ -39,6 +39,7 @@ def by_access_package_resource_role_id(self,access_package_resource_role_id: str param access_package_resource_role_id: The unique identifier of accessPackageResourceRole Returns: AccessPackageResourceRoleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_role_id is None: raise TypeError("access_package_resource_role_id cannot be null.") from .item.access_package_resource_role_item_request_builder import AccessPackageResourceRoleItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRoleCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AccessPackageResourceRole, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceRole, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRolesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRolesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRolesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/count/count_request_builder.py index 23426b04139..c43da598390 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py index 5dbd816f7a2..cda55c5ee6b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceEnvironment] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceEnvironmentRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceEnvironmentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceEnvironmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py index 00cbb9b382d..b8e64a817fa 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py @@ -41,6 +41,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,6 +60,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,6 +82,7 @@ async def patch(self,body: AccessPackageResource, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -102,6 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,6 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,6 +130,7 @@ def to_patch_request_information(self,body: AccessPackageResource, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -139,6 +145,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py index 16c3eb8f4ef..65299f9b0e5 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py @@ -39,6 +39,7 @@ def by_access_package_resource_scope_id(self,access_package_resource_scope_id: s param access_package_resource_scope_id: The unique identifier of accessPackageResourceScope Returns: AccessPackageResourceScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_scope_id is None: raise TypeError("access_package_resource_scope_id cannot be null.") from .item.access_package_resource_scope_item_request_builder import AccessPackageResourceScopeItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScopeCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AccessPackageResourceScope, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceScope, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py index 9092015680c..f9e9adfd462 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py index da1346dde80..1da765babb4 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AccessPackageResourceScope, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: AccessPackageResourceScope, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopeItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopeItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py index d6e06044463..0a73b95a70b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[External param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalOriginResourceConnector] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ExternalOriginResourceConnectorRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: ExternalOriginResourceConnectorRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ExternalOriginResourceConnectorRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py index fb74514219a..9389c226d1f 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> RefreshRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefreshRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefreshRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/count/count_request_builder.py index 6a761dd51b3..225c953567c 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py index 05cc86f047a..120a69ca51b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: CustomDataProvidedResourceUploadSession, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: CustomDataProvidedResourceUploadSess param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceUploadSessionItemRe param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceUploadSessionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py index 8c0d5cc5d9b..f1ad6f408de 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/files_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/files_request_builder.py index 277516e5152..04feeb5e387 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/files_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/files_request_builder.py @@ -38,6 +38,7 @@ def by_custom_data_provided_resource_file_id(self,custom_data_provided_resource_ param custom_data_provided_resource_file_id: The unique identifier of customDataProvidedResourceFile Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_file_id is None: raise TypeError("custom_data_provided_resource_file_id cannot be null.") from .item.custom_data_provided_resource_file_item_request_builder import CustomDataProvidedResourceFileItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilesReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFileCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> FilesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py index 53911dab393..f498d21d2ef 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFile] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceFileItemRequestBuil param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceFileItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py index 02034c714c7..c71a78cd11d 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py @@ -35,6 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_put_request_information( @@ -92,6 +95,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -103,6 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/octet-stream, application/json") @@ -115,6 +120,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PUT, self.url_template, self.path_parameters) @@ -129,6 +135,7 @@ def with_url(self,raw_url: str) -> ContentRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ContentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ContentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py index 16b8685c003..c20b48d1dc8 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[CustomDataProvidedResourceUploadSession] Find more info here: https://learn.microsoft.com/graph/api/customdataprovidedresourceuploadsession-uploadfile?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> UploadFileRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadFileRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadFileRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py index a8f2c8fa579..0a4bd15d86e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py @@ -39,6 +39,7 @@ def by_custom_data_provided_resource_upload_session_id(self,custom_data_provided param custom_data_provided_resource_upload_session_id: The unique identifier of customDataProvidedResourceUploadSession Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_upload_session_id is None: raise TypeError("custom_data_provided_resource_upload_session_id cannot be null.") from .item.custom_data_provided_resource_upload_session_item_request_builder import CustomDataProvidedResourceUploadSessionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UploadSe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSessionCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: CustomDataProvidedResourceUploadSession, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: CustomDataProvidedResourceUploadSessi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> UploadSessionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadSessionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadSessionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py index 0b39c179422..4c20720c838 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: AccessPackageResourceRole, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: AccessPackageResourceRole, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRoleItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRoleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRoleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py index 3a7d027d3c4..293b78ad1fa 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py @@ -39,6 +39,7 @@ def by_access_package_resource_scope_id(self,access_package_resource_scope_id: s param access_package_resource_scope_id: The unique identifier of accessPackageResourceScope Returns: AccessPackageResourceScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_scope_id is None: raise TypeError("access_package_resource_scope_id cannot be null.") from .item.access_package_resource_scope_item_request_builder import AccessPackageResourceScopeItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScopeCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AccessPackageResourceScope, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceScope, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/count/count_request_builder.py index e8110f3f696..18411da8b83 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py index d9b5bf6cbc3..6ed46fb9a06 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AccessPackageResourceScope, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: AccessPackageResourceScope, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopeItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopeItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py index c7da36c36ad..80100116313 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[External param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalOriginResourceConnector] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ExternalOriginResourceConnectorRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: ExternalOriginResourceConnectorRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ExternalOriginResourceConnectorRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/refresh/refresh_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/refresh/refresh_request_builder.py index 4ce34639464..c82fb835709 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/refresh/refresh_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/refresh/refresh_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> RefreshRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefreshRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefreshRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/count/count_request_builder.py index 5e04d2dee6b..f3ea893725f 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py index 43666e67b5c..2f7704b0541 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: CustomDataProvidedResourceUploadSession, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: CustomDataProvidedResourceUploadSess param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceUploadSessionItemRe param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceUploadSessionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/count/count_request_builder.py index a6f9df87f8b..a755ecf288e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/files_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/files_request_builder.py index 784e1300538..563da3a2c57 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/files_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/files_request_builder.py @@ -38,6 +38,7 @@ def by_custom_data_provided_resource_file_id(self,custom_data_provided_resource_ param custom_data_provided_resource_file_id: The unique identifier of customDataProvidedResourceFile Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_file_id is None: raise TypeError("custom_data_provided_resource_file_id cannot be null.") from .item.custom_data_provided_resource_file_item_request_builder import CustomDataProvidedResourceFileItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilesReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFileCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> FilesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py index ec7c43696e8..0474d279f3d 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFile] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceFileItemRequestBuil param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceFileItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py index dbddc978af3..62b81eddde9 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py @@ -35,6 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_put_request_information( @@ -92,6 +95,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -103,6 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/octet-stream, application/json") @@ -115,6 +120,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PUT, self.url_template, self.path_parameters) @@ -129,6 +135,7 @@ def with_url(self,raw_url: str) -> ContentRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ContentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ContentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py index 93d79f71807..73e83bb9997 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[CustomDataProvidedResourceUploadSession] Find more info here: https://learn.microsoft.com/graph/api/customdataprovidedresourceuploadsession-uploadfile?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> UploadFileRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadFileRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadFileRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/upload_sessions_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/upload_sessions_request_builder.py index b0952f67ee2..c3746878f2a 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/upload_sessions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/upload_sessions_request_builder.py @@ -39,6 +39,7 @@ def by_custom_data_provided_resource_upload_session_id(self,custom_data_provided param custom_data_provided_resource_upload_session_id: The unique identifier of customDataProvidedResourceUploadSession Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_upload_session_id is None: raise TypeError("custom_data_provided_resource_upload_session_id cannot be null.") from .item.custom_data_provided_resource_upload_session_item_request_builder import CustomDataProvidedResourceUploadSessionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UploadSe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSessionCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: CustomDataProvidedResourceUploadSession, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: CustomDataProvidedResourceUploadSessi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> UploadSessionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadSessionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadSessionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource_scope_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource_scope_request_builder.py index 96470619297..4beebcd3f0b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource_scope_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource_scope_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: AccessPackageResourceScope, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: AccessPackageResourceScope, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_packages_incompatible_with/access_packages_incompatible_with_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_packages_incompatible_with/access_packages_incompatible_with_request_builder.py index a16c05f8fc6..55c65cd397c 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_packages_incompatible_with/access_packages_incompatible_with_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_packages_incompatible_with/access_packages_incompatible_with_request_builder.py @@ -38,6 +38,7 @@ def by_access_package_id(self,access_package_id: str) -> AccessPackageItemReques param access_package_id: The unique identifier of accessPackage Returns: AccessPackageItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_id is None: raise TypeError("access_package_id cannot be null.") from .item.access_package_item_request_builder import AccessPackageItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> AccessPackagesIncompatibleWithRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackagesIncompatibleWithRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackagesIncompatibleWithRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_packages_incompatible_with/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_packages_incompatible_with/count/count_request_builder.py index c956ec87ab2..4ae1492551f 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_packages_incompatible_with/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_packages_incompatible_with/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_packages_incompatible_with/item/access_package_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_packages_incompatible_with/item/access_package_item_request_builder.py index aaf6e05e8be..a26406f60f3 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_packages_incompatible_with/item/access_package_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_packages_incompatible_with/item/access_package_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackage] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_packages_incompatible_with_with_unique_name/access_packages_incompatible_with_with_unique_name_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_packages_incompatible_with_with_unique_name/access_packages_incompatible_with_with_unique_name_request_builder.py index d535404dd45..f002356574e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_packages_incompatible_with_with_unique_name/access_packages_incompatible_with_with_unique_name_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_packages_incompatible_with_with_unique_name/access_packages_incompatible_with_with_unique_name_request_builder.py @@ -39,6 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackage] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,6 +72,7 @@ def with_url(self,raw_url: str) -> AccessPackagesIncompatibleWithWithUniqueNameR param raw_url: The raw URL to use for the request builder. Returns: AccessPackagesIncompatibleWithWithUniqueNameRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackagesIncompatibleWithWithUniqueNameRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/get_applicable_policy_requirements/get_applicable_policy_requirements_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/get_applicable_policy_requirements/get_applicable_policy_requirements_request_builder.py index 4e7858e447b..5e430b28e53 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/get_applicable_policy_requirements/get_applicable_policy_requirements_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/get_applicable_policy_requirements/get_applicable_policy_requirements_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[GetApplicablePolicyRequirementsPostResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackage-getapplicablepolicyrequirements?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> GetApplicablePolicyRequirementsRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: GetApplicablePolicyRequirementsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GetApplicablePolicyRequirementsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_access_packages/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_access_packages/count/count_request_builder.py index 940ee42aa90..48f8c8131fe 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_access_packages/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_access_packages/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_access_packages/incompatible_access_packages_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_access_packages/incompatible_access_packages_request_builder.py index 4413cdd2f44..1851e5539b5 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_access_packages/incompatible_access_packages_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_access_packages/incompatible_access_packages_request_builder.py @@ -53,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Incompat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -73,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -84,6 +86,7 @@ def with_url(self,raw_url: str) -> IncompatibleAccessPackagesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: IncompatibleAccessPackagesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return IncompatibleAccessPackagesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_access_packages/item/ref/ref_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_access_packages/item/ref/ref_request_builder.py index 03b7e88b34f..14e3dcd24f7 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_access_packages/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_access_packages/item/ref/ref_request_builder.py @@ -35,6 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> RefRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_access_packages/ref/ref_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_access_packages/ref/ref_request_builder.py index 70d47f3fdc6..612175972a7 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_access_packages/ref/ref_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_access_packages/ref/ref_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[RefRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RefReque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def post(self,body: ReferenceCreate, request_configuration: Optional[Reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, '{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/incompatibleAccessPackages/$ref?@id={%40id}', self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -107,6 +111,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -119,6 +124,7 @@ def to_post_request_information(self,body: ReferenceCreate, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -133,6 +139,7 @@ def with_url(self,raw_url: str) -> RefRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/count/count_request_builder.py index c4ab6d5eb19..397ccee3c24 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/incompatible_groups_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/incompatible_groups_request_builder.py index b83f94fd972..c7bf24e1df3 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/incompatible_groups_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/incompatible_groups_request_builder.py @@ -53,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Incompat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GroupCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -73,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -84,6 +86,7 @@ def with_url(self,raw_url: str) -> IncompatibleGroupsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: IncompatibleGroupsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return IncompatibleGroupsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/item/ref/ref_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/item/ref/ref_request_builder.py index 09afe1bc7aa..080d486ca58 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/item/ref/ref_request_builder.py @@ -35,6 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> RefRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/item/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/item/service_provisioning_errors/count/count_request_builder.py index d745ba97ac7..14b72d466c1 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/item/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/item/service_provisioning_errors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/item/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/item/service_provisioning_errors/service_provisioning_errors_request_builder.py index 334fb2cd0b9..ed0232d2c43 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/item/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/item/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/ref/ref_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/ref/ref_request_builder.py index 4a8ceeeb9c3..1bfeadb5daa 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/ref/ref_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/incompatible_groups/ref/ref_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[RefRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RefReque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def post(self,body: ReferenceCreate, request_configuration: Optional[Reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, '{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/incompatibleGroups/$ref?@id={%40id}', self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -107,6 +111,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -119,6 +124,7 @@ def to_post_request_information(self,body: ReferenceCreate, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -133,6 +139,7 @@ def with_url(self,raw_url: str) -> RefRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/move_to_catalog/move_to_catalog_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/move_to_catalog/move_to_catalog_request_builder.py index 890535f5a0c..321b174bd72 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/move_to_catalog/move_to_catalog_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/move_to_catalog/move_to_catalog_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: MoveToCatalogPostRequestBody, request_configuration: O Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackage-movetocatalog?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: MoveToCatalogPostRequestBody, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> MoveToCatalogRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MoveToCatalogRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MoveToCatalogRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_item_request_builder.py index e2c483708c0..61ec492c2ae 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_item_request_builder.py @@ -42,6 +42,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -60,6 +61,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignment] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,6 +83,7 @@ async def patch(self,body: AccessPackageAssignment, request_configuration: Optio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignment] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,6 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -114,6 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,6 +131,7 @@ def to_patch_request_information(self,body: AccessPackageAssignment, request_con param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,6 +146,7 @@ def with_url(self,raw_url: str) -> AccessPackageAssignmentItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageAssignmentItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageAssignmentItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/access_package_assignment_resource_roles_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/access_package_assignment_resource_roles_request_builder.py index 5196a0d0be8..4db66ebfaa3 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/access_package_assignment_resource_roles_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/access_package_assignment_resource_roles_request_builder.py @@ -40,6 +40,7 @@ def by_access_package_assignment_resource_role_id(self,access_package_assignment param access_package_assignment_resource_role_id: The unique identifier of accessPackageAssignmentResourceRole Returns: AccessPackageAssignmentResourceRoleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_assignment_resource_role_id is None: raise TypeError("access_package_assignment_resource_role_id cannot be null.") from .item.access_package_assignment_resource_role_item_request_builder import AccessPackageAssignmentResourceRoleItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignmentResourceRoleCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: AccessPackageAssignmentResourceRole, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignmentResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: AccessPackageAssignmentResourceRole, param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> AccessPackageAssignmentResourceRolesRequestBu param raw_url: The raw URL to use for the request builder. Returns: AccessPackageAssignmentResourceRolesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageAssignmentResourceRolesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/count/count_request_builder.py index fa82bc2df41..5522aea3b15 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_assignment_resource_role_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_assignment_resource_role_item_request_builder.py index 716185c6810..0d700994499 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_assignment_resource_role_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_assignment_resource_role_item_request_builder.py @@ -40,6 +40,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,6 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignmentResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def patch(self,body: AccessPackageAssignmentResourceRole, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignmentResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,6 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,6 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -124,6 +129,7 @@ def to_patch_request_information(self,body: AccessPackageAssignmentResourceRole, param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -138,6 +144,7 @@ def with_url(self,raw_url: str) -> AccessPackageAssignmentResourceRoleItemReques param raw_url: The raw URL to use for the request builder. Returns: AccessPackageAssignmentResourceRoleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageAssignmentResourceRoleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_assignments/access_package_assignments_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_assignments/access_package_assignments_request_builder.py index f318b6b3168..089f7672a89 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_assignments/access_package_assignments_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_assignments/access_package_assignments_request_builder.py @@ -38,6 +38,7 @@ def by_access_package_assignment_id1(self,access_package_assignment_id1: str) -> param access_package_assignment_id1: The unique identifier of accessPackageAssignment Returns: AccessPackageAssignmentItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_assignment_id1 is None: raise TypeError("access_package_assignment_id1 cannot be null.") from .item.access_package_assignment_item_request_builder import AccessPackageAssignmentItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignmentCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> AccessPackageAssignmentsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageAssignmentsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageAssignmentsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_assignments/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_assignments/count/count_request_builder.py index cf9b6a3751d..14e3ba9974b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_assignments/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_assignments/item/access_package_assignment_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_assignments/item/access_package_assignment_item_request_builder.py index 730b96f3983..51872c91ede 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_assignments/item/access_package_assignment_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_assignments/item/access_package_assignment_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignment] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageAssignmentItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageAssignmentItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageAssignmentItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py index 628c7e5f55f..a8878fb3733 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceEnvironment] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceEnvironmentRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceEnvironmentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceEnvironmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_request_builder.py index 52129be9716..a21c777c2c8 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_request_builder.py @@ -42,6 +42,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -60,6 +61,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,6 +83,7 @@ async def patch(self,body: AccessPackageResource, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,6 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -114,6 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,6 +131,7 @@ def to_patch_request_information(self,body: AccessPackageResource, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,6 +146,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py index ad04a102fdd..12bb8aebbde 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py @@ -39,6 +39,7 @@ def by_access_package_resource_role_id(self,access_package_resource_role_id: str param access_package_resource_role_id: The unique identifier of accessPackageResourceRole Returns: AccessPackageResourceRoleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_role_id is None: raise TypeError("access_package_resource_role_id cannot be null.") from .item.access_package_resource_role_item_request_builder import AccessPackageResourceRoleItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRoleCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AccessPackageResourceRole, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceRole, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRolesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRolesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRolesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_roles/count/count_request_builder.py index 60e685698e9..4962aff4784 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_roles/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py index 8d18915029b..1ea817b491f 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AccessPackageResourceRole, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: AccessPackageResourceRole, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRoleItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRoleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRoleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py index eb41d6bb200..49cc2c24893 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py @@ -39,6 +39,7 @@ def by_access_package_resource_scope_id(self,access_package_resource_scope_id: s param access_package_resource_scope_id: The unique identifier of accessPackageResourceScope Returns: AccessPackageResourceScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_scope_id is None: raise TypeError("access_package_resource_scope_id cannot be null.") from .item.access_package_resource_scope_item_request_builder import AccessPackageResourceScopeItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScopeCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AccessPackageResourceScope, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceScope, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/count/count_request_builder.py index 891fc78a38d..192d078fbef 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py index d918c487d21..38abceca6e5 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceEnvironment] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceEnvironmentRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceEnvironmentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceEnvironmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py index 376c37ddecf..1c9781c4818 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py @@ -41,6 +41,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,6 +60,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,6 +82,7 @@ async def patch(self,body: AccessPackageResource, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -102,6 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,6 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,6 +130,7 @@ def to_patch_request_information(self,body: AccessPackageResource, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -139,6 +145,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py index caa265a78e2..282db064aec 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py @@ -39,6 +39,7 @@ def by_access_package_resource_role_id(self,access_package_resource_role_id: str param access_package_resource_role_id: The unique identifier of accessPackageResourceRole Returns: AccessPackageResourceRoleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_role_id is None: raise TypeError("access_package_resource_role_id cannot be null.") from .item.access_package_resource_role_item_request_builder import AccessPackageResourceRoleItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRoleCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AccessPackageResourceRole, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceRole, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRolesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRolesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRolesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py index 05345219787..ef6b0559228 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py index 2cd6cca79fd..e7dd5bbe83a 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AccessPackageResourceRole, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: AccessPackageResourceRole, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRoleItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRoleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRoleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py index 83c37642119..efcc7cc3c99 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[External param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalOriginResourceConnector] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ExternalOriginResourceConnectorRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: ExternalOriginResourceConnectorRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ExternalOriginResourceConnectorRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py index e81e1cb3745..77d7a54f646 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> RefreshRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefreshRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefreshRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/count/count_request_builder.py index f9f9aaf5b64..07200d0d275 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py index 9993fb20094..4e02bdd6e59 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: CustomDataProvidedResourceUploadSession, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: CustomDataProvidedResourceUploadSess param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceUploadSessionItemRe param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceUploadSessionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py index 0e119a89f81..ae27976ec91 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/files_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/files_request_builder.py index 5e8a4fba9b5..2ae403108cb 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/files_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/files_request_builder.py @@ -38,6 +38,7 @@ def by_custom_data_provided_resource_file_id(self,custom_data_provided_resource_ param custom_data_provided_resource_file_id: The unique identifier of customDataProvidedResourceFile Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_file_id is None: raise TypeError("custom_data_provided_resource_file_id cannot be null.") from .item.custom_data_provided_resource_file_item_request_builder import CustomDataProvidedResourceFileItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilesReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFileCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> FilesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py index ce80105577f..ec03a05f3e2 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFile] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceFileItemRequestBuil param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceFileItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py index f286d6b01e2..20fe5044cae 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py @@ -35,6 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_put_request_information( @@ -92,6 +95,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -103,6 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/octet-stream, application/json") @@ -115,6 +120,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PUT, self.url_template, self.path_parameters) @@ -129,6 +135,7 @@ def with_url(self,raw_url: str) -> ContentRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ContentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ContentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py index b19873be3f1..9887f39ab74 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[CustomDataProvidedResourceUploadSession] Find more info here: https://learn.microsoft.com/graph/api/customdataprovidedresourceuploadsession-uploadfile?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> UploadFileRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadFileRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadFileRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py index 61d03ecf3f7..e3a76dfddee 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py @@ -39,6 +39,7 @@ def by_custom_data_provided_resource_upload_session_id(self,custom_data_provided param custom_data_provided_resource_upload_session_id: The unique identifier of customDataProvidedResourceUploadSession Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_upload_session_id is None: raise TypeError("custom_data_provided_resource_upload_session_id cannot be null.") from .item.custom_data_provided_resource_upload_session_item_request_builder import CustomDataProvidedResourceUploadSessionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UploadSe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSessionCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: CustomDataProvidedResourceUploadSession, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: CustomDataProvidedResourceUploadSessi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> UploadSessionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadSessionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadSessionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py index 7da561bf7cc..9978587d4d4 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: AccessPackageResourceScope, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: AccessPackageResourceScope, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopeItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopeItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py index de06cb465ec..4d487d0b390 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[External param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalOriginResourceConnector] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ExternalOriginResourceConnectorRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: ExternalOriginResourceConnectorRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ExternalOriginResourceConnectorRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/refresh/refresh_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/refresh/refresh_request_builder.py index 983ed09cc20..8ddf8db42f1 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/refresh/refresh_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/refresh/refresh_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> RefreshRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefreshRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefreshRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/count/count_request_builder.py index e354fa3ca84..ed40eee9a53 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py index 1161bf6c3d3..8ae7508caca 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: CustomDataProvidedResourceUploadSession, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: CustomDataProvidedResourceUploadSess param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceUploadSessionItemRe param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceUploadSessionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/count/count_request_builder.py index 9d91f5d6d2c..8543a42002e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/files_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/files_request_builder.py index 24563a6528d..4224b80ba41 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/files_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/files_request_builder.py @@ -38,6 +38,7 @@ def by_custom_data_provided_resource_file_id(self,custom_data_provided_resource_ param custom_data_provided_resource_file_id: The unique identifier of customDataProvidedResourceFile Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_file_id is None: raise TypeError("custom_data_provided_resource_file_id cannot be null.") from .item.custom_data_provided_resource_file_item_request_builder import CustomDataProvidedResourceFileItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilesReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFileCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> FilesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py index 569e37d3c05..64e501f2e8f 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFile] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceFileItemRequestBuil param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceFileItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py index 7c22192e6d9..310cf2dd19c 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py @@ -35,6 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_put_request_information( @@ -92,6 +95,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -103,6 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/octet-stream, application/json") @@ -115,6 +120,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PUT, self.url_template, self.path_parameters) @@ -129,6 +135,7 @@ def with_url(self,raw_url: str) -> ContentRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ContentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ContentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py index ee69e3d992d..5b266a95dba 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[CustomDataProvidedResourceUploadSession] Find more info here: https://learn.microsoft.com/graph/api/customdataprovidedresourceuploadsession-uploadfile?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> UploadFileRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadFileRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadFileRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/upload_sessions_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/upload_sessions_request_builder.py index e623d262c25..e5549bbbbf7 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/upload_sessions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource/upload_sessions/upload_sessions_request_builder.py @@ -39,6 +39,7 @@ def by_custom_data_provided_resource_upload_session_id(self,custom_data_provided param custom_data_provided_resource_upload_session_id: The unique identifier of customDataProvidedResourceUploadSession Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_upload_session_id is None: raise TypeError("custom_data_provided_resource_upload_session_id cannot be null.") from .item.custom_data_provided_resource_upload_session_item_request_builder import CustomDataProvidedResourceUploadSessionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UploadSe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSessionCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: CustomDataProvidedResourceUploadSession, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: CustomDataProvidedResourceUploadSessi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> UploadSessionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadSessionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadSessionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource_role_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource_role_request_builder.py index 76cbd5f2976..ca4f0053cb5 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource_role_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_role/access_package_resource_role_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: AccessPackageResourceRole, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: AccessPackageResourceRole, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRoleRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRoleRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRoleRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py index 6cef809a0d3..246933a0e00 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceEnvironment] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceEnvironmentRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceEnvironmentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceEnvironmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_request_builder.py index 5ed2c3efb43..a1e25b4f27b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_request_builder.py @@ -42,6 +42,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -60,6 +61,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,6 +83,7 @@ async def patch(self,body: AccessPackageResource, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,6 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -114,6 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,6 +131,7 @@ def to_patch_request_information(self,body: AccessPackageResource, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,6 +146,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py index 0568e02c270..e9e3fc5dcd6 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py @@ -39,6 +39,7 @@ def by_access_package_resource_role_id(self,access_package_resource_role_id: str param access_package_resource_role_id: The unique identifier of accessPackageResourceRole Returns: AccessPackageResourceRoleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_role_id is None: raise TypeError("access_package_resource_role_id cannot be null.") from .item.access_package_resource_role_item_request_builder import AccessPackageResourceRoleItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRoleCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AccessPackageResourceRole, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceRole, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRolesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRolesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRolesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/count/count_request_builder.py index b897766409b..18a0a9f4cde 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py index 14c38d499fe..bf66ac8e4d9 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceEnvironment] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceEnvironmentRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceEnvironmentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceEnvironmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py index 9675cda8da3..34ae9207908 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py @@ -41,6 +41,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,6 +60,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,6 +82,7 @@ async def patch(self,body: AccessPackageResource, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -102,6 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,6 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,6 +130,7 @@ def to_patch_request_information(self,body: AccessPackageResource, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -139,6 +145,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py index b08c287aac4..b199b415696 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py @@ -39,6 +39,7 @@ def by_access_package_resource_scope_id(self,access_package_resource_scope_id: s param access_package_resource_scope_id: The unique identifier of accessPackageResourceScope Returns: AccessPackageResourceScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_scope_id is None: raise TypeError("access_package_resource_scope_id cannot be null.") from .item.access_package_resource_scope_item_request_builder import AccessPackageResourceScopeItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScopeCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AccessPackageResourceScope, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceScope, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py index a1a99973b1e..4e49d037b0d 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py index 48494fc27fc..a296215071a 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AccessPackageResourceScope, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: AccessPackageResourceScope, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopeItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopeItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py index 7ab9c1bb91b..3f9a90ba69e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[External param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalOriginResourceConnector] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ExternalOriginResourceConnectorRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: ExternalOriginResourceConnectorRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ExternalOriginResourceConnectorRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py index 6d47fd24555..5027adf3590 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> RefreshRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefreshRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefreshRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/count/count_request_builder.py index 9ce0973789a..9b293a73e06 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py index 46c16e8f5b8..e7e616ee578 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: CustomDataProvidedResourceUploadSession, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: CustomDataProvidedResourceUploadSess param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceUploadSessionItemRe param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceUploadSessionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py index df7167633f2..aae31c60c4c 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/files_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/files_request_builder.py index b18f2ea2b4b..14604254d93 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/files_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/files_request_builder.py @@ -38,6 +38,7 @@ def by_custom_data_provided_resource_file_id(self,custom_data_provided_resource_ param custom_data_provided_resource_file_id: The unique identifier of customDataProvidedResourceFile Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_file_id is None: raise TypeError("custom_data_provided_resource_file_id cannot be null.") from .item.custom_data_provided_resource_file_item_request_builder import CustomDataProvidedResourceFileItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilesReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFileCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> FilesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py index bf72f9aacaa..6eb46fa3583 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFile] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceFileItemRequestBuil param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceFileItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py index 5db77e650e6..fa26bed769a 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py @@ -35,6 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_put_request_information( @@ -92,6 +95,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -103,6 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/octet-stream, application/json") @@ -115,6 +120,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PUT, self.url_template, self.path_parameters) @@ -129,6 +135,7 @@ def with_url(self,raw_url: str) -> ContentRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ContentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ContentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py index bc11fc2b1d0..c1c6e987bb2 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[CustomDataProvidedResourceUploadSession] Find more info here: https://learn.microsoft.com/graph/api/customdataprovidedresourceuploadsession-uploadfile?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> UploadFileRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadFileRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadFileRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py index 602877090fb..fe5032141f0 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py @@ -39,6 +39,7 @@ def by_custom_data_provided_resource_upload_session_id(self,custom_data_provided param custom_data_provided_resource_upload_session_id: The unique identifier of customDataProvidedResourceUploadSession Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_upload_session_id is None: raise TypeError("custom_data_provided_resource_upload_session_id cannot be null.") from .item.custom_data_provided_resource_upload_session_item_request_builder import CustomDataProvidedResourceUploadSessionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UploadSe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSessionCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: CustomDataProvidedResourceUploadSession, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: CustomDataProvidedResourceUploadSessi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> UploadSessionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadSessionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadSessionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py index 53f615de955..cafa3790bf7 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: AccessPackageResourceRole, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: AccessPackageResourceRole, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRoleItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRoleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRoleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py index f4bb5304f80..b0dc7cb8433 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py @@ -39,6 +39,7 @@ def by_access_package_resource_scope_id(self,access_package_resource_scope_id: s param access_package_resource_scope_id: The unique identifier of accessPackageResourceScope Returns: AccessPackageResourceScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_scope_id is None: raise TypeError("access_package_resource_scope_id cannot be null.") from .item.access_package_resource_scope_item_request_builder import AccessPackageResourceScopeItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScopeCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AccessPackageResourceScope, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceScope, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/count/count_request_builder.py index bfc55d207df..b676ba62964 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py index f1a685d0401..aba63f79847 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AccessPackageResourceScope, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: AccessPackageResourceScope, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopeItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopeItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py index e5d0d0c0a18..5b8432027ef 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[External param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalOriginResourceConnector] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ExternalOriginResourceConnectorRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: ExternalOriginResourceConnectorRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ExternalOriginResourceConnectorRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/refresh/refresh_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/refresh/refresh_request_builder.py index 5ed3a12dde0..48d81773510 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/refresh/refresh_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/refresh/refresh_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> RefreshRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefreshRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefreshRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/count/count_request_builder.py index 7dd2b58e6c2..7ea90693edb 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py index 69a9dbb20cb..4e52e1d7c8d 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: CustomDataProvidedResourceUploadSession, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: CustomDataProvidedResourceUploadSess param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceUploadSessionItemRe param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceUploadSessionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/count/count_request_builder.py index 3f39e862ea8..dbd3f6ee49e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/files_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/files_request_builder.py index 8bacdeca4c4..8fdda766a9b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/files_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/files_request_builder.py @@ -38,6 +38,7 @@ def by_custom_data_provided_resource_file_id(self,custom_data_provided_resource_ param custom_data_provided_resource_file_id: The unique identifier of customDataProvidedResourceFile Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_file_id is None: raise TypeError("custom_data_provided_resource_file_id cannot be null.") from .item.custom_data_provided_resource_file_item_request_builder import CustomDataProvidedResourceFileItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilesReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFileCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> FilesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py index 11a6993fdc5..bccb56022c2 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFile] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceFileItemRequestBuil param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceFileItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py index f4d91263d6e..741179dd91e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py @@ -35,6 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_put_request_information( @@ -92,6 +95,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -103,6 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/octet-stream, application/json") @@ -115,6 +120,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PUT, self.url_template, self.path_parameters) @@ -129,6 +135,7 @@ def with_url(self,raw_url: str) -> ContentRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ContentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ContentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py index a8350ed6656..b655a2631fa 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[CustomDataProvidedResourceUploadSession] Find more info here: https://learn.microsoft.com/graph/api/customdataprovidedresourceuploadsession-uploadfile?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> UploadFileRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadFileRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadFileRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/upload_sessions_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/upload_sessions_request_builder.py index cfbe0bed674..4dfcfb98fce 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/upload_sessions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource/upload_sessions/upload_sessions_request_builder.py @@ -39,6 +39,7 @@ def by_custom_data_provided_resource_upload_session_id(self,custom_data_provided param custom_data_provided_resource_upload_session_id: The unique identifier of customDataProvidedResourceUploadSession Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_upload_session_id is None: raise TypeError("custom_data_provided_resource_upload_session_id cannot be null.") from .item.custom_data_provided_resource_upload_session_item_request_builder import CustomDataProvidedResourceUploadSessionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UploadSe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSessionCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: CustomDataProvidedResourceUploadSession, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: CustomDataProvidedResourceUploadSessi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> UploadSessionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadSessionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadSessionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource_scope_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource_scope_request_builder.py index 2f97cb465fc..ae3a556e65d 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource_scope_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_resource_scope/access_package_resource_scope_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: AccessPackageResourceScope, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: AccessPackageResourceScope, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_subject/access_package_subject_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_subject/access_package_subject_request_builder.py index 7304f0d198f..91c71ab920e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_subject/access_package_subject_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_subject/access_package_subject_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageSubject] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: AccessPackageSubject, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageSubject] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: AccessPackageSubject, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> AccessPackageSubjectRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageSubjectRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageSubjectRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_subject/connected_organization/connected_organization_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_subject/connected_organization/connected_organization_request_builder.py index b7149d59610..782f0366426 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_subject/connected_organization/connected_organization_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/item/access_package_subject/connected_organization/connected_organization_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Connecte param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConnectedOrganization] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ConnectedOrganizationRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ConnectedOrganizationRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ConnectedOrganizationRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/my/my_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/my/my_request_builder.py index d44f5fb5825..8e6ad85aa10 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/my/my_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_resource_roles/my/my_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MyReques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MyGetResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> MyRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MyRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MyRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/reprocess/reprocess_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/reprocess/reprocess_request_builder.py index 3afdadac0c9..963a44defac 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/reprocess/reprocess_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/reprocess/reprocess_request_builder.py @@ -35,6 +35,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> ReprocessRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ReprocessRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ReprocessRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_environments/access_package_resource_environments_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_environments/access_package_resource_environments_request_builder.py index 5dc2d0360e5..b05fdcd4674 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_environments/access_package_resource_environments_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_environments/access_package_resource_environments_request_builder.py @@ -39,6 +39,7 @@ def by_access_package_resource_environment_id(self,access_package_resource_envir param access_package_resource_environment_id: The unique identifier of accessPackageResourceEnvironment Returns: AccessPackageResourceEnvironmentItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_environment_id is None: raise TypeError("access_package_resource_environment_id cannot be null.") from .item.access_package_resource_environment_item_request_builder import AccessPackageResourceEnvironmentItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa Returns: Optional[AccessPackageResourceEnvironmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/entitlementmanagement-list-accesspackageresourceenvironment?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: AccessPackageResourceEnvironment, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceEnvironment] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: AccessPackageResourceEnvironment, req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceEnvironmentsRequestBuild param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceEnvironmentsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceEnvironmentsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_environments/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_environments/count/count_request_builder.py index b2049870880..79fa96f7396 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_environments/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_environments/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_environments/item/access_package_resource_environment_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_environments/item/access_package_resource_environment_item_request_builder.py index e372396df9c..b6349b9b8ee 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_environments/item/access_package_resource_environment_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_environments/item/access_package_resource_environment_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa Returns: Optional[AccessPackageResourceEnvironment] Find more info here: https://learn.microsoft.com/graph/api/accesspackageresourceenvironment-get?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: AccessPackageResourceEnvironment, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceEnvironment] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: AccessPackageResourceEnvironment, re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceEnvironmentItemRequestBu param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceEnvironmentItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceEnvironmentItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_environments/item/access_package_resources/access_package_resources_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_environments/item/access_package_resources/access_package_resources_request_builder.py index 4c434c6f43d..361d99265fa 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_environments/item/access_package_resources/access_package_resources_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_environments/item/access_package_resources/access_package_resources_request_builder.py @@ -38,6 +38,7 @@ def by_access_package_resource_id(self,access_package_resource_id: str) -> Acces param access_package_resource_id: The unique identifier of accessPackageResource Returns: AccessPackageResourceItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_id is None: raise TypeError("access_package_resource_id cannot be null.") from .item.access_package_resource_item_request_builder import AccessPackageResourceItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourcesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourcesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourcesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_environments/item/access_package_resources/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_environments/item/access_package_resources/count/count_request_builder.py index 7f9ca5df777..ba56f2e4eb3 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_environments/item/access_package_resources/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_environments/item/access_package_resources/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_environments/item/access_package_resources/item/access_package_resource_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_environments/item/access_package_resources/item/access_package_resource_item_request_builder.py index 9fbd07ec73e..dc807294178 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_environments/item/access_package_resources/item/access_package_resource_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_environments/item/access_package_resources/item/access_package_resource_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_requests/access_package_resource_requests_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_requests/access_package_resource_requests_request_builder.py index 1d10df0a658..fc3fce0608d 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_requests/access_package_resource_requests_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_requests/access_package_resource_requests_request_builder.py @@ -39,6 +39,7 @@ def by_access_package_resource_request_id(self,access_package_resource_request_i param access_package_resource_request_id: The unique identifier of accessPackageResourceRequest Returns: AccessPackageResourceRequestItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_request_id is None: raise TypeError("access_package_resource_request_id cannot be null.") from .item.access_package_resource_request_item_request_builder import AccessPackageResourceRequestItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa Returns: Optional[AccessPackageResourceRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/entitlementmanagement-list-accesspackageresourcerequests?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def post(self,body: AccessPackageResourceRequest, request_configuration: O Returns: Optional[AccessPackageResourceRequest] Find more info here: https://learn.microsoft.com/graph/api/entitlementmanagement-post-accesspackageresourcerequests?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -98,6 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_post_request_information(self,body: AccessPackageResourceRequest, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -124,6 +129,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRequestsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRequestsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRequestsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_requests/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_requests/count/count_request_builder.py index ad40ad6b716..b328b688714 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_requests/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_requests/item/access_package_resource/access_package_resource_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_requests/item/access_package_resource/access_package_resource_request_builder.py index 7029398899d..83fa3e05aa9 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_requests/item/access_package_resource/access_package_resource_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_requests/item/access_package_resource/access_package_resource_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_requests/item/access_package_resource_request_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_requests/item/access_package_resource_request_item_request_builder.py index f6fea805c77..d841d967595 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_requests/item/access_package_resource_request_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_requests/item/access_package_resource_request_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRequest] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: AccessPackageResourceRequest, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRequest] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: AccessPackageResourceRequest, reques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRequestItemRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRequestItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRequestItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_requests/item/requestor/connected_organization/connected_organization_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_requests/item/requestor/connected_organization/connected_organization_request_builder.py index c3d1cacd5ba..cec247b6266 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_requests/item/requestor/connected_organization/connected_organization_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_requests/item/requestor/connected_organization/connected_organization_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Connecte param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConnectedOrganization] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ConnectedOrganizationRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ConnectedOrganizationRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ConnectedOrganizationRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_requests/item/requestor/requestor_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_requests/item/requestor/requestor_request_builder.py index fe19c38e2d0..050f518364c 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_requests/item/requestor/requestor_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_requests/item/requestor/requestor_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Requesto param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageSubject] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: AccessPackageSubject, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageSubject] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: AccessPackageSubject, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> RequestorRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RequestorRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RequestorRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/access_package_resource_role_scopes_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/access_package_resource_role_scopes_request_builder.py index bc518d0f3b7..28c16d179b6 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/access_package_resource_role_scopes_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/access_package_resource_role_scopes_request_builder.py @@ -39,6 +39,7 @@ def by_access_package_resource_role_scope_id(self,access_package_resource_role_s param access_package_resource_role_scope_id: The unique identifier of accessPackageResourceRoleScope Returns: AccessPackageResourceRoleScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_role_scope_id is None: raise TypeError("access_package_resource_role_scope_id cannot be null.") from .item.access_package_resource_role_scope_item_request_builder import AccessPackageResourceRoleScopeItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRoleScopeCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AccessPackageResourceRoleScope, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRoleScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceRoleScope, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRoleScopesRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRoleScopesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRoleScopesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/count/count_request_builder.py index 4d8d8bb76a2..308e261f995 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py index 20690dec807..efdd3c44beb 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceEnvironment] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceEnvironmentRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceEnvironmentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceEnvironmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_request_builder.py index 22789f42382..646ca91efc9 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_request_builder.py @@ -42,6 +42,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -60,6 +61,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,6 +83,7 @@ async def patch(self,body: AccessPackageResource, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,6 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -114,6 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,6 +131,7 @@ def to_patch_request_information(self,body: AccessPackageResource, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,6 +146,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py index 35a3ed57046..bcd714cc233 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py @@ -39,6 +39,7 @@ def by_access_package_resource_role_id(self,access_package_resource_role_id: str param access_package_resource_role_id: The unique identifier of accessPackageResourceRole Returns: AccessPackageResourceRoleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_role_id is None: raise TypeError("access_package_resource_role_id cannot be null.") from .item.access_package_resource_role_item_request_builder import AccessPackageResourceRoleItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRoleCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AccessPackageResourceRole, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceRole, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRolesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRolesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRolesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/count/count_request_builder.py index 39fb18163bd..f1819f4334c 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py index cdd6228402d..4540eaa1add 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AccessPackageResourceRole, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: AccessPackageResourceRole, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRoleItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRoleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRoleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py index 5c2884632f7..14198e2f66a 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py @@ -39,6 +39,7 @@ def by_access_package_resource_scope_id(self,access_package_resource_scope_id: s param access_package_resource_scope_id: The unique identifier of accessPackageResourceScope Returns: AccessPackageResourceScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_scope_id is None: raise TypeError("access_package_resource_scope_id cannot be null.") from .item.access_package_resource_scope_item_request_builder import AccessPackageResourceScopeItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScopeCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AccessPackageResourceScope, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceScope, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/count/count_request_builder.py index d7223355f6f..eca4fb168a5 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py index ed4eb116680..fa9ac72a41a 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceEnvironment] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceEnvironmentRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceEnvironmentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceEnvironmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py index 804a565f47a..b5908d3d83d 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py @@ -41,6 +41,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,6 +60,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,6 +82,7 @@ async def patch(self,body: AccessPackageResource, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -102,6 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,6 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,6 +130,7 @@ def to_patch_request_information(self,body: AccessPackageResource, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -139,6 +145,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py index 8b694effcf7..5b6740761f9 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py @@ -39,6 +39,7 @@ def by_access_package_resource_role_id(self,access_package_resource_role_id: str param access_package_resource_role_id: The unique identifier of accessPackageResourceRole Returns: AccessPackageResourceRoleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_role_id is None: raise TypeError("access_package_resource_role_id cannot be null.") from .item.access_package_resource_role_item_request_builder import AccessPackageResourceRoleItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRoleCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AccessPackageResourceRole, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceRole, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRolesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRolesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRolesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py index e4919bec50b..79e0fe486de 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py index 6b6fc8209ed..05d2fdda021 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AccessPackageResourceRole, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: AccessPackageResourceRole, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRoleItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRoleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRoleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py index 0302992c99e..84a6c273c51 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[External param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalOriginResourceConnector] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ExternalOriginResourceConnectorRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: ExternalOriginResourceConnectorRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ExternalOriginResourceConnectorRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py index 9aa144124d8..7ef4fc8b538 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> RefreshRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefreshRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefreshRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/count/count_request_builder.py index 01c24a78146..97dfa58dfed 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py index e2704c3b1c7..09d474ab81e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: CustomDataProvidedResourceUploadSession, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: CustomDataProvidedResourceUploadSess param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceUploadSessionItemRe param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceUploadSessionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py index 8fbf544a565..1a9d18c1502 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/files_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/files_request_builder.py index b71808f4e10..bf422f3b84f 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/files_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/files_request_builder.py @@ -38,6 +38,7 @@ def by_custom_data_provided_resource_file_id(self,custom_data_provided_resource_ param custom_data_provided_resource_file_id: The unique identifier of customDataProvidedResourceFile Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_file_id is None: raise TypeError("custom_data_provided_resource_file_id cannot be null.") from .item.custom_data_provided_resource_file_item_request_builder import CustomDataProvidedResourceFileItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilesReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFileCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> FilesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py index 933c15de861..1b053262aeb 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFile] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceFileItemRequestBuil param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceFileItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py index b9ddb4b2262..4dac70b2bd6 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py @@ -35,6 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_put_request_information( @@ -92,6 +95,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -103,6 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/octet-stream, application/json") @@ -115,6 +120,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PUT, self.url_template, self.path_parameters) @@ -129,6 +135,7 @@ def with_url(self,raw_url: str) -> ContentRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ContentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ContentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py index 87667a813b0..71f99bd732e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[CustomDataProvidedResourceUploadSession] Find more info here: https://learn.microsoft.com/graph/api/customdataprovidedresourceuploadsession-uploadfile?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> UploadFileRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadFileRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadFileRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py index 635de1fa679..eeb8fadac5d 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py @@ -39,6 +39,7 @@ def by_custom_data_provided_resource_upload_session_id(self,custom_data_provided param custom_data_provided_resource_upload_session_id: The unique identifier of customDataProvidedResourceUploadSession Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_upload_session_id is None: raise TypeError("custom_data_provided_resource_upload_session_id cannot be null.") from .item.custom_data_provided_resource_upload_session_item_request_builder import CustomDataProvidedResourceUploadSessionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UploadSe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSessionCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: CustomDataProvidedResourceUploadSession, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: CustomDataProvidedResourceUploadSessi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> UploadSessionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadSessionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadSessionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py index ac0149953b0..2eca0199c1d 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: AccessPackageResourceScope, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: AccessPackageResourceScope, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopeItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopeItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py index 0bc6eb25401..6e80a89da11 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[External param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalOriginResourceConnector] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ExternalOriginResourceConnectorRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: ExternalOriginResourceConnectorRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ExternalOriginResourceConnectorRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/refresh/refresh_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/refresh/refresh_request_builder.py index c4ad690eb82..35b10eb684d 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/refresh/refresh_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/refresh/refresh_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> RefreshRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefreshRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefreshRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/count/count_request_builder.py index e95acbd5a78..cbaaed7fd3b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py index 11cf452a31a..aa65f18b7fe 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: CustomDataProvidedResourceUploadSession, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: CustomDataProvidedResourceUploadSess param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceUploadSessionItemRe param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceUploadSessionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/count/count_request_builder.py index 7f0df7c412c..df311afb58b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/files_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/files_request_builder.py index 8e32d54b8dd..430b2772d49 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/files_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/files_request_builder.py @@ -38,6 +38,7 @@ def by_custom_data_provided_resource_file_id(self,custom_data_provided_resource_ param custom_data_provided_resource_file_id: The unique identifier of customDataProvidedResourceFile Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_file_id is None: raise TypeError("custom_data_provided_resource_file_id cannot be null.") from .item.custom_data_provided_resource_file_item_request_builder import CustomDataProvidedResourceFileItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilesReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFileCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> FilesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py index c90baeab6a0..bea9c6364e0 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFile] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceFileItemRequestBuil param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceFileItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py index 24a5ada7808..6e5827252c6 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py @@ -35,6 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_put_request_information( @@ -92,6 +95,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -103,6 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/octet-stream, application/json") @@ -115,6 +120,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PUT, self.url_template, self.path_parameters) @@ -129,6 +135,7 @@ def with_url(self,raw_url: str) -> ContentRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ContentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ContentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py index 1d2360ca1d8..b77f8969eee 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[CustomDataProvidedResourceUploadSession] Find more info here: https://learn.microsoft.com/graph/api/customdataprovidedresourceuploadsession-uploadfile?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> UploadFileRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadFileRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadFileRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/upload_sessions_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/upload_sessions_request_builder.py index 612fa1acb8b..d58f0b2b109 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/upload_sessions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/upload_sessions_request_builder.py @@ -39,6 +39,7 @@ def by_custom_data_provided_resource_upload_session_id(self,custom_data_provided param custom_data_provided_resource_upload_session_id: The unique identifier of customDataProvidedResourceUploadSession Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_upload_session_id is None: raise TypeError("custom_data_provided_resource_upload_session_id cannot be null.") from .item.custom_data_provided_resource_upload_session_item_request_builder import CustomDataProvidedResourceUploadSessionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UploadSe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSessionCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: CustomDataProvidedResourceUploadSession, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: CustomDataProvidedResourceUploadSessi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> UploadSessionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadSessionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadSessionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource_role_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource_role_request_builder.py index f5d0a4dfa72..1b8a1d7015b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource_role_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource_role_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: AccessPackageResourceRole, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: AccessPackageResourceRole, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRoleRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRoleRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRoleRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role_scope_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role_scope_item_request_builder.py index 01a038f80d8..ea4d94fef1d 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role_scope_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_role_scope_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRoleScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: AccessPackageResourceRoleScope, request_configuration param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRoleScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: AccessPackageResourceRoleScope, requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRoleScopeItemRequestBuil param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRoleScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRoleScopeItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py index 50de5d589a9..4aede9c8b84 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceEnvironment] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceEnvironmentRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceEnvironmentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceEnvironmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_request_builder.py index f50ff20952a..24849056201 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_request_builder.py @@ -42,6 +42,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -60,6 +61,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,6 +83,7 @@ async def patch(self,body: AccessPackageResource, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,6 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -114,6 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,6 +131,7 @@ def to_patch_request_information(self,body: AccessPackageResource, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,6 +146,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py index c5d240a62d4..0f30a02cfd3 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py @@ -39,6 +39,7 @@ def by_access_package_resource_role_id(self,access_package_resource_role_id: str param access_package_resource_role_id: The unique identifier of accessPackageResourceRole Returns: AccessPackageResourceRoleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_role_id is None: raise TypeError("access_package_resource_role_id cannot be null.") from .item.access_package_resource_role_item_request_builder import AccessPackageResourceRoleItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRoleCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AccessPackageResourceRole, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceRole, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRolesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRolesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRolesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/count/count_request_builder.py index 05a063c805a..ac2f60d49aa 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py index 1bc98f9549b..7e2a16a5fa3 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceEnvironment] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceEnvironmentRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceEnvironmentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceEnvironmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py index 6885e66663d..8f07c6cf3f7 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py @@ -41,6 +41,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,6 +60,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,6 +82,7 @@ async def patch(self,body: AccessPackageResource, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -102,6 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,6 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,6 +130,7 @@ def to_patch_request_information(self,body: AccessPackageResource, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -139,6 +145,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py index ad11069cc76..eb991635758 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py @@ -39,6 +39,7 @@ def by_access_package_resource_scope_id(self,access_package_resource_scope_id: s param access_package_resource_scope_id: The unique identifier of accessPackageResourceScope Returns: AccessPackageResourceScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_scope_id is None: raise TypeError("access_package_resource_scope_id cannot be null.") from .item.access_package_resource_scope_item_request_builder import AccessPackageResourceScopeItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScopeCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AccessPackageResourceScope, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceScope, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py index 06e11c6a5b9..fd1a747372d 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py index e07e4551017..be0a20f2a8d 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AccessPackageResourceScope, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: AccessPackageResourceScope, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopeItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopeItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py index 72bc09b9bd2..b978926cc65 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[External param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalOriginResourceConnector] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ExternalOriginResourceConnectorRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: ExternalOriginResourceConnectorRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ExternalOriginResourceConnectorRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py index 559e8c5539b..1ea72fbf1c2 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> RefreshRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefreshRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefreshRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/count/count_request_builder.py index a275a658e31..f9f45d6a480 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py index 5ec945cb845..ff214f20ff0 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: CustomDataProvidedResourceUploadSession, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: CustomDataProvidedResourceUploadSess param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceUploadSessionItemRe param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceUploadSessionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py index 921fda7cacd..75899748258 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/files_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/files_request_builder.py index 37a74bc45bd..859dd6d59a2 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/files_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/files_request_builder.py @@ -38,6 +38,7 @@ def by_custom_data_provided_resource_file_id(self,custom_data_provided_resource_ param custom_data_provided_resource_file_id: The unique identifier of customDataProvidedResourceFile Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_file_id is None: raise TypeError("custom_data_provided_resource_file_id cannot be null.") from .item.custom_data_provided_resource_file_item_request_builder import CustomDataProvidedResourceFileItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilesReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFileCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> FilesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py index ffcce7988c7..1d500137860 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFile] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceFileItemRequestBuil param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceFileItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py index 55856847d87..05b292d23c6 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py @@ -35,6 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_put_request_information( @@ -92,6 +95,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -103,6 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/octet-stream, application/json") @@ -115,6 +120,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PUT, self.url_template, self.path_parameters) @@ -129,6 +135,7 @@ def with_url(self,raw_url: str) -> ContentRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ContentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ContentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py index dd8255a8a3f..e3852f3f41b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[CustomDataProvidedResourceUploadSession] Find more info here: https://learn.microsoft.com/graph/api/customdataprovidedresourceuploadsession-uploadfile?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> UploadFileRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadFileRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadFileRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py index 4dfeecd62f9..0b604251cc5 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py @@ -39,6 +39,7 @@ def by_custom_data_provided_resource_upload_session_id(self,custom_data_provided param custom_data_provided_resource_upload_session_id: The unique identifier of customDataProvidedResourceUploadSession Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_upload_session_id is None: raise TypeError("custom_data_provided_resource_upload_session_id cannot be null.") from .item.custom_data_provided_resource_upload_session_item_request_builder import CustomDataProvidedResourceUploadSessionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UploadSe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSessionCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: CustomDataProvidedResourceUploadSession, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: CustomDataProvidedResourceUploadSessi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> UploadSessionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadSessionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadSessionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py index ef4aef49c2f..cd7710bdf56 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: AccessPackageResourceRole, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: AccessPackageResourceRole, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRoleItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRoleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRoleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py index 4f638b18ca7..172cd4756a2 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py @@ -39,6 +39,7 @@ def by_access_package_resource_scope_id(self,access_package_resource_scope_id: s param access_package_resource_scope_id: The unique identifier of accessPackageResourceScope Returns: AccessPackageResourceScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_scope_id is None: raise TypeError("access_package_resource_scope_id cannot be null.") from .item.access_package_resource_scope_item_request_builder import AccessPackageResourceScopeItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScopeCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AccessPackageResourceScope, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceScope, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/count/count_request_builder.py index d85ccc8fc2c..56984245d6d 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py index 63e3fd54ed0..32fbd784dfa 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AccessPackageResourceScope, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: AccessPackageResourceScope, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopeItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopeItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py index e418a0636f9..2676cbf9cdc 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[External param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalOriginResourceConnector] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ExternalOriginResourceConnectorRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: ExternalOriginResourceConnectorRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ExternalOriginResourceConnectorRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/refresh/refresh_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/refresh/refresh_request_builder.py index 429036c888c..80494142639 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/refresh/refresh_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/refresh/refresh_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> RefreshRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefreshRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefreshRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/count/count_request_builder.py index 69da9ca4c5a..71c488dd073 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py index d24f532d74f..c0a231519f7 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: CustomDataProvidedResourceUploadSession, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: CustomDataProvidedResourceUploadSess param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceUploadSessionItemRe param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceUploadSessionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/count/count_request_builder.py index 8643127aa8c..98729ac9831 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/files_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/files_request_builder.py index f69f3b69444..e5cbafc06c9 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/files_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/files_request_builder.py @@ -38,6 +38,7 @@ def by_custom_data_provided_resource_file_id(self,custom_data_provided_resource_ param custom_data_provided_resource_file_id: The unique identifier of customDataProvidedResourceFile Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_file_id is None: raise TypeError("custom_data_provided_resource_file_id cannot be null.") from .item.custom_data_provided_resource_file_item_request_builder import CustomDataProvidedResourceFileItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilesReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFileCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> FilesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py index c7f08c660bd..b278f785205 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFile] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceFileItemRequestBuil param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceFileItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py index 608f197d29f..4998d4e3f4f 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py @@ -35,6 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_put_request_information( @@ -92,6 +95,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -103,6 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/octet-stream, application/json") @@ -115,6 +120,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PUT, self.url_template, self.path_parameters) @@ -129,6 +135,7 @@ def with_url(self,raw_url: str) -> ContentRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ContentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ContentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py index 82683a8e1c2..bcf492c78b0 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[CustomDataProvidedResourceUploadSession] Find more info here: https://learn.microsoft.com/graph/api/customdataprovidedresourceuploadsession-uploadfile?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> UploadFileRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadFileRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadFileRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/upload_sessions_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/upload_sessions_request_builder.py index 20abb56a7d2..d816ff9865f 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/upload_sessions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/upload_sessions_request_builder.py @@ -39,6 +39,7 @@ def by_custom_data_provided_resource_upload_session_id(self,custom_data_provided param custom_data_provided_resource_upload_session_id: The unique identifier of customDataProvidedResourceUploadSession Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_upload_session_id is None: raise TypeError("custom_data_provided_resource_upload_session_id cannot be null.") from .item.custom_data_provided_resource_upload_session_item_request_builder import CustomDataProvidedResourceUploadSessionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UploadSe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSessionCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: CustomDataProvidedResourceUploadSession, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: CustomDataProvidedResourceUploadSessi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> UploadSessionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadSessionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadSessionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource_scope_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource_scope_request_builder.py index 27f68736fe0..e584e5e9d5e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource_scope_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource_scope_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: AccessPackageResourceScope, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: AccessPackageResourceScope, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/access_package_resources_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/access_package_resources_request_builder.py index 229187e8d8c..01d56566cc8 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/access_package_resources_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/access_package_resources_request_builder.py @@ -39,6 +39,7 @@ def by_access_package_resource_id(self,access_package_resource_id: str) -> Acces param access_package_resource_id: The unique identifier of accessPackageResource Returns: AccessPackageResourceItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_id is None: raise TypeError("access_package_resource_id cannot be null.") from .item.access_package_resource_item_request_builder import AccessPackageResourceItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AccessPackageResource, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AccessPackageResource, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourcesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourcesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourcesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/count/count_request_builder.py index b4e8a836a1c..9314be74ce1 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_environment/access_package_resource_environment_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_environment/access_package_resource_environment_request_builder.py index 78551a3233d..1f9b3227dc2 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_environment/access_package_resource_environment_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_environment/access_package_resource_environment_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceEnvironment] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceEnvironmentRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceEnvironmentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceEnvironmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_item_request_builder.py index 61fd2ea4c84..84879d0dc3f 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_item_request_builder.py @@ -42,6 +42,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -60,6 +61,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,6 +83,7 @@ async def patch(self,body: AccessPackageResource, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,6 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -114,6 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,6 +131,7 @@ def to_patch_request_information(self,body: AccessPackageResource, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,6 +146,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/access_package_resource_roles_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/access_package_resource_roles_request_builder.py index 4ead892de00..aa9a7a41538 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/access_package_resource_roles_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/access_package_resource_roles_request_builder.py @@ -39,6 +39,7 @@ def by_access_package_resource_role_id(self,access_package_resource_role_id: str param access_package_resource_role_id: The unique identifier of accessPackageResourceRole Returns: AccessPackageResourceRoleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_role_id is None: raise TypeError("access_package_resource_role_id cannot be null.") from .item.access_package_resource_role_item_request_builder import AccessPackageResourceRoleItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRoleCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AccessPackageResourceRole, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceRole, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRolesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRolesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRolesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/count/count_request_builder.py index 113f00efdc9..58e0c7cc334 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py index 906e98415c8..beece9731fd 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceEnvironment] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceEnvironmentRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceEnvironmentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceEnvironmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py index 1bb657dc997..56a8713d5d7 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py @@ -41,6 +41,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,6 +60,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,6 +82,7 @@ async def patch(self,body: AccessPackageResource, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -102,6 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,6 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,6 +130,7 @@ def to_patch_request_information(self,body: AccessPackageResource, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -139,6 +145,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py index f1020a09e21..75e839c0508 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py @@ -39,6 +39,7 @@ def by_access_package_resource_scope_id(self,access_package_resource_scope_id: s param access_package_resource_scope_id: The unique identifier of accessPackageResourceScope Returns: AccessPackageResourceScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_scope_id is None: raise TypeError("access_package_resource_scope_id cannot be null.") from .item.access_package_resource_scope_item_request_builder import AccessPackageResourceScopeItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScopeCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AccessPackageResourceScope, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceScope, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py index 112f0141f5a..62f99c25e43 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py index 65c5597eb83..4c75773c3ed 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceEnvironment] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceEnvironmentRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceEnvironmentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceEnvironmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py index 494e35b4659..4c39c33c467 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py @@ -40,6 +40,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,6 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def patch(self,body: AccessPackageResource, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,6 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,6 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -124,6 +129,7 @@ def to_patch_request_information(self,body: AccessPackageResource, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -138,6 +144,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py index 0e27aaab498..47f4d3c5331 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[External param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalOriginResourceConnector] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ExternalOriginResourceConnectorRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: ExternalOriginResourceConnectorRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ExternalOriginResourceConnectorRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py index 883a801cf5a..4a9557e5363 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> RefreshRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefreshRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefreshRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/count/count_request_builder.py index d07aa6eae2a..f0fe4d2ab33 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py index 1b8b9f31f79..a1a5499d832 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: CustomDataProvidedResourceUploadSession, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: CustomDataProvidedResourceUploadSess param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceUploadSessionItemRe param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceUploadSessionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py index 799b5f8e0a3..e30d23a81c1 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/files_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/files_request_builder.py index 8cf33cb171c..b29a0803036 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/files_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/files_request_builder.py @@ -38,6 +38,7 @@ def by_custom_data_provided_resource_file_id(self,custom_data_provided_resource_ param custom_data_provided_resource_file_id: The unique identifier of customDataProvidedResourceFile Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_file_id is None: raise TypeError("custom_data_provided_resource_file_id cannot be null.") from .item.custom_data_provided_resource_file_item_request_builder import CustomDataProvidedResourceFileItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilesReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFileCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> FilesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py index 281b6c838cc..a3db0f22f8c 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFile] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceFileItemRequestBuil param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceFileItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py index 7f63ad5ae84..3d0b10cee91 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py @@ -35,6 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_put_request_information( @@ -92,6 +95,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -103,6 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/octet-stream, application/json") @@ -115,6 +120,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PUT, self.url_template, self.path_parameters) @@ -129,6 +135,7 @@ def with_url(self,raw_url: str) -> ContentRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ContentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ContentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py index 4ba844d3cd4..19a133100d8 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[CustomDataProvidedResourceUploadSession] Find more info here: https://learn.microsoft.com/graph/api/customdataprovidedresourceuploadsession-uploadfile?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> UploadFileRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadFileRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadFileRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py index e817a4dcfdd..7507fbcdcf8 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py @@ -39,6 +39,7 @@ def by_custom_data_provided_resource_upload_session_id(self,custom_data_provided param custom_data_provided_resource_upload_session_id: The unique identifier of customDataProvidedResourceUploadSession Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_upload_session_id is None: raise TypeError("custom_data_provided_resource_upload_session_id cannot be null.") from .item.custom_data_provided_resource_upload_session_item_request_builder import CustomDataProvidedResourceUploadSessionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UploadSe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSessionCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: CustomDataProvidedResourceUploadSession, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: CustomDataProvidedResourceUploadSessi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> UploadSessionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadSessionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadSessionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py index a89f340f9bb..8cc26c722d0 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: AccessPackageResourceScope, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: AccessPackageResourceScope, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopeItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopeItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py index 6aab7cc60ca..925e67c81bd 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[External param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalOriginResourceConnector] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ExternalOriginResourceConnectorRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: ExternalOriginResourceConnectorRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ExternalOriginResourceConnectorRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py index b120fd2ae8f..b4287bcb3d2 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> RefreshRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefreshRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefreshRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/upload_sessions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/upload_sessions/count/count_request_builder.py index cc3e76a7b6a..4b49ef3a712 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/upload_sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/upload_sessions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py index fbd4b10b6fc..fa21328ff18 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: CustomDataProvidedResourceUploadSession, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: CustomDataProvidedResourceUploadSess param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceUploadSessionItemRe param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceUploadSessionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py index 6d935583531..598a94dda74 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/files_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/files_request_builder.py index cf7ef93b8aa..cb2f7f31829 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/files_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/files_request_builder.py @@ -38,6 +38,7 @@ def by_custom_data_provided_resource_file_id(self,custom_data_provided_resource_ param custom_data_provided_resource_file_id: The unique identifier of customDataProvidedResourceFile Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_file_id is None: raise TypeError("custom_data_provided_resource_file_id cannot be null.") from .item.custom_data_provided_resource_file_item_request_builder import CustomDataProvidedResourceFileItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilesReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFileCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> FilesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py index 500ce13336f..9f7a0bdac77 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFile] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceFileItemRequestBuil param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceFileItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py index 0dd7f544112..ac76554f6a4 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py @@ -35,6 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_put_request_information( @@ -92,6 +95,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -103,6 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/octet-stream, application/json") @@ -115,6 +120,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PUT, self.url_template, self.path_parameters) @@ -129,6 +135,7 @@ def with_url(self,raw_url: str) -> ContentRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ContentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ContentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py index 0ff4edd76b2..2113ddc4301 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[CustomDataProvidedResourceUploadSession] Find more info here: https://learn.microsoft.com/graph/api/customdataprovidedresourceuploadsession-uploadfile?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> UploadFileRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadFileRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadFileRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py index bbdaf79ea1e..a7c15077520 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py @@ -39,6 +39,7 @@ def by_custom_data_provided_resource_upload_session_id(self,custom_data_provided param custom_data_provided_resource_upload_session_id: The unique identifier of customDataProvidedResourceUploadSession Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_upload_session_id is None: raise TypeError("custom_data_provided_resource_upload_session_id cannot be null.") from .item.custom_data_provided_resource_upload_session_item_request_builder import CustomDataProvidedResourceUploadSessionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UploadSe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSessionCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: CustomDataProvidedResourceUploadSession, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: CustomDataProvidedResourceUploadSessi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> UploadSessionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadSessionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadSessionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py index 5bab74d655c..3fc1f87c763 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: AccessPackageResourceRole, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: AccessPackageResourceRole, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRoleItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRoleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRoleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/access_package_resource_scopes_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/access_package_resource_scopes_request_builder.py index fa9ff21bdbe..dba81940487 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/access_package_resource_scopes_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/access_package_resource_scopes_request_builder.py @@ -39,6 +39,7 @@ def by_access_package_resource_scope_id(self,access_package_resource_scope_id: s param access_package_resource_scope_id: The unique identifier of accessPackageResourceScope Returns: AccessPackageResourceScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_scope_id is None: raise TypeError("access_package_resource_scope_id cannot be null.") from .item.access_package_resource_scope_item_request_builder import AccessPackageResourceScopeItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScopeCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AccessPackageResourceScope, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceScope, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/count/count_request_builder.py index 16e6b6c055d..de4eba8b21e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py index ee1d544f219..de78a337422 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceEnvironment] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceEnvironmentRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceEnvironmentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceEnvironmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py index 84a6b10e977..a1fb4592683 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py @@ -41,6 +41,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,6 +60,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,6 +82,7 @@ async def patch(self,body: AccessPackageResource, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -102,6 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,6 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,6 +130,7 @@ def to_patch_request_information(self,body: AccessPackageResource, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -139,6 +145,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py index 69bf0852487..5c47122e3d3 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py @@ -39,6 +39,7 @@ def by_access_package_resource_role_id(self,access_package_resource_role_id: str param access_package_resource_role_id: The unique identifier of accessPackageResourceRole Returns: AccessPackageResourceRoleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_role_id is None: raise TypeError("access_package_resource_role_id cannot be null.") from .item.access_package_resource_role_item_request_builder import AccessPackageResourceRoleItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRoleCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AccessPackageResourceRole, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceRole, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRolesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRolesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRolesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py index c6725eebd37..79013b16e77 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py index 1e8eb446a74..88f628b3e5a 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceEnvironment] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceEnvironmentRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceEnvironmentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceEnvironmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py index 4ba31795de0..fdd848616c4 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py @@ -40,6 +40,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,6 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def patch(self,body: AccessPackageResource, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,6 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,6 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -124,6 +129,7 @@ def to_patch_request_information(self,body: AccessPackageResource, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -138,6 +144,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py index 39e2635437e..acd78e5137a 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[External param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalOriginResourceConnector] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ExternalOriginResourceConnectorRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: ExternalOriginResourceConnectorRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ExternalOriginResourceConnectorRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py index 10da39803e9..1e179d108ac 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> RefreshRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefreshRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefreshRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/count/count_request_builder.py index 8c7e9231098..1a0686e8e2b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py index 8607397b8ae..0c8df2c2ebe 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: CustomDataProvidedResourceUploadSession, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: CustomDataProvidedResourceUploadSess param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceUploadSessionItemRe param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceUploadSessionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py index abf6745a5c7..e40b59889fc 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/files_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/files_request_builder.py index 87a679c2b05..4f5cd9a5103 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/files_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/files_request_builder.py @@ -38,6 +38,7 @@ def by_custom_data_provided_resource_file_id(self,custom_data_provided_resource_ param custom_data_provided_resource_file_id: The unique identifier of customDataProvidedResourceFile Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_file_id is None: raise TypeError("custom_data_provided_resource_file_id cannot be null.") from .item.custom_data_provided_resource_file_item_request_builder import CustomDataProvidedResourceFileItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilesReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFileCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> FilesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py index a95f56d53f8..ff3adebfa70 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFile] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceFileItemRequestBuil param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceFileItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py index 2b258868b3a..0a9790b8ffd 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py @@ -35,6 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_put_request_information( @@ -92,6 +95,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -103,6 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/octet-stream, application/json") @@ -115,6 +120,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PUT, self.url_template, self.path_parameters) @@ -129,6 +135,7 @@ def with_url(self,raw_url: str) -> ContentRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ContentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ContentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py index 88ba95e5fbe..715cce5616e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[CustomDataProvidedResourceUploadSession] Find more info here: https://learn.microsoft.com/graph/api/customdataprovidedresourceuploadsession-uploadfile?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> UploadFileRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadFileRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadFileRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py index 086868bc20f..ed4eefc404f 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py @@ -39,6 +39,7 @@ def by_custom_data_provided_resource_upload_session_id(self,custom_data_provided param custom_data_provided_resource_upload_session_id: The unique identifier of customDataProvidedResourceUploadSession Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_upload_session_id is None: raise TypeError("custom_data_provided_resource_upload_session_id cannot be null.") from .item.custom_data_provided_resource_upload_session_item_request_builder import CustomDataProvidedResourceUploadSessionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UploadSe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSessionCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: CustomDataProvidedResourceUploadSession, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: CustomDataProvidedResourceUploadSessi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> UploadSessionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadSessionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadSessionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py index 0ef15bd8c49..47b887a9230 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: AccessPackageResourceRole, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: AccessPackageResourceRole, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRoleItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRoleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRoleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py index a05e742dcb8..9458656eaaa 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[External param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalOriginResourceConnector] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ExternalOriginResourceConnectorRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: ExternalOriginResourceConnectorRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ExternalOriginResourceConnectorRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py index 55732b64c01..af6de185568 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> RefreshRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefreshRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefreshRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/upload_sessions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/upload_sessions/count/count_request_builder.py index 1535ac3a6f6..2f8c1c35087 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/upload_sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/upload_sessions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py index e21095c745b..5fb033facdb 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: CustomDataProvidedResourceUploadSession, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: CustomDataProvidedResourceUploadSess param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceUploadSessionItemRe param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceUploadSessionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py index 2513731583e..a3756bdf88b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/files_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/files_request_builder.py index 3c355c0b84a..0f4b6acc2d0 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/files_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/files_request_builder.py @@ -38,6 +38,7 @@ def by_custom_data_provided_resource_file_id(self,custom_data_provided_resource_ param custom_data_provided_resource_file_id: The unique identifier of customDataProvidedResourceFile Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_file_id is None: raise TypeError("custom_data_provided_resource_file_id cannot be null.") from .item.custom_data_provided_resource_file_item_request_builder import CustomDataProvidedResourceFileItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilesReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFileCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> FilesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py index 519f558d542..80d1c3da36d 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFile] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceFileItemRequestBuil param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceFileItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py index f514ef04fdb..29bc0f07277 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py @@ -35,6 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_put_request_information( @@ -92,6 +95,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -103,6 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/octet-stream, application/json") @@ -115,6 +120,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PUT, self.url_template, self.path_parameters) @@ -129,6 +135,7 @@ def with_url(self,raw_url: str) -> ContentRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ContentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ContentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py index 81f4bf4c86d..8b14c626490 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[CustomDataProvidedResourceUploadSession] Find more info here: https://learn.microsoft.com/graph/api/customdataprovidedresourceuploadsession-uploadfile?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> UploadFileRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadFileRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadFileRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py index 9d317a526a3..323374a30b5 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py @@ -39,6 +39,7 @@ def by_custom_data_provided_resource_upload_session_id(self,custom_data_provided param custom_data_provided_resource_upload_session_id: The unique identifier of customDataProvidedResourceUploadSession Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_upload_session_id is None: raise TypeError("custom_data_provided_resource_upload_session_id cannot be null.") from .item.custom_data_provided_resource_upload_session_item_request_builder import CustomDataProvidedResourceUploadSessionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UploadSe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSessionCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: CustomDataProvidedResourceUploadSession, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: CustomDataProvidedResourceUploadSessi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> UploadSessionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadSessionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadSessionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py index 4fa26123b1d..c46193b7d1a 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: AccessPackageResourceScope, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: AccessPackageResourceScope, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopeItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopeItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/external_origin_resource_connector/external_origin_resource_connector_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/external_origin_resource_connector/external_origin_resource_connector_request_builder.py index 2efd54c2fa4..6327eb86720 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/external_origin_resource_connector/external_origin_resource_connector_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/external_origin_resource_connector/external_origin_resource_connector_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[External param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalOriginResourceConnector] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ExternalOriginResourceConnectorRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: ExternalOriginResourceConnectorRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ExternalOriginResourceConnectorRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/refresh/refresh_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/refresh/refresh_request_builder.py index b514e7ea923..9e54fa2413f 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/refresh/refresh_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/refresh/refresh_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> RefreshRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefreshRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefreshRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/upload_sessions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/upload_sessions/count/count_request_builder.py index c03fd09871b..778bbec0383 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/upload_sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/upload_sessions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py index 9930d8e20b3..0026508ab57 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: CustomDataProvidedResourceUploadSession, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: CustomDataProvidedResourceUploadSess param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceUploadSessionItemRe param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceUploadSessionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/upload_sessions/item/files/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/upload_sessions/item/files/count/count_request_builder.py index 425dd027fa9..1c8aa2cfa66 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/upload_sessions/item/files/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/upload_sessions/item/files/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/upload_sessions/item/files/files_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/upload_sessions/item/files/files_request_builder.py index 9bc4c7c89a5..dc27e227ca1 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/upload_sessions/item/files/files_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/upload_sessions/item/files/files_request_builder.py @@ -38,6 +38,7 @@ def by_custom_data_provided_resource_file_id(self,custom_data_provided_resource_ param custom_data_provided_resource_file_id: The unique identifier of customDataProvidedResourceFile Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_file_id is None: raise TypeError("custom_data_provided_resource_file_id cannot be null.") from .item.custom_data_provided_resource_file_item_request_builder import CustomDataProvidedResourceFileItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilesReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFileCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> FilesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py index 029550bc74e..b20d7e84cff 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFile] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceFileItemRequestBuil param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceFileItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/upload_sessions/item/files/item/value/content_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/upload_sessions/item/files/item/value/content_request_builder.py index 51607804a59..48fbb01490a 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/upload_sessions/item/files/item/value/content_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/upload_sessions/item/files/item/value/content_request_builder.py @@ -35,6 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_put_request_information( @@ -92,6 +95,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -103,6 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/octet-stream, application/json") @@ -115,6 +120,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PUT, self.url_template, self.path_parameters) @@ -129,6 +135,7 @@ def with_url(self,raw_url: str) -> ContentRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ContentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ContentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/upload_sessions/item/upload_file/upload_file_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/upload_sessions/item/upload_file/upload_file_request_builder.py index 2967c1465e6..806455cabee 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/upload_sessions/item/upload_file/upload_file_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/upload_sessions/item/upload_file/upload_file_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[CustomDataProvidedResourceUploadSession] Find more info here: https://learn.microsoft.com/graph/api/customdataprovidedresourceuploadsession-uploadfile?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> UploadFileRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadFileRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadFileRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/upload_sessions/upload_sessions_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/upload_sessions/upload_sessions_request_builder.py index a5037a249ef..27578938e2e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/upload_sessions/upload_sessions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_resources/item/upload_sessions/upload_sessions_request_builder.py @@ -39,6 +39,7 @@ def by_custom_data_provided_resource_upload_session_id(self,custom_data_provided param custom_data_provided_resource_upload_session_id: The unique identifier of customDataProvidedResourceUploadSession Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_upload_session_id is None: raise TypeError("custom_data_provided_resource_upload_session_id cannot be null.") from .item.custom_data_provided_resource_upload_session_item_request_builder import CustomDataProvidedResourceUploadSessionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UploadSe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSessionCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: CustomDataProvidedResourceUploadSession, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: CustomDataProvidedResourceUploadSessi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> UploadSessionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadSessionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadSessionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_suggestions/access_package_suggestions_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_suggestions/access_package_suggestions_request_builder.py index b5ea05d2734..cdfd4c62738 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_suggestions/access_package_suggestions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_suggestions/access_package_suggestions_request_builder.py @@ -40,6 +40,7 @@ def by_access_package_suggestion_id(self,access_package_suggestion_id: str) -> A param access_package_suggestion_id: The unique identifier of accessPackageSuggestion Returns: AccessPackageSuggestionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_suggestion_id is None: raise TypeError("access_package_suggestion_id cannot be null.") from .item.access_package_suggestion_item_request_builder import AccessPackageSuggestionItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -66,6 +68,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageSuggestionCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -87,6 +90,7 @@ async def post(self,body: AccessPackageSuggestion, request_configuration: Option param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageSuggestion] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_post_request_information(self,body: AccessPackageSuggestion, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> AccessPackageSuggestionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageSuggestionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageSuggestionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_suggestions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_suggestions/count/count_request_builder.py index 740ba24099c..d1301e287ce 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_suggestions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_suggestions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_suggestions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_suggestions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 118003ea6e2..56a0bb501a1 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_suggestions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_suggestions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackagesuggestions-filterbycurrentuser?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_suggestions/item/access_package/access_package_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_suggestions/item/access_package/access_package_request_builder.py index 73da87bd214..6784f5848a1 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_suggestions/item/access_package/access_package_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_suggestions/item/access_package/access_package_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AvailableAccessPackage] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_suggestions/item/access_package_suggestion_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_suggestions/item/access_package_suggestion_item_request_builder.py index e8ecfd2917e..384f597d4dc 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_suggestions/item/access_package_suggestion_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_suggestions/item/access_package_suggestion_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageSuggestion] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: AccessPackageSuggestion, request_configuration: Optio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageSuggestion] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: AccessPackageSuggestion, request_con param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> AccessPackageSuggestionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageSuggestionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageSuggestionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/access_packages_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/access_packages_request_builder.py index 7ff1446d2f4..03140cf05f8 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/access_packages_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/access_packages_request_builder.py @@ -41,6 +41,7 @@ def by_access_package_id(self,access_package_id: str) -> AccessPackageItemReques param access_package_id: The unique identifier of accessPackage Returns: AccessPackageItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_id is None: raise TypeError("access_package_id cannot be null.") from .item.access_package_item_request_builder import AccessPackageItemRequestBuilder @@ -55,6 +56,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -68,6 +70,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa Returns: Optional[AccessPackageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/entitlementmanagement-list-accesspackages?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -90,6 +93,7 @@ async def post(self,body: AccessPackage, request_configuration: Optional[Request Returns: Optional[AccessPackage] Find more info here: https://learn.microsoft.com/graph/api/entitlementmanagement-post-accesspackages?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -112,6 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -124,6 +129,7 @@ def to_post_request_information(self,body: AccessPackage, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -138,6 +144,7 @@ def with_url(self,raw_url: str) -> AccessPackagesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackagesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackagesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/count/count_request_builder.py index 8760033c965..4716f78a4b8 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 535a0497b4c..8f39bfc5f44 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackage-filterbycurrentuser?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py index 77fd9ddf1e9..41e2968f186 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py @@ -45,6 +45,7 @@ def access_packages_incompatible_with_with_unique_name(self,unique_name: str) -> param unique_name: Alternate key of accessPackage Returns: AccessPackagesIncompatibleWithWithUniqueNameRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if unique_name is None: raise TypeError("unique_name cannot be null.") from .access_packages_incompatible_with_with_unique_name.access_packages_incompatible_with_with_unique_name_request_builder import AccessPackagesIncompatibleWithWithUniqueNameRequestBuilder @@ -58,6 +59,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackage-delete?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa Returns: Optional[AccessPackage] Find more info here: https://learn.microsoft.com/graph/api/accesspackage-get?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -99,6 +102,7 @@ async def patch(self,body: AccessPackage, request_configuration: Optional[Reques Returns: Optional[AccessPackage] Find more info here: https://learn.microsoft.com/graph/api/accesspackage-update?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -121,6 +125,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -132,6 +137,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -144,6 +150,7 @@ def to_patch_request_information(self,body: AccessPackage, request_configuration param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -158,6 +165,7 @@ def with_url(self,raw_url: str) -> AccessPackageItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/access_package_resource_role_scopes_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/access_package_resource_role_scopes_request_builder.py index 5b88100c53a..7d40b134bdc 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/access_package_resource_role_scopes_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/access_package_resource_role_scopes_request_builder.py @@ -39,6 +39,7 @@ def by_access_package_resource_role_scope_id(self,access_package_resource_role_s param access_package_resource_role_scope_id: The unique identifier of accessPackageResourceRoleScope Returns: AccessPackageResourceRoleScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_role_scope_id is None: raise TypeError("access_package_resource_role_scope_id cannot be null.") from .item.access_package_resource_role_scope_item_request_builder import AccessPackageResourceRoleScopeItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRoleScopeCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: AccessPackageResourceRoleScope, request_configuration: Returns: Optional[AccessPackageResourceRoleScope] Find more info here: https://learn.microsoft.com/graph/api/accesspackage-post-accesspackageresourcerolescopes?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: AccessPackageResourceRoleScope, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRoleScopesRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRoleScopesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRoleScopesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/count/count_request_builder.py index 0bd0f1fee48..37d4170c356 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py index 56655953d6c..b51b08ffa81 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceEnvironment] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceEnvironmentRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceEnvironmentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceEnvironmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_request_builder.py index 12931210f3b..ca3e90e32bd 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_request_builder.py @@ -42,6 +42,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -60,6 +61,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,6 +83,7 @@ async def patch(self,body: AccessPackageResource, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,6 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -114,6 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,6 +131,7 @@ def to_patch_request_information(self,body: AccessPackageResource, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,6 +146,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py index cfbaa489d09..6de68ae62b3 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py @@ -39,6 +39,7 @@ def by_access_package_resource_role_id(self,access_package_resource_role_id: str param access_package_resource_role_id: The unique identifier of accessPackageResourceRole Returns: AccessPackageResourceRoleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_role_id is None: raise TypeError("access_package_resource_role_id cannot be null.") from .item.access_package_resource_role_item_request_builder import AccessPackageResourceRoleItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRoleCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AccessPackageResourceRole, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceRole, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRolesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRolesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRolesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/count/count_request_builder.py index b272982016f..c3ba4ad235e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py index bd11b185147..5cfd1af472b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AccessPackageResourceRole, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: AccessPackageResourceRole, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRoleItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRoleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRoleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py index 20508fbd8b3..3da8650e6cb 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py @@ -39,6 +39,7 @@ def by_access_package_resource_scope_id(self,access_package_resource_scope_id: s param access_package_resource_scope_id: The unique identifier of accessPackageResourceScope Returns: AccessPackageResourceScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_scope_id is None: raise TypeError("access_package_resource_scope_id cannot be null.") from .item.access_package_resource_scope_item_request_builder import AccessPackageResourceScopeItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScopeCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AccessPackageResourceScope, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceScope, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/count/count_request_builder.py index 15d258de01e..3eb0281b93d 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py index 3fb6e624061..b22975c5da7 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceEnvironment] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceEnvironmentRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceEnvironmentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceEnvironmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py index 8010d2c42d5..2b1cda790d4 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py @@ -41,6 +41,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,6 +60,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,6 +82,7 @@ async def patch(self,body: AccessPackageResource, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -102,6 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,6 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,6 +130,7 @@ def to_patch_request_information(self,body: AccessPackageResource, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -139,6 +145,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py index bdc69d947d7..4f32f9352a6 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py @@ -39,6 +39,7 @@ def by_access_package_resource_role_id(self,access_package_resource_role_id: str param access_package_resource_role_id: The unique identifier of accessPackageResourceRole Returns: AccessPackageResourceRoleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_role_id is None: raise TypeError("access_package_resource_role_id cannot be null.") from .item.access_package_resource_role_item_request_builder import AccessPackageResourceRoleItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRoleCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AccessPackageResourceRole, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceRole, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRolesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRolesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRolesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py index 9cf94aabb49..bf169397644 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py index 471bab0c3ac..153632d106c 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AccessPackageResourceRole, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: AccessPackageResourceRole, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRoleItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRoleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRoleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py index 04b5fe20c89..f62a8429399 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[External param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalOriginResourceConnector] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ExternalOriginResourceConnectorRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: ExternalOriginResourceConnectorRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ExternalOriginResourceConnectorRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py index 5dcdf24a844..dbbbf38ea14 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> RefreshRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefreshRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefreshRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/count/count_request_builder.py index a70b5268058..aadb4a6cbd8 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py index 1db6a320cbe..ce7de501244 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: CustomDataProvidedResourceUploadSession, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: CustomDataProvidedResourceUploadSess param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceUploadSessionItemRe param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceUploadSessionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py index d20715fb91b..12c0346da7e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/files_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/files_request_builder.py index 53ae2b0a4f4..bbcb834add9 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/files_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/files_request_builder.py @@ -38,6 +38,7 @@ def by_custom_data_provided_resource_file_id(self,custom_data_provided_resource_ param custom_data_provided_resource_file_id: The unique identifier of customDataProvidedResourceFile Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_file_id is None: raise TypeError("custom_data_provided_resource_file_id cannot be null.") from .item.custom_data_provided_resource_file_item_request_builder import CustomDataProvidedResourceFileItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilesReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFileCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> FilesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py index b3c1bdd84ec..5c6701beb22 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFile] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceFileItemRequestBuil param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceFileItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py index e0eb85990b4..5652ac5282e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py @@ -35,6 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_put_request_information( @@ -92,6 +95,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -103,6 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/octet-stream, application/json") @@ -115,6 +120,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PUT, self.url_template, self.path_parameters) @@ -129,6 +135,7 @@ def with_url(self,raw_url: str) -> ContentRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ContentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ContentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py index 88ef30d45e6..19a6d250e20 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[CustomDataProvidedResourceUploadSession] Find more info here: https://learn.microsoft.com/graph/api/customdataprovidedresourceuploadsession-uploadfile?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> UploadFileRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadFileRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadFileRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py index c9c7ef3fcfa..097c4f2fd58 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py @@ -39,6 +39,7 @@ def by_custom_data_provided_resource_upload_session_id(self,custom_data_provided param custom_data_provided_resource_upload_session_id: The unique identifier of customDataProvidedResourceUploadSession Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_upload_session_id is None: raise TypeError("custom_data_provided_resource_upload_session_id cannot be null.") from .item.custom_data_provided_resource_upload_session_item_request_builder import CustomDataProvidedResourceUploadSessionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UploadSe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSessionCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: CustomDataProvidedResourceUploadSession, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: CustomDataProvidedResourceUploadSessi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> UploadSessionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadSessionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadSessionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py index 10c366067d4..f82e2e86a6d 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: AccessPackageResourceScope, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: AccessPackageResourceScope, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopeItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopeItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py index a7116a7b426..98856c19d3b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[External param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalOriginResourceConnector] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ExternalOriginResourceConnectorRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: ExternalOriginResourceConnectorRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ExternalOriginResourceConnectorRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/refresh/refresh_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/refresh/refresh_request_builder.py index d647b7e148a..4908da9194c 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/refresh/refresh_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/refresh/refresh_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> RefreshRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefreshRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefreshRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/count/count_request_builder.py index 01f6f457044..ee1e0b951b1 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py index 3dbed53b40d..e52edda62e9 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: CustomDataProvidedResourceUploadSession, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: CustomDataProvidedResourceUploadSess param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceUploadSessionItemRe param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceUploadSessionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/count/count_request_builder.py index 1ebd6c6a935..7522976cc72 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/files_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/files_request_builder.py index 31fb08b9e80..9b8312d9988 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/files_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/files_request_builder.py @@ -38,6 +38,7 @@ def by_custom_data_provided_resource_file_id(self,custom_data_provided_resource_ param custom_data_provided_resource_file_id: The unique identifier of customDataProvidedResourceFile Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_file_id is None: raise TypeError("custom_data_provided_resource_file_id cannot be null.") from .item.custom_data_provided_resource_file_item_request_builder import CustomDataProvidedResourceFileItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilesReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFileCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> FilesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py index fb3bba877aa..7620c75c536 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFile] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceFileItemRequestBuil param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceFileItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py index 15c21fb608b..9d6f75720a0 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py @@ -35,6 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_put_request_information( @@ -92,6 +95,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -103,6 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/octet-stream, application/json") @@ -115,6 +120,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PUT, self.url_template, self.path_parameters) @@ -129,6 +135,7 @@ def with_url(self,raw_url: str) -> ContentRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ContentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ContentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py index 3691b17cbf2..499b859ffe9 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[CustomDataProvidedResourceUploadSession] Find more info here: https://learn.microsoft.com/graph/api/customdataprovidedresourceuploadsession-uploadfile?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> UploadFileRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadFileRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadFileRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/upload_sessions_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/upload_sessions_request_builder.py index 8c3bd66b3dd..686f6f1033c 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/upload_sessions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource/upload_sessions/upload_sessions_request_builder.py @@ -39,6 +39,7 @@ def by_custom_data_provided_resource_upload_session_id(self,custom_data_provided param custom_data_provided_resource_upload_session_id: The unique identifier of customDataProvidedResourceUploadSession Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_upload_session_id is None: raise TypeError("custom_data_provided_resource_upload_session_id cannot be null.") from .item.custom_data_provided_resource_upload_session_item_request_builder import CustomDataProvidedResourceUploadSessionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UploadSe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSessionCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: CustomDataProvidedResourceUploadSession, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: CustomDataProvidedResourceUploadSessi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> UploadSessionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadSessionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadSessionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource_role_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource_role_request_builder.py index 82c609454da..a999627fa98 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource_role_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role/access_package_resource_role_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: AccessPackageResourceRole, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: AccessPackageResourceRole, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRoleRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRoleRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRoleRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role_scope_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role_scope_item_request_builder.py index d3068b569b0..fa2a5398eee 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role_scope_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_role_scope_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRoleScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: AccessPackageResourceRoleScope, request_configuration param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRoleScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: AccessPackageResourceRoleScope, requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRoleScopeItemRequestBuil param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRoleScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRoleScopeItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py index a1fa581983a..a8d6216e4d9 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceEnvironment] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceEnvironmentRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceEnvironmentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceEnvironmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_request_builder.py index 14819ee556b..0ea7bb24536 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_request_builder.py @@ -42,6 +42,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -60,6 +61,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,6 +83,7 @@ async def patch(self,body: AccessPackageResource, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,6 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -114,6 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,6 +131,7 @@ def to_patch_request_information(self,body: AccessPackageResource, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,6 +146,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py index 52a0c320f6a..a66619a84a1 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py @@ -39,6 +39,7 @@ def by_access_package_resource_role_id(self,access_package_resource_role_id: str param access_package_resource_role_id: The unique identifier of accessPackageResourceRole Returns: AccessPackageResourceRoleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_role_id is None: raise TypeError("access_package_resource_role_id cannot be null.") from .item.access_package_resource_role_item_request_builder import AccessPackageResourceRoleItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRoleCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AccessPackageResourceRole, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceRole, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRolesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRolesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRolesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/count/count_request_builder.py index 79e3d1764a6..b661e2e17c3 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py index a36f7925ed7..c6b0c21fa5e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceEnvironment] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceEnvironmentRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceEnvironmentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceEnvironmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py index 2d252c1cfb9..b579527810d 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py @@ -41,6 +41,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,6 +60,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,6 +82,7 @@ async def patch(self,body: AccessPackageResource, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -102,6 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,6 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,6 +130,7 @@ def to_patch_request_information(self,body: AccessPackageResource, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -139,6 +145,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py index 41f8205d68f..796b8650f4b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py @@ -39,6 +39,7 @@ def by_access_package_resource_scope_id(self,access_package_resource_scope_id: s param access_package_resource_scope_id: The unique identifier of accessPackageResourceScope Returns: AccessPackageResourceScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_scope_id is None: raise TypeError("access_package_resource_scope_id cannot be null.") from .item.access_package_resource_scope_item_request_builder import AccessPackageResourceScopeItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScopeCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AccessPackageResourceScope, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceScope, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py index fdfd38da120..573dbe833f8 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py index 62ba98c3eb8..52453e68996 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AccessPackageResourceScope, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: AccessPackageResourceScope, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopeItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopeItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py index 94edc7fa8b7..d5d6cca03d0 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[External param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalOriginResourceConnector] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ExternalOriginResourceConnectorRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: ExternalOriginResourceConnectorRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ExternalOriginResourceConnectorRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py index 4ee45c3162b..1dde7474e51 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> RefreshRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefreshRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefreshRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/count/count_request_builder.py index 08a912b4c1f..74c09edd5cd 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py index 904a3e2b27f..699b45435a4 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: CustomDataProvidedResourceUploadSession, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: CustomDataProvidedResourceUploadSess param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceUploadSessionItemRe param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceUploadSessionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py index a7ba8939398..280c5f3fc13 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/files_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/files_request_builder.py index f7b73dd4681..3159dc9080a 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/files_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/files_request_builder.py @@ -38,6 +38,7 @@ def by_custom_data_provided_resource_file_id(self,custom_data_provided_resource_ param custom_data_provided_resource_file_id: The unique identifier of customDataProvidedResourceFile Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_file_id is None: raise TypeError("custom_data_provided_resource_file_id cannot be null.") from .item.custom_data_provided_resource_file_item_request_builder import CustomDataProvidedResourceFileItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilesReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFileCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> FilesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py index 84aa6f7cea2..4a33504107a 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFile] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceFileItemRequestBuil param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceFileItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py index 5875b9137a1..b257b86c778 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py @@ -35,6 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_put_request_information( @@ -92,6 +95,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -103,6 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/octet-stream, application/json") @@ -115,6 +120,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PUT, self.url_template, self.path_parameters) @@ -129,6 +135,7 @@ def with_url(self,raw_url: str) -> ContentRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ContentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ContentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py index 653597cdcb1..baa90030f4f 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[CustomDataProvidedResourceUploadSession] Find more info here: https://learn.microsoft.com/graph/api/customdataprovidedresourceuploadsession-uploadfile?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> UploadFileRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadFileRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadFileRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py index 8d978ec2833..1692330f6a1 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource/upload_sessions/upload_sessions_request_builder.py @@ -39,6 +39,7 @@ def by_custom_data_provided_resource_upload_session_id(self,custom_data_provided param custom_data_provided_resource_upload_session_id: The unique identifier of customDataProvidedResourceUploadSession Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_upload_session_id is None: raise TypeError("custom_data_provided_resource_upload_session_id cannot be null.") from .item.custom_data_provided_resource_upload_session_item_request_builder import CustomDataProvidedResourceUploadSessionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UploadSe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSessionCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: CustomDataProvidedResourceUploadSession, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: CustomDataProvidedResourceUploadSessi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> UploadSessionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadSessionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadSessionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py index 56858a6ba89..9236cc9b082 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: AccessPackageResourceRole, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRole] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: AccessPackageResourceRole, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRoleItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRoleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRoleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py index 831acac719d..f2d5b1e9f31 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py @@ -39,6 +39,7 @@ def by_access_package_resource_scope_id(self,access_package_resource_scope_id: s param access_package_resource_scope_id: The unique identifier of accessPackageResourceScope Returns: AccessPackageResourceScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_scope_id is None: raise TypeError("access_package_resource_scope_id cannot be null.") from .item.access_package_resource_scope_item_request_builder import AccessPackageResourceScopeItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScopeCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AccessPackageResourceScope, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AccessPackageResourceScope, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/count/count_request_builder.py index 8810e84584a..b96f76644ad 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py index bd3b283ec64..2b10aee4c23 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AccessPackageResourceScope, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: AccessPackageResourceScope, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopeItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopeItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py index aa2672b2f39..15b39072a68 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/external_origin_resource_connector/external_origin_resource_connector_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[External param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalOriginResourceConnector] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ExternalOriginResourceConnectorRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: ExternalOriginResourceConnectorRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ExternalOriginResourceConnectorRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/refresh/refresh_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/refresh/refresh_request_builder.py index 5fe8765d678..2959ea33d36 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/refresh/refresh_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/refresh/refresh_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> RefreshRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefreshRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefreshRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/count/count_request_builder.py index 637bc28fc45..720d2e7968c 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py index 3e5036fab18..c43c91623f1 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/custom_data_provided_resource_upload_session_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: CustomDataProvidedResourceUploadSession, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: CustomDataProvidedResourceUploadSess param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceUploadSessionItemRe param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceUploadSessionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/count/count_request_builder.py index 8db31a8a4f2..200c8ab5a2c 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/files_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/files_request_builder.py index 4cfb48ed8bd..9bd08f91d75 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/files_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/files_request_builder.py @@ -38,6 +38,7 @@ def by_custom_data_provided_resource_file_id(self,custom_data_provided_resource_ param custom_data_provided_resource_file_id: The unique identifier of customDataProvidedResourceFile Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_file_id is None: raise TypeError("custom_data_provided_resource_file_id cannot be null.") from .item.custom_data_provided_resource_file_item_request_builder import CustomDataProvidedResourceFileItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilesReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFileCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> FilesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py index 929903a5089..7b20ad84983 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/item/custom_data_provided_resource_file_item_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomDa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceFile] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> CustomDataProvidedResourceFileItemRequestBuil param raw_url: The raw URL to use for the request builder. Returns: CustomDataProvidedResourceFileItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomDataProvidedResourceFileItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py index 269627b389f..a358cfe0b8b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/files/item/value/content_request_builder.py @@ -35,6 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_put_request_information( @@ -92,6 +95,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -103,6 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/octet-stream, application/json") @@ -115,6 +120,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PUT, self.url_template, self.path_parameters) @@ -129,6 +135,7 @@ def with_url(self,raw_url: str) -> ContentRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ContentRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ContentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py index 16fcfdf8857..acc150d79c5 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/item/upload_file/upload_file_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[CustomDataProvidedResourceUploadSession] Find more info here: https://learn.microsoft.com/graph/api/customdataprovidedresourceuploadsession-uploadfile?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> UploadFileRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadFileRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadFileRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/upload_sessions_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/upload_sessions_request_builder.py index dd119c9d362..85e64f28dc0 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/upload_sessions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource/upload_sessions/upload_sessions_request_builder.py @@ -39,6 +39,7 @@ def by_custom_data_provided_resource_upload_session_id(self,custom_data_provided param custom_data_provided_resource_upload_session_id: The unique identifier of customDataProvidedResourceUploadSession Returns: CustomDataProvidedResourceUploadSessionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_data_provided_resource_upload_session_id is None: raise TypeError("custom_data_provided_resource_upload_session_id cannot be null.") from .item.custom_data_provided_resource_upload_session_item_request_builder import CustomDataProvidedResourceUploadSessionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UploadSe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSessionCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: CustomDataProvidedResourceUploadSession, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomDataProvidedResourceUploadSession] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: CustomDataProvidedResourceUploadSessi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> UploadSessionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UploadSessionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UploadSessionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource_scope_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource_scope_request_builder.py index 0a7dd29e846..718a129b4bf 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource_scope_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_resource_role_scopes/item/access_package_resource_scope/access_package_resource_scope_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: AccessPackageResourceScope, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: AccessPackageResourceScope, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceScopeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_packages_incompatible_with/access_packages_incompatible_with_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_packages_incompatible_with/access_packages_incompatible_with_request_builder.py index bb1a93e3bfe..073879961ba 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_packages_incompatible_with/access_packages_incompatible_with_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_packages_incompatible_with/access_packages_incompatible_with_request_builder.py @@ -38,6 +38,7 @@ def by_access_package_id1(self,access_package_id1: str) -> AccessPackageItemRequ param access_package_id1: The unique identifier of accessPackage Returns: AccessPackageItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_id1 is None: raise TypeError("access_package_id1 cannot be null.") from .item.access_package_item_request_builder import AccessPackageItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa Returns: Optional[AccessPackageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackage-list-accesspackagesincompatiblewith?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -73,6 +75,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -84,6 +87,7 @@ def with_url(self,raw_url: str) -> AccessPackagesIncompatibleWithRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackagesIncompatibleWithRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackagesIncompatibleWithRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_packages_incompatible_with/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_packages_incompatible_with/count/count_request_builder.py index e1350c788de..106088bd6cb 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_packages_incompatible_with/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_packages_incompatible_with/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_packages_incompatible_with/item/access_package_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_packages_incompatible_with/item/access_package_item_request_builder.py index 10dfe1e4ce7..cb8e7e60749 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_packages_incompatible_with/item/access_package_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_packages_incompatible_with/item/access_package_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackage] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_packages_incompatible_with_with_unique_name/access_packages_incompatible_with_with_unique_name_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_packages_incompatible_with_with_unique_name/access_packages_incompatible_with_with_unique_name_request_builder.py index 2f79dafe0e8..f7e5a199b8b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_packages_incompatible_with_with_unique_name/access_packages_incompatible_with_with_unique_name_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_packages_incompatible_with_with_unique_name/access_packages_incompatible_with_with_unique_name_request_builder.py @@ -39,6 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackage] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,6 +72,7 @@ def with_url(self,raw_url: str) -> AccessPackagesIncompatibleWithWithUniqueNameR param raw_url: The raw URL to use for the request builder. Returns: AccessPackagesIncompatibleWithWithUniqueNameRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackagesIncompatibleWithWithUniqueNameRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/get_applicable_policy_requirements/get_applicable_policy_requirements_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/get_applicable_policy_requirements/get_applicable_policy_requirements_request_builder.py index b953ae41e00..5bd4d05fa22 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/get_applicable_policy_requirements/get_applicable_policy_requirements_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/get_applicable_policy_requirements/get_applicable_policy_requirements_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[GetApplicablePolicyRequirementsPostResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackage-getapplicablepolicyrequirements?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> GetApplicablePolicyRequirementsRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: GetApplicablePolicyRequirementsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GetApplicablePolicyRequirementsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_access_packages/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_access_packages/count/count_request_builder.py index 84e54c06b6f..7488a6e40db 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_access_packages/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_access_packages/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_access_packages/incompatible_access_packages_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_access_packages/incompatible_access_packages_request_builder.py index 76fdc3c9d7e..de58d0275b6 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_access_packages/incompatible_access_packages_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_access_packages/incompatible_access_packages_request_builder.py @@ -54,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Incompat Returns: Optional[AccessPackageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackage-list-incompatibleaccesspackages?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +75,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -85,6 +87,7 @@ def with_url(self,raw_url: str) -> IncompatibleAccessPackagesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: IncompatibleAccessPackagesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return IncompatibleAccessPackagesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_access_packages/item/ref/ref_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_access_packages/item/ref/ref_request_builder.py index 6c09d956201..52d5043cf5d 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_access_packages/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_access_packages/item/ref/ref_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackage-delete-incompatibleaccesspackage?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> RefRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_access_packages/ref/ref_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_access_packages/ref/ref_request_builder.py index ae651401281..1b3c9b873cd 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_access_packages/ref/ref_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_access_packages/ref/ref_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[RefRe Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackage-delete-incompatibleaccesspackage?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RefReque Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackage-list-incompatibleaccesspackages?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def post(self,body: ReferenceCreate, request_configuration: Optional[Reque Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackage-post-incompatibleaccesspackage?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, '{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleAccessPackages/$ref?@id={%40id}', self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_post_request_information(self,body: ReferenceCreate, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> RefRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/count/count_request_builder.py index 5a0d9da94e8..66ad2556b85 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/incompatible_groups_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/incompatible_groups_request_builder.py index ee1da020d1e..7ccb4d1a556 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/incompatible_groups_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/incompatible_groups_request_builder.py @@ -54,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Incompat Returns: Optional[GroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackage-list-incompatiblegroups?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +75,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -85,6 +87,7 @@ def with_url(self,raw_url: str) -> IncompatibleGroupsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: IncompatibleGroupsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return IncompatibleGroupsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/item/ref/ref_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/item/ref/ref_request_builder.py index 55bb435b1d9..0feca83788b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/item/ref/ref_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackage-delete-incompatiblegroup?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> RefRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/item/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/item/service_provisioning_errors/count/count_request_builder.py index 9976187fa7c..784beaee3b5 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/item/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/item/service_provisioning_errors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/item/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/item/service_provisioning_errors/service_provisioning_errors_request_builder.py index 832ad5fc42f..7b2999972cb 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/item/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/item/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/ref/ref_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/ref/ref_request_builder.py index f346fa0412a..3cb4ef1ddd5 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/ref/ref_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/incompatible_groups/ref/ref_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[RefRe Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackage-delete-incompatiblegroup?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RefReque Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackage-list-incompatiblegroups?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def post(self,body: ReferenceCreate, request_configuration: Optional[Reque Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackage-post-incompatiblegroup?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, '{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleGroups/$ref?@id={%40id}', self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_post_request_information(self,body: ReferenceCreate, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> RefRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/move_to_catalog/move_to_catalog_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/move_to_catalog/move_to_catalog_request_builder.py index e5ee35be8e5..53d885170ad 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/move_to_catalog/move_to_catalog_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/move_to_catalog/move_to_catalog_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: MoveToCatalogPostRequestBody, request_configuration: O Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackage-movetocatalog?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: MoveToCatalogPostRequestBody, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> MoveToCatalogRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MoveToCatalogRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MoveToCatalogRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/search/search_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/search/search_request_builder.py index b9dc9583968..f052825e72f 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/search/search_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/search/search_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SearchRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SearchGetResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> SearchRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SearchRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SearchRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages_with_unique_name/access_packages_with_unique_name_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages_with_unique_name/access_packages_with_unique_name_request_builder.py index 870ae695cfb..957a1c4d473 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages_with_unique_name/access_packages_with_unique_name_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages_with_unique_name/access_packages_with_unique_name_request_builder.py @@ -42,6 +42,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackage-delete?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -61,6 +62,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa Returns: Optional[AccessPackage] Find more info here: https://learn.microsoft.com/graph/api/accesspackage-get?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -83,6 +85,7 @@ async def patch(self,body: AccessPackage, request_configuration: Optional[Reques Returns: Optional[AccessPackage] Find more info here: https://learn.microsoft.com/graph/api/accesspackage-update?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -105,6 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -116,6 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -128,6 +133,7 @@ def to_patch_request_information(self,body: AccessPackage, request_configuration param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -142,6 +148,7 @@ def with_url(self,raw_url: str) -> AccessPackagesWithUniqueNameRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackagesWithUniqueNameRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackagesWithUniqueNameRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages_with_unique_name/get_applicable_policy_requirements/get_applicable_policy_requirements_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages_with_unique_name/get_applicable_policy_requirements/get_applicable_policy_requirements_request_builder.py index c528e4a0b12..74e5aea95f4 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages_with_unique_name/get_applicable_policy_requirements/get_applicable_policy_requirements_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages_with_unique_name/get_applicable_policy_requirements/get_applicable_policy_requirements_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[GetApplicablePolicyRequirementsPostResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackage-getapplicablepolicyrequirements?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> GetApplicablePolicyRequirementsRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: GetApplicablePolicyRequirementsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GetApplicablePolicyRequirementsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages_with_unique_name/move_to_catalog/move_to_catalog_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages_with_unique_name/move_to_catalog/move_to_catalog_request_builder.py index e810a8b1c11..689c6f69520 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages_with_unique_name/move_to_catalog/move_to_catalog_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages_with_unique_name/move_to_catalog/move_to_catalog_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: MoveToCatalogPostRequestBody, request_configuration: O Returns: None Find more info here: https://learn.microsoft.com/graph/api/accesspackage-movetocatalog?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: MoveToCatalogPostRequestBody, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> MoveToCatalogRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MoveToCatalogRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MoveToCatalogRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/available_access_packages/available_access_packages_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/available_access_packages/available_access_packages_request_builder.py index 9fc6716a11b..588d1d35042 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/available_access_packages/available_access_packages_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/available_access_packages/available_access_packages_request_builder.py @@ -39,6 +39,7 @@ def by_available_access_package_id(self,available_access_package_id: str) -> Ava param available_access_package_id: The unique identifier of availableAccessPackage Returns: AvailableAccessPackageItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if available_access_package_id is None: raise TypeError("available_access_package_id cannot be null.") from .item.available_access_package_item_request_builder import AvailableAccessPackageItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Availabl param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AvailableAccessPackageCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AvailableAccessPackage, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AvailableAccessPackage] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AvailableAccessPackage, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AvailableAccessPackagesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AvailableAccessPackagesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AvailableAccessPackagesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/available_access_packages/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/available_access_packages/count/count_request_builder.py index 0cdb1a4c5c6..9fbcfd2c01a 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/available_access_packages/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/available_access_packages/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/available_access_packages/item/available_access_package_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/available_access_packages/item/available_access_package_item_request_builder.py index 366a5a472a0..53b18f76fa1 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/available_access_packages/item/available_access_package_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/available_access_packages/item/available_access_package_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Availabl param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AvailableAccessPackage] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: AvailableAccessPackage, request_configuration: Option param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AvailableAccessPackage] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: AvailableAccessPackage, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> AvailableAccessPackageItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AvailableAccessPackageItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AvailableAccessPackageItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/available_access_packages/item/resource_role_scopes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/available_access_packages/item/resource_role_scopes/count/count_request_builder.py index 78a0310465c..3bddb44bce4 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/available_access_packages/item/resource_role_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/available_access_packages/item/resource_role_scopes/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/available_access_packages/item/resource_role_scopes/item/access_package_resource_role_scope_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/available_access_packages/item/resource_role_scopes/item/access_package_resource_role_scope_item_request_builder.py index 8402b35af64..dc582c3fb3e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/available_access_packages/item/resource_role_scopes/item/access_package_resource_role_scope_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/available_access_packages/item/resource_role_scopes/item/access_package_resource_role_scope_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRoleScope] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AccessPackageResourceRoleScopeItemRequestBuil param raw_url: The raw URL to use for the request builder. Returns: AccessPackageResourceRoleScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageResourceRoleScopeItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/available_access_packages/item/resource_role_scopes/resource_role_scopes_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/available_access_packages/item/resource_role_scopes/resource_role_scopes_request_builder.py index 017ed18fc27..5f1b90450f9 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/available_access_packages/item/resource_role_scopes/resource_role_scopes_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/available_access_packages/item/resource_role_scopes/resource_role_scopes_request_builder.py @@ -38,6 +38,7 @@ def by_access_package_resource_role_scope_id(self,access_package_resource_role_s param access_package_resource_role_scope_id: The unique identifier of accessPackageResourceRoleScope Returns: AccessPackageResourceRoleScopeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_resource_role_scope_id is None: raise TypeError("access_package_resource_role_scope_id cannot be null.") from .item.access_package_resource_role_scope_item_request_builder import AccessPackageResourceRoleScopeItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Resource Returns: Optional[AccessPackageResourceRoleScopeCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/availableaccesspackage-list-resourcerolescopes?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -73,6 +75,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -84,6 +87,7 @@ def with_url(self,raw_url: str) -> ResourceRoleScopesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ResourceRoleScopesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ResourceRoleScopesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/connected_organizations_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/connected_organizations_request_builder.py index 43d608d6cd2..e5e2e35a2d6 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/connected_organizations_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/connected_organizations_request_builder.py @@ -39,6 +39,7 @@ def by_connected_organization_id(self,connected_organization_id: str) -> Connect param connected_organization_id: The unique identifier of connectedOrganization Returns: ConnectedOrganizationItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if connected_organization_id is None: raise TypeError("connected_organization_id cannot be null.") from .item.connected_organization_item_request_builder import ConnectedOrganizationItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Connecte Returns: Optional[ConnectedOrganizationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/entitlementmanagement-list-connectedorganizations?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def post(self,body: ConnectedOrganization, request_configuration: Optional Returns: Optional[ConnectedOrganization] Find more info here: https://learn.microsoft.com/graph/api/entitlementmanagement-post-connectedorganizations?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -98,6 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_post_request_information(self,body: ConnectedOrganization, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -124,6 +129,7 @@ def with_url(self,raw_url: str) -> ConnectedOrganizationsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ConnectedOrganizationsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ConnectedOrganizationsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/count/count_request_builder.py index 6f2911bd236..064f461766b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/connected_organization_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/connected_organization_item_request_builder.py index 803034a4274..72f2dadfac5 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/connected_organization_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/connected_organization_item_request_builder.py @@ -39,6 +39,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/connectedorganization-delete?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,6 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Connecte Returns: Optional[ConnectedOrganization] Find more info here: https://learn.microsoft.com/graph/api/connectedorganization-get?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,6 +82,7 @@ async def patch(self,body: ConnectedOrganization, request_configuration: Optiona Returns: Optional[ConnectedOrganization] Find more info here: https://learn.microsoft.com/graph/api/connectedorganization-update?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -102,6 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,6 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,6 +130,7 @@ def to_patch_request_information(self,body: ConnectedOrganization, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -139,6 +145,7 @@ def with_url(self,raw_url: str) -> ConnectedOrganizationItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ConnectedOrganizationItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ConnectedOrganizationItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/count/count_request_builder.py index 9493cf5029b..c1584404afc 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/external_sponsors_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/external_sponsors_request_builder.py index 623924a11c1..21bc643fb7c 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/external_sponsors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/external_sponsors_request_builder.py @@ -54,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[External Returns: Optional[DirectoryObjectCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/connectedorganization-list-externalsponsors?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +75,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -85,6 +87,7 @@ def with_url(self,raw_url: str) -> ExternalSponsorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ExternalSponsorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ExternalSponsorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/item/ref/ref_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/item/ref/ref_request_builder.py index e230014f017..591f4437b8f 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/item/ref/ref_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/connectedorganization-delete-externalsponsors?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> RefRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/ref/ref_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/ref/ref_request_builder.py index b0841275e9e..cf2767d7f07 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/ref/ref_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/ref/ref_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[RefRe Returns: None Find more info here: https://learn.microsoft.com/graph/api/connectedorganization-delete-externalsponsors?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RefReque Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/connectedorganization-list-externalsponsors?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def post(self,body: ReferenceCreate, request_configuration: Optional[Reque Returns: None Find more info here: https://learn.microsoft.com/graph/api/connectedorganization-post-externalsponsors?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, '{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/externalSponsors/$ref?@id={%40id}', self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_post_request_information(self,body: ReferenceCreate, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> RefRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/count/count_request_builder.py index 768318eea50..dc6515583fd 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/internal_sponsors_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/internal_sponsors_request_builder.py index 305f25934df..c8a67f9c9c3 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/internal_sponsors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/internal_sponsors_request_builder.py @@ -54,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Internal Returns: Optional[DirectoryObjectCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/connectedorganization-list-internalsponsors?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +75,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -85,6 +87,7 @@ def with_url(self,raw_url: str) -> InternalSponsorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: InternalSponsorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return InternalSponsorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/item/ref/ref_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/item/ref/ref_request_builder.py index 4a32e310e0c..39e72f693db 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/item/ref/ref_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/connectedorganization-delete-internalsponsors?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> RefRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/ref/ref_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/ref/ref_request_builder.py index ce599d08c03..f91975230f0 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/ref/ref_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/ref/ref_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[RefRe Returns: None Find more info here: https://learn.microsoft.com/graph/api/connectedorganization-delete-internalsponsors?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RefReque Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/connectedorganization-list-internalsponsors?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def post(self,body: ReferenceCreate, request_configuration: Optional[Reque Returns: None Find more info here: https://learn.microsoft.com/graph/api/connectedorganization-post-internalsponsors?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, '{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/internalSponsors/$ref?@id={%40id}', self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_post_request_information(self,body: ReferenceCreate, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> RefRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/entitlement_management_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/entitlement_management_request_builder.py index fa234f0d58f..67c34dbe3ce 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/entitlement_management_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/entitlement_management_request_builder.py @@ -71,6 +71,7 @@ def access_packages_with_unique_name(self,unique_name: str) -> AccessPackagesWit param unique_name: Alternate key of accessPackage Returns: AccessPackagesWithUniqueNameRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if unique_name is None: raise TypeError("unique_name cannot be null.") from .access_packages_with_unique_name.access_packages_with_unique_name_request_builder import AccessPackagesWithUniqueNameRequestBuilder @@ -83,6 +84,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -101,6 +103,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Entitlem param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EntitlementManagement] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -122,6 +125,7 @@ async def patch(self,body: EntitlementManagement, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EntitlementManagement] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -144,6 +148,7 @@ def subjects_with_object_id(self,object_id: str) -> SubjectsWithObjectIdRequestB param object_id: Alternate key of accessPackageSubject Returns: SubjectsWithObjectIdRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if object_id is None: raise TypeError("object_id cannot be null.") from .subjects_with_object_id.subjects_with_object_id_request_builder import SubjectsWithObjectIdRequestBuilder @@ -156,6 +161,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -167,6 +173,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -179,6 +186,7 @@ def to_patch_request_information(self,body: EntitlementManagement, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -193,6 +201,7 @@ def with_url(self,raw_url: str) -> EntitlementManagementRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: EntitlementManagementRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return EntitlementManagementRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/external_origin_resource_connectors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/external_origin_resource_connectors/count/count_request_builder.py index 4bb76b92eba..5de6bc5920b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/external_origin_resource_connectors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/external_origin_resource_connectors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/external_origin_resource_connectors/external_origin_resource_connectors_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/external_origin_resource_connectors/external_origin_resource_connectors_request_builder.py index 9ac0f3060c4..3b4b1b963d0 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/external_origin_resource_connectors/external_origin_resource_connectors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/external_origin_resource_connectors/external_origin_resource_connectors_request_builder.py @@ -39,6 +39,7 @@ def by_external_origin_resource_connector_id(self,external_origin_resource_conne param external_origin_resource_connector_id: The unique identifier of externalOriginResourceConnector Returns: ExternalOriginResourceConnectorItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if external_origin_resource_connector_id is None: raise TypeError("external_origin_resource_connector_id cannot be null.") from .item.external_origin_resource_connector_item_request_builder import ExternalOriginResourceConnectorItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[External Returns: Optional[ExternalOriginResourceConnectorCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/entitlementmanagement-list-externaloriginresourceconnectors?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def post(self,body: ExternalOriginResourceConnector, request_configuration Returns: Optional[ExternalOriginResourceConnector] Find more info here: https://learn.microsoft.com/graph/api/entitlementmanagement-post-externaloriginresourceconnectors?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -98,6 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_post_request_information(self,body: ExternalOriginResourceConnector, requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -124,6 +129,7 @@ def with_url(self,raw_url: str) -> ExternalOriginResourceConnectorsRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: ExternalOriginResourceConnectorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ExternalOriginResourceConnectorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/external_origin_resource_connectors/item/external_origin_resource_connector_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/external_origin_resource_connectors/item/external_origin_resource_connector_item_request_builder.py index e3653ba4022..5a70eb001d7 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/external_origin_resource_connectors/item/external_origin_resource_connector_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/external_origin_resource_connectors/item/external_origin_resource_connector_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/externaloriginresourceconnector-delete?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[External param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalOriginResourceConnector] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: ExternalOriginResourceConnector, request_configuratio Returns: Optional[ExternalOriginResourceConnector] Find more info here: https://learn.microsoft.com/graph/api/externaloriginresourceconnector-update?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: ExternalOriginResourceConnector, req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> ExternalOriginResourceConnectorItemRequestBui param raw_url: The raw URL to use for the request builder. Returns: ExternalOriginResourceConnectorItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ExternalOriginResourceConnectorItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/settings/settings_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/settings/settings_request_builder.py index dfbf1139a62..41c5c8f791c 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/settings/settings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/settings/settings_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Settings Returns: Optional[EntitlementManagementSettings] Find more info here: https://learn.microsoft.com/graph/api/entitlementmanagementsettings-get?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: EntitlementManagementSettings, request_configuration: Returns: Optional[EntitlementManagementSettings] Find more info here: https://learn.microsoft.com/graph/api/entitlementmanagementsettings-update?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: EntitlementManagementSettings, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> SettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SettingsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/subjects/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/subjects/count/count_request_builder.py index 283a9d00d7c..fbae11113bb 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/subjects/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/subjects/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/subjects/item/access_package_subject_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/subjects/item/access_package_subject_item_request_builder.py index 370fde114e6..c3c2874a014 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/subjects/item/access_package_subject_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/subjects/item/access_package_subject_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AccessPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageSubject] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: AccessPackageSubject, request_configuration: Optional Returns: Optional[AccessPackageSubject] Find more info here: https://learn.microsoft.com/graph/api/accesspackagesubject-update?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: AccessPackageSubject, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> AccessPackageSubjectItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AccessPackageSubjectItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AccessPackageSubjectItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/subjects/item/connected_organization/connected_organization_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/subjects/item/connected_organization/connected_organization_request_builder.py index 3a7d1e83c16..ea16a6f598a 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/subjects/item/connected_organization/connected_organization_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/subjects/item/connected_organization/connected_organization_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Connecte param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConnectedOrganization] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ConnectedOrganizationRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ConnectedOrganizationRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ConnectedOrganizationRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/subjects/subjects_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/subjects/subjects_request_builder.py index dfd3cd10443..0a3d60e761d 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/subjects/subjects_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/subjects/subjects_request_builder.py @@ -39,6 +39,7 @@ def by_access_package_subject_id(self,access_package_subject_id: str) -> AccessP param access_package_subject_id: The unique identifier of accessPackageSubject Returns: AccessPackageSubjectItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if access_package_subject_id is None: raise TypeError("access_package_subject_id cannot be null.") from .item.access_package_subject_item_request_builder import AccessPackageSubjectItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Subjects Returns: Optional[AccessPackageSubjectCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackagesubject-get?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: AccessPackageSubject, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageSubject] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: AccessPackageSubject, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> SubjectsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SubjectsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SubjectsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/subjects_with_object_id/subjects_with_object_id_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/subjects_with_object_id/subjects_with_object_id_request_builder.py index 28df46673c6..613f8689441 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/subjects_with_object_id/subjects_with_object_id_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/subjects_with_object_id/subjects_with_object_id_request_builder.py @@ -39,6 +39,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Subjects param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageSubject] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def patch(self,body: AccessPackageSubject, request_configuration: Optional Returns: Optional[AccessPackageSubject] Find more info here: https://learn.microsoft.com/graph/api/accesspackagesubject-update?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,6 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,6 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -124,6 +129,7 @@ def to_patch_request_information(self,body: AccessPackageSubject, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -138,6 +144,7 @@ def with_url(self,raw_url: str) -> SubjectsWithObjectIdRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SubjectsWithObjectIdRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SubjectsWithObjectIdRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/identity_governance_request_builder.py b/msgraph_beta/generated/identity_governance/identity_governance_request_builder.py index 729fa22adf9..e832d155915 100644 --- a/msgraph_beta/generated/identity_governance/identity_governance_request_builder.py +++ b/msgraph_beta/generated/identity_governance/identity_governance_request_builder.py @@ -60,6 +60,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Identity param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IdentityGovernance] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,6 +82,7 @@ async def patch(self,body: IdentityGovernance, request_configuration: Optional[R param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IdentityGovernance] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,6 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -115,6 +118,7 @@ def to_patch_request_information(self,body: IdentityGovernance, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -129,6 +133,7 @@ def with_url(self,raw_url: str) -> IdentityGovernanceRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: IdentityGovernanceRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return IdentityGovernanceRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/count/count_request_builder.py index 1d22ab62b10..34024506487 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/custom_task_extensions_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/custom_task_extensions_request_builder.py index 945aa0a9167..82f97ddd12a 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/custom_task_extensions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/custom_task_extensions_request_builder.py @@ -39,6 +39,7 @@ def by_custom_task_extension_id(self,custom_task_extension_id: str) -> CustomTas param custom_task_extension_id: The unique identifier of customTaskExtension Returns: CustomTaskExtensionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if custom_task_extension_id is None: raise TypeError("custom_task_extension_id cannot be null.") from .item.custom_task_extension_item_request_builder import CustomTaskExtensionItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomTa Returns: Optional[CustomTaskExtensionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-lifecycleworkflowscontainer-list-customtaskextensions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def post(self,body: CustomTaskExtension, request_configuration: Optional[R Returns: Optional[CustomTaskExtension] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-lifecycleworkflowscontainer-post-customtaskextensions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -98,6 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_post_request_information(self,body: CustomTaskExtension, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -124,6 +129,7 @@ def with_url(self,raw_url: str) -> CustomTaskExtensionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CustomTaskExtensionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomTaskExtensionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/created_by/created_by_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/created_by/created_by_request_builder.py index 5e141f5a8a9..56fc6a7ef7e 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/created_by/created_by_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/created_by/created_by_request_builder.py @@ -38,6 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CreatedB param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -58,6 +59,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -69,6 +71,7 @@ def with_url(self,raw_url: str) -> CreatedByRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CreatedByRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CreatedByRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/created_by/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/created_by/mailbox_settings/mailbox_settings_request_builder.py index 2b2ee399210..c7e03c86820 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/created_by/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/created_by/mailbox_settings/mailbox_settings_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxS param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def patch(self,body: MailboxSettings, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -79,6 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -91,6 +94,7 @@ def to_patch_request_information(self,body: MailboxSettings, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -105,6 +109,7 @@ def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxSettingsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/created_by/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/created_by/service_provisioning_errors/count/count_request_builder.py index dfd9d164923..f52fc1ab846 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/created_by/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/created_by/service_provisioning_errors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/created_by/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/created_by/service_provisioning_errors/service_provisioning_errors_request_builder.py index 0e7c59519ad..915d5ab669b 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/created_by/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/created_by/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/custom_task_extension_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/custom_task_extension_item_request_builder.py index d44e8715a7a..f4b14fe246b 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/custom_task_extension_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/custom_task_extension_item_request_builder.py @@ -39,6 +39,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-customtaskextension-delete?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,6 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomTa Returns: Optional[CustomTaskExtension] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-customtaskextension-get?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,6 +82,7 @@ async def patch(self,body: CustomTaskExtension, request_configuration: Optional[ Returns: Optional[CustomTaskExtension] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-customtaskextension-update?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -102,6 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,6 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,6 +130,7 @@ def to_patch_request_information(self,body: CustomTaskExtension, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -139,6 +145,7 @@ def with_url(self,raw_url: str) -> CustomTaskExtensionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CustomTaskExtensionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomTaskExtensionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/last_modified_by/last_modified_by_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/last_modified_by/last_modified_by_request_builder.py index d21896def0a..3810d9a59c5 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/last_modified_by/last_modified_by_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/last_modified_by/last_modified_by_request_builder.py @@ -38,6 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[LastModi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -58,6 +59,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -69,6 +71,7 @@ def with_url(self,raw_url: str) -> LastModifiedByRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: LastModifiedByRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return LastModifiedByRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/last_modified_by/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/last_modified_by/mailbox_settings/mailbox_settings_request_builder.py index 2969bc72336..854210fc577 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/last_modified_by/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/last_modified_by/mailbox_settings/mailbox_settings_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxS param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def patch(self,body: MailboxSettings, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -79,6 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -91,6 +94,7 @@ def to_patch_request_information(self,body: MailboxSettings, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -105,6 +109,7 @@ def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxSettingsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py index d7a42baad51..5f58b20e3ab 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/last_modified_by/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/last_modified_by/service_provisioning_errors/service_provisioning_errors_request_builder.py index 85b82ae513e..a14401a1b7b 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/last_modified_by/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/custom_task_extensions/item/last_modified_by/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/deleted_items_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/deleted_items_request_builder.py index f4d52530339..d947a4f7cf1 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/deleted_items_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/deleted_items_request_builder.py @@ -16,6 +16,7 @@ if TYPE_CHECKING: from ....models.deleted_item_container import DeletedItemContainer from ....models.o_data_errors.o_data_error import ODataError + from .lifecycle_policies.lifecycle_policies_request_builder import LifecyclePoliciesRequestBuilder from .workflows.workflows_request_builder import WorkflowsRequestBuilder class DeletedItemsRequestBuilder(BaseRequestBuilder): @@ -37,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeletedI param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeletedItemContainer] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +78,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -86,6 +90,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -97,10 +102,20 @@ def with_url(self,raw_url: str) -> DeletedItemsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DeletedItemsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DeletedItemsRequestBuilder(self.request_adapter, raw_url) + @property + def lifecycle_policies(self) -> LifecyclePoliciesRequestBuilder: + """ + Provides operations to manage the lifecyclePolicies property of the microsoft.graph.deletedItemContainer entity. + """ + from .lifecycle_policies.lifecycle_policies_request_builder import LifecyclePoliciesRequestBuilder + + return LifecyclePoliciesRequestBuilder(self.request_adapter, self.path_parameters) + @property def workflows(self) -> WorkflowsRequestBuilder: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/count/count_request_builder.py new file mode 100644 index 00000000000..7b3cfe616a1 --- /dev/null +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/count/count_request_builder.py @@ -0,0 +1,107 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/created_by/created_by_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/created_by/created_by_request_builder.py new file mode 100644 index 00000000000..c9371cb19fe --- /dev/null +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/created_by/created_by_request_builder.py @@ -0,0 +1,110 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.directory_object import DirectoryObject + from .......models.o_data_errors.o_data_error import ODataError + +class CreatedByRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new CreatedByRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/createdBy{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CreatedByRequestBuilderGetQueryParameters]] = None) -> Optional[DirectoryObject]: + """ + Get createdBy from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[DirectoryObject] + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.directory_object import DirectoryObject + + return await self.request_adapter.send_async(request_info, DirectoryObject, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CreatedByRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get createdBy from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> CreatedByRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CreatedByRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CreatedByRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CreatedByRequestBuilderGetQueryParameters(): + """ + Get createdBy from identityGovernance + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[list[str]] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + + @dataclass + class CreatedByRequestBuilderGetRequestConfiguration(RequestConfiguration[CreatedByRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/last_modified_by/last_modified_by_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/last_modified_by/last_modified_by_request_builder.py new file mode 100644 index 00000000000..376c73f4bf0 --- /dev/null +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/last_modified_by/last_modified_by_request_builder.py @@ -0,0 +1,110 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.directory_object import DirectoryObject + from .......models.o_data_errors.o_data_error import ODataError + +class LastModifiedByRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new LastModifiedByRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/lastModifiedBy{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[LastModifiedByRequestBuilderGetQueryParameters]] = None) -> Optional[DirectoryObject]: + """ + Get lastModifiedBy from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[DirectoryObject] + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.directory_object import DirectoryObject + + return await self.request_adapter.send_async(request_info, DirectoryObject, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[LastModifiedByRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get lastModifiedBy from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> LastModifiedByRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: LastModifiedByRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return LastModifiedByRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class LastModifiedByRequestBuilderGetQueryParameters(): + """ + Get lastModifiedBy from identityGovernance + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[list[str]] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + + @dataclass + class LastModifiedByRequestBuilderGetRequestConfiguration(RequestConfiguration[LastModifiedByRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/lifecycle_policy_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/lifecycle_policy_item_request_builder.py new file mode 100644 index 00000000000..a0faa493c3a --- /dev/null +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/lifecycle_policy_item_request_builder.py @@ -0,0 +1,198 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.identity_governance.lifecycle_policy import LifecyclePolicy + from ......models.o_data_errors.o_data_error import ODataError + from .created_by.created_by_request_builder import CreatedByRequestBuilder + from .last_modified_by.last_modified_by_request_builder import LastModifiedByRequestBuilder + from .microsoft_graph_identity_governance_restore.microsoft_graph_identity_governance_restore_request_builder import MicrosoftGraphIdentityGovernanceRestoreRequestBuilder + from .rules.rules_request_builder import RulesRequestBuilder + from .versions.versions_request_builder import VersionsRequestBuilder + +class LifecyclePolicyItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the lifecyclePolicies property of the microsoft.graph.deletedItemContainer entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new LifecyclePolicyItemRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Delete navigation property lifecyclePolicies for identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = self.to_delete_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration[LifecyclePolicyItemRequestBuilderGetQueryParameters]] = None) -> Optional[LifecyclePolicy]: + """ + Get lifecyclePolicies from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[LifecyclePolicy] + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.identity_governance.lifecycle_policy import LifecyclePolicy + + return await self.request_adapter.send_async(request_info, LifecyclePolicy, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Delete navigation property lifecyclePolicies for identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[LifecyclePolicyItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get lifecyclePolicies from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> LifecyclePolicyItemRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: LifecyclePolicyItemRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return LifecyclePolicyItemRequestBuilder(self.request_adapter, raw_url) + + @property + def created_by(self) -> CreatedByRequestBuilder: + """ + Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + """ + from .created_by.created_by_request_builder import CreatedByRequestBuilder + + return CreatedByRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def last_modified_by(self) -> LastModifiedByRequestBuilder: + """ + Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + """ + from .last_modified_by.last_modified_by_request_builder import LastModifiedByRequestBuilder + + return LastModifiedByRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def microsoft_graph_identity_governance_restore(self) -> MicrosoftGraphIdentityGovernanceRestoreRequestBuilder: + """ + Provides operations to call the restore method. + """ + from .microsoft_graph_identity_governance_restore.microsoft_graph_identity_governance_restore_request_builder import MicrosoftGraphIdentityGovernanceRestoreRequestBuilder + + return MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def rules(self) -> RulesRequestBuilder: + """ + Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + """ + from .rules.rules_request_builder import RulesRequestBuilder + + return RulesRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def versions(self) -> VersionsRequestBuilder: + """ + Provides operations to manage the versions property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + """ + from .versions.versions_request_builder import VersionsRequestBuilder + + return VersionsRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class LifecyclePolicyItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class LifecyclePolicyItemRequestBuilderGetQueryParameters(): + """ + Get lifecyclePolicies from identityGovernance + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[list[str]] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + + @dataclass + class LifecyclePolicyItemRequestBuilderGetRequestConfiguration(RequestConfiguration[LifecyclePolicyItemRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/microsoft_graph_identity_governance_restore/microsoft_graph_identity_governance_restore_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/microsoft_graph_identity_governance_restore/microsoft_graph_identity_governance_restore_request_builder.py new file mode 100644 index 00000000000..71ced31703e --- /dev/null +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/microsoft_graph_identity_governance_restore/microsoft_graph_identity_governance_restore_request_builder.py @@ -0,0 +1,84 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.identity_governance.lifecycle_policy import LifecyclePolicy + from .......models.o_data_errors.o_data_error import ODataError + +class MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the restore method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new MicrosoftGraphIdentityGovernanceRestoreRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/microsoft.graph.identityGovernance.restore", path_parameters) + + async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[LifecyclePolicy]: + """ + Invoke action restore + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[LifecyclePolicy] + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = self.to_post_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.identity_governance.lifecycle_policy import LifecyclePolicy + + return await self.request_adapter.send_async(request_info, LifecyclePolicy, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action restore + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceRestoreRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: MicrosoftGraphIdentityGovernanceRestoreRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class MicrosoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/rules/item/lifecycle_policy_rule_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/rules/item/lifecycle_policy_rule_item_request_builder.py new file mode 100644 index 00000000000..59c7ab109eb --- /dev/null +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/rules/item/lifecycle_policy_rule_item_request_builder.py @@ -0,0 +1,110 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ........models.identity_governance.lifecycle_policy_rule import LifecyclePolicyRule + from ........models.o_data_errors.o_data_error import ODataError + +class LifecyclePolicyRuleItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new LifecyclePolicyRuleItemRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/rules/{lifecyclePolicyRule%2Did}{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[LifecyclePolicyRuleItemRequestBuilderGetQueryParameters]] = None) -> Optional[LifecyclePolicyRule]: + """ + Get rules from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[LifecyclePolicyRule] + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.identity_governance.lifecycle_policy_rule import LifecyclePolicyRule + + return await self.request_adapter.send_async(request_info, LifecyclePolicyRule, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[LifecyclePolicyRuleItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get rules from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> LifecyclePolicyRuleItemRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: LifecyclePolicyRuleItemRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return LifecyclePolicyRuleItemRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class LifecyclePolicyRuleItemRequestBuilderGetQueryParameters(): + """ + Get rules from identityGovernance + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[list[str]] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + + @dataclass + class LifecyclePolicyRuleItemRequestBuilderGetRequestConfiguration(RequestConfiguration[LifecyclePolicyRuleItemRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/rules/rules_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/rules/rules_request_builder.py new file mode 100644 index 00000000000..f272f8f27f9 --- /dev/null +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/rules/rules_request_builder.py @@ -0,0 +1,156 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.identity_governance.lifecycle_policy_rule_collection_response import LifecyclePolicyRuleCollectionResponse + from .......models.o_data_errors.o_data_error import ODataError + from .item.lifecycle_policy_rule_item_request_builder import LifecyclePolicyRuleItemRequestBuilder + +class RulesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new RulesRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/rules{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_lifecycle_policy_rule_id(self,lifecycle_policy_rule_id: str) -> LifecyclePolicyRuleItemRequestBuilder: + """ + Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + param lifecycle_policy_rule_id: The unique identifier of lifecyclePolicyRule + Returns: LifecyclePolicyRuleItemRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if lifecycle_policy_rule_id is None: + raise TypeError("lifecycle_policy_rule_id cannot be null.") + from .item.lifecycle_policy_rule_item_request_builder import LifecyclePolicyRuleItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["lifecyclePolicyRule%2Did"] = lifecycle_policy_rule_id + return LifecyclePolicyRuleItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration[RulesRequestBuilderGetQueryParameters]] = None) -> Optional[LifecyclePolicyRuleCollectionResponse]: + """ + Get rules from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[LifecyclePolicyRuleCollectionResponse] + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.identity_governance.lifecycle_policy_rule_collection_response import LifecyclePolicyRuleCollectionResponse + + return await self.request_adapter.send_async(request_info, LifecyclePolicyRuleCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RulesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get rules from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> RulesRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: RulesRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return RulesRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class RulesRequestBuilderGetQueryParameters(): + """ + Get rules from identityGovernance + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[list[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[list[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class RulesRequestBuilderGetRequestConfiguration(RequestConfiguration[RulesRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/versions/item/created_by/created_by_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/versions/item/created_by/created_by_request_builder.py new file mode 100644 index 00000000000..85a106fe975 --- /dev/null +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/versions/item/created_by/created_by_request_builder.py @@ -0,0 +1,110 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .........models.directory_object import DirectoryObject + from .........models.o_data_errors.o_data_error import ODataError + +class CreatedByRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new CreatedByRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/createdBy{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CreatedByRequestBuilderGetQueryParameters]] = None) -> Optional[DirectoryObject]: + """ + Get createdBy from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[DirectoryObject] + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .........models.directory_object import DirectoryObject + + return await self.request_adapter.send_async(request_info, DirectoryObject, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CreatedByRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get createdBy from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> CreatedByRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CreatedByRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CreatedByRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CreatedByRequestBuilderGetQueryParameters(): + """ + Get createdBy from identityGovernance + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[list[str]] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + + @dataclass + class CreatedByRequestBuilderGetRequestConfiguration(RequestConfiguration[CreatedByRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/versions/item/last_modified_by/last_modified_by_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/versions/item/last_modified_by/last_modified_by_request_builder.py new file mode 100644 index 00000000000..9cede968ed1 --- /dev/null +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/versions/item/last_modified_by/last_modified_by_request_builder.py @@ -0,0 +1,110 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .........models.directory_object import DirectoryObject + from .........models.o_data_errors.o_data_error import ODataError + +class LastModifiedByRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new LastModifiedByRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/lastModifiedBy{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[LastModifiedByRequestBuilderGetQueryParameters]] = None) -> Optional[DirectoryObject]: + """ + Get lastModifiedBy from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[DirectoryObject] + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .........models.directory_object import DirectoryObject + + return await self.request_adapter.send_async(request_info, DirectoryObject, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[LastModifiedByRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get lastModifiedBy from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> LastModifiedByRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: LastModifiedByRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return LastModifiedByRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class LastModifiedByRequestBuilderGetQueryParameters(): + """ + Get lastModifiedBy from identityGovernance + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[list[str]] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + + @dataclass + class LastModifiedByRequestBuilderGetRequestConfiguration(RequestConfiguration[LastModifiedByRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/versions/item/lifecycle_policy_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/versions/item/lifecycle_policy_item_request_builder.py new file mode 100644 index 00000000000..802baacdc13 --- /dev/null +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/versions/item/lifecycle_policy_item_request_builder.py @@ -0,0 +1,150 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ........models.identity_governance.lifecycle_policy import LifecyclePolicy + from ........models.o_data_errors.o_data_error import ODataError + from .created_by.created_by_request_builder import CreatedByRequestBuilder + from .last_modified_by.last_modified_by_request_builder import LastModifiedByRequestBuilder + from .microsoft_graph_identity_governance_restore.microsoft_graph_identity_governance_restore_request_builder import MicrosoftGraphIdentityGovernanceRestoreRequestBuilder + from .rules.rules_request_builder import RulesRequestBuilder + +class LifecyclePolicyItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the versions property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new LifecyclePolicyItemRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[LifecyclePolicyItemRequestBuilderGetQueryParameters]] = None) -> Optional[LifecyclePolicy]: + """ + Get versions from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[LifecyclePolicy] + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.identity_governance.lifecycle_policy import LifecyclePolicy + + return await self.request_adapter.send_async(request_info, LifecyclePolicy, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[LifecyclePolicyItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get versions from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> LifecyclePolicyItemRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: LifecyclePolicyItemRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return LifecyclePolicyItemRequestBuilder(self.request_adapter, raw_url) + + @property + def created_by(self) -> CreatedByRequestBuilder: + """ + Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + """ + from .created_by.created_by_request_builder import CreatedByRequestBuilder + + return CreatedByRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def last_modified_by(self) -> LastModifiedByRequestBuilder: + """ + Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + """ + from .last_modified_by.last_modified_by_request_builder import LastModifiedByRequestBuilder + + return LastModifiedByRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def microsoft_graph_identity_governance_restore(self) -> MicrosoftGraphIdentityGovernanceRestoreRequestBuilder: + """ + Provides operations to call the restore method. + """ + from .microsoft_graph_identity_governance_restore.microsoft_graph_identity_governance_restore_request_builder import MicrosoftGraphIdentityGovernanceRestoreRequestBuilder + + return MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def rules(self) -> RulesRequestBuilder: + """ + Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + """ + from .rules.rules_request_builder import RulesRequestBuilder + + return RulesRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class LifecyclePolicyItemRequestBuilderGetQueryParameters(): + """ + Get versions from identityGovernance + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[list[str]] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + + @dataclass + class LifecyclePolicyItemRequestBuilderGetRequestConfiguration(RequestConfiguration[LifecyclePolicyItemRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/versions/item/microsoft_graph_identity_governance_restore/microsoft_graph_identity_governance_restore_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/versions/item/microsoft_graph_identity_governance_restore/microsoft_graph_identity_governance_restore_request_builder.py new file mode 100644 index 00000000000..9058eb9a37e --- /dev/null +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/versions/item/microsoft_graph_identity_governance_restore/microsoft_graph_identity_governance_restore_request_builder.py @@ -0,0 +1,84 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .........models.identity_governance.lifecycle_policy import LifecyclePolicy + from .........models.o_data_errors.o_data_error import ODataError + +class MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the restore method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new MicrosoftGraphIdentityGovernanceRestoreRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/microsoft.graph.identityGovernance.restore", path_parameters) + + async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[LifecyclePolicy]: + """ + Invoke action restore + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[LifecyclePolicy] + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = self.to_post_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .........models.identity_governance.lifecycle_policy import LifecyclePolicy + + return await self.request_adapter.send_async(request_info, LifecyclePolicy, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action restore + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceRestoreRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: MicrosoftGraphIdentityGovernanceRestoreRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class MicrosoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/versions/item/rules/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/versions/item/rules/count/count_request_builder.py new file mode 100644 index 00000000000..474204cf397 --- /dev/null +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/versions/item/rules/count/count_request_builder.py @@ -0,0 +1,107 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ..........models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from ..........models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/versions/item/rules/item/lifecycle_policy_rule_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/versions/item/rules/item/lifecycle_policy_rule_item_request_builder.py new file mode 100644 index 00000000000..2223b5747ad --- /dev/null +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/versions/item/rules/item/lifecycle_policy_rule_item_request_builder.py @@ -0,0 +1,110 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ..........models.identity_governance.lifecycle_policy_rule import LifecyclePolicyRule + from ..........models.o_data_errors.o_data_error import ODataError + +class LifecyclePolicyRuleItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new LifecyclePolicyRuleItemRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules/{lifecyclePolicyRule%2Did}{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[LifecyclePolicyRuleItemRequestBuilderGetQueryParameters]] = None) -> Optional[LifecyclePolicyRule]: + """ + Get rules from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[LifecyclePolicyRule] + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from ..........models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ..........models.identity_governance.lifecycle_policy_rule import LifecyclePolicyRule + + return await self.request_adapter.send_async(request_info, LifecyclePolicyRule, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[LifecyclePolicyRuleItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get rules from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> LifecyclePolicyRuleItemRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: LifecyclePolicyRuleItemRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return LifecyclePolicyRuleItemRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class LifecyclePolicyRuleItemRequestBuilderGetQueryParameters(): + """ + Get rules from identityGovernance + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[list[str]] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + + @dataclass + class LifecyclePolicyRuleItemRequestBuilderGetRequestConfiguration(RequestConfiguration[LifecyclePolicyRuleItemRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/versions/item/rules/rules_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/versions/item/rules/rules_request_builder.py new file mode 100644 index 00000000000..2330a152041 --- /dev/null +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/versions/item/rules/rules_request_builder.py @@ -0,0 +1,166 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .........models.identity_governance.lifecycle_policy_rule_collection_response import LifecyclePolicyRuleCollectionResponse + from .........models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + from .item.lifecycle_policy_rule_item_request_builder import LifecyclePolicyRuleItemRequestBuilder + +class RulesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new RulesRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_lifecycle_policy_rule_id(self,lifecycle_policy_rule_id: str) -> LifecyclePolicyRuleItemRequestBuilder: + """ + Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + param lifecycle_policy_rule_id: The unique identifier of lifecyclePolicyRule + Returns: LifecyclePolicyRuleItemRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if lifecycle_policy_rule_id is None: + raise TypeError("lifecycle_policy_rule_id cannot be null.") + from .item.lifecycle_policy_rule_item_request_builder import LifecyclePolicyRuleItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["lifecyclePolicyRule%2Did"] = lifecycle_policy_rule_id + return LifecyclePolicyRuleItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration[RulesRequestBuilderGetQueryParameters]] = None) -> Optional[LifecyclePolicyRuleCollectionResponse]: + """ + Get rules from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[LifecyclePolicyRuleCollectionResponse] + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .........models.identity_governance.lifecycle_policy_rule_collection_response import LifecyclePolicyRuleCollectionResponse + + return await self.request_adapter.send_async(request_info, LifecyclePolicyRuleCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RulesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get rules from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> RulesRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: RulesRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return RulesRequestBuilder(self.request_adapter, raw_url) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class RulesRequestBuilderGetQueryParameters(): + """ + Get rules from identityGovernance + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[list[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[list[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class RulesRequestBuilderGetRequestConfiguration(RequestConfiguration[RulesRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/versions/versions_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/versions/versions_request_builder.py new file mode 100644 index 00000000000..abcd433fac6 --- /dev/null +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/item/versions/versions_request_builder.py @@ -0,0 +1,156 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.identity_governance.lifecycle_policy_collection_response import LifecyclePolicyCollectionResponse + from .......models.o_data_errors.o_data_error import ODataError + from .item.lifecycle_policy_item_request_builder import LifecyclePolicyItemRequestBuilder + +class VersionsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the versions property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new VersionsRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_lifecycle_policy_id1(self,lifecycle_policy_id1: str) -> LifecyclePolicyItemRequestBuilder: + """ + Provides operations to manage the versions property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + param lifecycle_policy_id1: The unique identifier of lifecyclePolicy + Returns: LifecyclePolicyItemRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if lifecycle_policy_id1 is None: + raise TypeError("lifecycle_policy_id1 cannot be null.") + from .item.lifecycle_policy_item_request_builder import LifecyclePolicyItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["lifecyclePolicy%2Did1"] = lifecycle_policy_id1 + return LifecyclePolicyItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration[VersionsRequestBuilderGetQueryParameters]] = None) -> Optional[LifecyclePolicyCollectionResponse]: + """ + Get versions from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[LifecyclePolicyCollectionResponse] + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.identity_governance.lifecycle_policy_collection_response import LifecyclePolicyCollectionResponse + + return await self.request_adapter.send_async(request_info, LifecyclePolicyCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[VersionsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get versions from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> VersionsRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: VersionsRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return VersionsRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class VersionsRequestBuilderGetQueryParameters(): + """ + Get versions from identityGovernance + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[list[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[list[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class VersionsRequestBuilderGetRequestConfiguration(RequestConfiguration[VersionsRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/lifecycle_policies_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/lifecycle_policies_request_builder.py new file mode 100644 index 00000000000..8452e2092c7 --- /dev/null +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/lifecycle_policies/lifecycle_policies_request_builder.py @@ -0,0 +1,166 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.identity_governance.lifecycle_policy_collection_response import LifecyclePolicyCollectionResponse + from .....models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + from .item.lifecycle_policy_item_request_builder import LifecyclePolicyItemRequestBuilder + +class LifecyclePoliciesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the lifecyclePolicies property of the microsoft.graph.deletedItemContainer entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new LifecyclePoliciesRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_lifecycle_policy_id(self,lifecycle_policy_id: str) -> LifecyclePolicyItemRequestBuilder: + """ + Provides operations to manage the lifecyclePolicies property of the microsoft.graph.deletedItemContainer entity. + param lifecycle_policy_id: The unique identifier of lifecyclePolicy + Returns: LifecyclePolicyItemRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if lifecycle_policy_id is None: + raise TypeError("lifecycle_policy_id cannot be null.") + from .item.lifecycle_policy_item_request_builder import LifecyclePolicyItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["lifecyclePolicy%2Did"] = lifecycle_policy_id + return LifecyclePolicyItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration[LifecyclePoliciesRequestBuilderGetQueryParameters]] = None) -> Optional[LifecyclePolicyCollectionResponse]: + """ + Get lifecyclePolicies from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[LifecyclePolicyCollectionResponse] + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.identity_governance.lifecycle_policy_collection_response import LifecyclePolicyCollectionResponse + + return await self.request_adapter.send_async(request_info, LifecyclePolicyCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[LifecyclePoliciesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get lifecyclePolicies from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> LifecyclePoliciesRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: LifecyclePoliciesRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return LifecyclePoliciesRequestBuilder(self.request_adapter, raw_url) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class LifecyclePoliciesRequestBuilderGetQueryParameters(): + """ + Get lifecyclePolicies from identityGovernance + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[list[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[list[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class LifecyclePoliciesRequestBuilderGetRequestConfiguration(RequestConfiguration[LifecyclePoliciesRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/count/count_request_builder.py index adf387b4202..a598898c12f 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/administration_scope_targets/administration_scope_targets_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/administration_scope_targets/administration_scope_targets_request_builder.py index d4e7ed6062f..7f91865bd31 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/administration_scope_targets/administration_scope_targets_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/administration_scope_targets/administration_scope_targets_request_builder.py @@ -38,6 +38,7 @@ def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItem param directory_object_id: The unique identifier of directoryObject Returns: DirectoryObjectItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if directory_object_id is None: raise TypeError("directory_object_id cannot be null.") from .item.directory_object_item_request_builder import DirectoryObjectItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Administ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObjectCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> AdministrationScopeTargetsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AdministrationScopeTargetsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AdministrationScopeTargetsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/administration_scope_targets/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/administration_scope_targets/count/count_request_builder.py index d8896ac32bb..ab0af1ed72c 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/administration_scope_targets/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/administration_scope_targets/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/administration_scope_targets/item/directory_object_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/administration_scope_targets/item/directory_object_item_request_builder.py index cb45a6ac1c5..c66500fe1f0 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/administration_scope_targets/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/administration_scope_targets/item/directory_object_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> DirectoryObjectItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryObjectItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryObjectItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/created_by/created_by_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/created_by/created_by_request_builder.py index b772565288d..dee2e33e26f 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/created_by/created_by_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/created_by/created_by_request_builder.py @@ -38,6 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CreatedB param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -58,6 +59,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -69,6 +71,7 @@ def with_url(self,raw_url: str) -> CreatedByRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CreatedByRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CreatedByRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/created_by/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/created_by/mailbox_settings/mailbox_settings_request_builder.py index 157e9acd3a7..e3ae31cbd0f 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/created_by/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/created_by/mailbox_settings/mailbox_settings_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxS param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def patch(self,body: MailboxSettings, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -79,6 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -91,6 +94,7 @@ def to_patch_request_information(self,body: MailboxSettings, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -105,6 +109,7 @@ def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxSettingsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/created_by/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/created_by/service_provisioning_errors/count/count_request_builder.py index a234fb40f09..27c10f28e3e 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/created_by/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/created_by/service_provisioning_errors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/created_by/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/created_by/service_provisioning_errors/service_provisioning_errors_request_builder.py index d9ec5f61c87..3bccd6384f8 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/created_by/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/created_by/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/execution_scope/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/execution_scope/count/count_request_builder.py index 059d8de3f33..e45ab1bf4d0 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/execution_scope/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/execution_scope/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/execution_scope/execution_scope_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/execution_scope/execution_scope_request_builder.py index 4f0825998e3..9b021439c2a 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/execution_scope/execution_scope_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/execution_scope/execution_scope_request_builder.py @@ -38,6 +38,7 @@ def by_user_processing_result_id(self,user_processing_result_id: str) -> UserPro param user_processing_result_id: The unique identifier of userProcessingResult Returns: UserProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if user_processing_result_id is None: raise TypeError("user_processing_result_id cannot be null.") from .item.user_processing_result_item_request_builder import UserProcessingResultItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Executio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserProcessingResultCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> ExecutionScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ExecutionScopeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ExecutionScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/execution_scope/item/user_processing_result_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/execution_scope/item/user_processing_result_item_request_builder.py index 5fb08bf609a..75f9763c3cc 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/execution_scope/item/user_processing_result_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/execution_scope/item/user_processing_result_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UserProc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserProcessingResult] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> UserProcessingResultItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UserProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UserProcessingResultItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/last_modified_by/last_modified_by_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/last_modified_by/last_modified_by_request_builder.py index a6bdf49d9d2..063453c0536 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/last_modified_by/last_modified_by_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/last_modified_by/last_modified_by_request_builder.py @@ -38,6 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[LastModi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -58,6 +59,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -69,6 +71,7 @@ def with_url(self,raw_url: str) -> LastModifiedByRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: LastModifiedByRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return LastModifiedByRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/last_modified_by/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/last_modified_by/mailbox_settings/mailbox_settings_request_builder.py index d6d710ed4a4..668c4417286 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/last_modified_by/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/last_modified_by/mailbox_settings/mailbox_settings_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxS param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def patch(self,body: MailboxSettings, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -79,6 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -91,6 +94,7 @@ def to_patch_request_information(self,body: MailboxSettings, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -105,6 +109,7 @@ def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxSettingsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py index 031a42836aa..974a6df3420 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/last_modified_by/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/last_modified_by/service_provisioning_errors/service_provisioning_errors_request_builder.py index 8c7da5c8a8a..3766d21c35b 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/last_modified_by/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/last_modified_by/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/microsoft_graph_identity_governance_activate/microsoft_graph_identity_governance_activate_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/microsoft_graph_identity_governance_activate/microsoft_graph_identity_governance_activate_request_builder.py index 6bc43d12b82..0fa49dde75f 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/microsoft_graph_identity_governance_activate/microsoft_graph_identity_governance_activate_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/microsoft_graph_identity_governance_activate/microsoft_graph_identity_governance_activate_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: ActivatePostRequestBody, request_configuration: Option Returns: None Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-workflow-activate?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: ActivatePostRequestBody, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceActivateReque param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphIdentityGovernanceActivateRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphIdentityGovernanceActivateRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/microsoft_graph_identity_governance_activate_and_wait/microsoft_graph_identity_governance_activate_and_wait_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/microsoft_graph_identity_governance_activate_and_wait/microsoft_graph_identity_governance_activate_and_wait_request_builder.py index 5af57e1cf79..1dc064c04d4 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/microsoft_graph_identity_governance_activate_and_wait/microsoft_graph_identity_governance_activate_and_wait_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/microsoft_graph_identity_governance_activate_and_wait/microsoft_graph_identity_governance_activate_and_wait_request_builder.py @@ -39,6 +39,7 @@ async def post(self,body: ActivateAndWaitPostRequestBody, request_configuration: Returns: Optional[AwaitedWorkflowProcessingResult] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-workflow-activateandwait?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -62,6 +63,7 @@ def to_post_request_information(self,body: ActivateAndWaitPostRequestBody, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -76,6 +78,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceActivateAndWa param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphIdentityGovernanceActivateAndWaitRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphIdentityGovernanceActivateAndWaitRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/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 b/msgraph_beta/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 index 1577d2e2d69..3ff7bbdd576 100644 --- a/msgraph_beta/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 +++ b/msgraph_beta/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 @@ -38,6 +38,7 @@ async def post(self,body: ActivateWithScopePostRequestBody, request_configuratio Returns: None Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-workflow-activatewithscope?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: ActivateWithScopePostRequestBody, req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceActivateWithS param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/microsoft_graph_identity_governance_clear_quarantine/microsoft_graph_identity_governance_clear_quarantine_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/microsoft_graph_identity_governance_clear_quarantine/microsoft_graph_identity_governance_clear_quarantine_request_builder.py index f1de5f54739..efd9e498ffd 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/microsoft_graph_identity_governance_clear_quarantine/microsoft_graph_identity_governance_clear_quarantine_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/microsoft_graph_identity_governance_clear_quarantine/microsoft_graph_identity_governance_clear_quarantine_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[Workflow] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-workflow-clearquarantine?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceClearQuaranti param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/microsoft_graph_identity_governance_create_new_version/microsoft_graph_identity_governance_create_new_version_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/microsoft_graph_identity_governance_create_new_version/microsoft_graph_identity_governance_create_new_version_request_builder.py index ee16855c970..89e9a23fb4c 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/microsoft_graph_identity_governance_create_new_version/microsoft_graph_identity_governance_create_new_version_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/microsoft_graph_identity_governance_create_new_version/microsoft_graph_identity_governance_create_new_version_request_builder.py @@ -39,6 +39,7 @@ async def post(self,body: CreateNewVersionPostRequestBody, request_configuration Returns: Optional[Workflow] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-workflow-createnewversion?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -62,6 +63,7 @@ def to_post_request_information(self,body: CreateNewVersionPostRequestBody, requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -76,6 +78,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceCreateNewVers param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/microsoft_graph_identity_governance_restore/microsoft_graph_identity_governance_restore_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/microsoft_graph_identity_governance_restore/microsoft_graph_identity_governance_restore_request_builder.py index 485c5fba140..426032945ee 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/microsoft_graph_identity_governance_restore/microsoft_graph_identity_governance_restore_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/microsoft_graph_identity_governance_restore/microsoft_graph_identity_governance_restore_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[Workflow] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-workflow-restore?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceRestoreReques param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphIdentityGovernanceRestoreRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/count/count_request_builder.py index f454a8e9fbc..1e8a8fa012e 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/reprocessed_runs/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/reprocessed_runs/count/count_request_builder.py index e4a65fc584a..14f8f773ac5 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/reprocessed_runs/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/reprocessed_runs/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/reprocessed_runs/item/run_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/reprocessed_runs/item/run_item_request_builder.py index 9b7e7a9dadc..832e9d87ff9 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/reprocessed_runs/item/run_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/reprocessed_runs/item/run_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RunItemR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Run] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RunItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RunItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RunItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/reprocessed_runs/reprocessed_runs_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/reprocessed_runs/reprocessed_runs_request_builder.py index cbe1cfeb873..18c6b3c6ed0 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/reprocessed_runs/reprocessed_runs_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/reprocessed_runs/reprocessed_runs_request_builder.py @@ -38,6 +38,7 @@ def by_run_id1(self,run_id1: str) -> RunItemRequestBuilder: param run_id1: The unique identifier of run Returns: RunItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if run_id1 is None: raise TypeError("run_id1 cannot be null.") from .item.run_item_request_builder import RunItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Reproces param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RunCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> ReprocessedRunsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ReprocessedRunsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ReprocessedRunsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/run_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/run_item_request_builder.py index 272da7346ab..f6cef14805c 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/run_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/run_item_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RunItemR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Run] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> RunItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RunItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RunItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/count/count_request_builder.py index 47ba152485a..ecfc9f00464 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/reprocessed_runs/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/reprocessed_runs/count/count_request_builder.py index 0807af52e8f..7cc67351356 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/reprocessed_runs/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/reprocessed_runs/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/reprocessed_runs/item/run_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/reprocessed_runs/item/run_item_request_builder.py index fed58bb5086..74b9341464b 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/reprocessed_runs/item/run_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/reprocessed_runs/item/run_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RunItemR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Run] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RunItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RunItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RunItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py index 472c86eb39a..c8fb1bd240b 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py @@ -38,6 +38,7 @@ def by_run_id1(self,run_id1: str) -> RunItemRequestBuilder: param run_id1: The unique identifier of run Returns: RunItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if run_id1 is None: raise TypeError("run_id1 cannot be null.") from .item.run_item_request_builder import RunItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Reproces param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RunCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> ReprocessedRunsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ReprocessedRunsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ReprocessedRunsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/subject_processing_result_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/subject_processing_result_item_request_builder.py index e5c6164a802..81ee0ca939c 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/subject_processing_result_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/subject_processing_result_item_request_builder.py @@ -38,6 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SubjectP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SubjectProcessingResult] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -58,6 +59,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -69,6 +71,7 @@ def with_url(self,raw_url: str) -> SubjectProcessingResultItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SubjectProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SubjectProcessingResultItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/task_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/task_processing_results/count/count_request_builder.py index 5d6bdd23608..9374be96edf 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/task_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/task_processing_results/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py index 5a1f3e9d889..dcb0cededa8 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: ResumePostRequestBody, request_configuration: Optional Returns: None Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: ResumePostRequestBody, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceResumeRequest param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphIdentityGovernanceResumeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphIdentityGovernanceResumeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py index 76c21f2ff07..cbafa13607f 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxS param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def patch(self,body: MailboxSettings, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -79,6 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -91,6 +94,7 @@ def to_patch_request_information(self,body: MailboxSettings, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -105,6 +109,7 @@ def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxSettingsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py index 7d846f4e901..8b1171e52ce 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py index 14af99f861a..0eda02e657a 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/subject/subject_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/subject/subject_request_builder.py index f36cc32d0f2..2067fce1f18 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/subject/subject_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/subject/subject_request_builder.py @@ -38,6 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SubjectR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -58,6 +59,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -69,6 +71,7 @@ def with_url(self,raw_url: str) -> SubjectRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SubjectRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SubjectRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/task/task_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/task/task_request_builder.py index 3292ef3edae..7c5552e8dd0 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/task/task_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/task/task_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskRequ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Task] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> TaskRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/task_processing_result_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/task_processing_result_item_request_builder.py index c58448c43e2..8c1f32bef1b 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/task_processing_result_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/task_processing_result_item_request_builder.py @@ -39,6 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskProc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskProcessingResult] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,6 +72,7 @@ def with_url(self,raw_url: str) -> TaskProcessingResultItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskProcessingResultItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/task_processing_results/task_processing_results_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/task_processing_results/task_processing_results_request_builder.py index 2b4ca7a5e19..6756b2257d6 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/task_processing_results/task_processing_results_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/item/task_processing_results/task_processing_results_request_builder.py @@ -38,6 +38,7 @@ def by_task_processing_result_id(self,task_processing_result_id: str) -> TaskPro param task_processing_result_id: The unique identifier of taskProcessingResult Returns: TaskProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if task_processing_result_id is None: raise TypeError("task_processing_result_id cannot be null.") from .item.task_processing_result_item_request_builder import TaskProcessingResultItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskProc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskProcessingResultCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> TaskProcessingResultsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskProcessingResultsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskProcessingResultsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py new file mode 100644 index 00000000000..69e1fbd4f7d --- /dev/null +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py @@ -0,0 +1,90 @@ +from __future__ import annotations +import datetime +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ..........models.identity_governance.subject_summary import SubjectSummary + from ..........models.o_data_errors.o_data_error import ODataError + +class MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the summary method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]], end_date_time: Optional[datetime.datetime] = None, start_date_time: Optional[datetime.datetime] = None) -> None: + """ + Instantiates a new MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder and sets the default values. + param end_date_time: Usage: endDateTime={endDateTime} + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + param start_date_time: Usage: startDateTime={startDateTime} + Returns: None + """ + if isinstance(path_parameters, dict): + path_parameters['endDateTime'] = end_date_time + path_parameters['startDateTime'] = start_date_time + super().__init__(request_adapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/runs/{run%2Did}/subjectProcessingResults/microsoft.graph.identityGovernance.summary(startDateTime={startDateTime},endDateTime={endDateTime})", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[SubjectSummary]: + """ + Invoke function summary + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[SubjectSummary] + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from ..........models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ..........models.identity_governance.subject_summary import SubjectSummary + + return await self.request_adapter.send_async(request_info, SubjectSummary, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke function summary + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/subject_processing_results_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/subject_processing_results_request_builder.py index d6ba85238b3..15ec3133818 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/subject_processing_results_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/subject_processing_results/subject_processing_results_request_builder.py @@ -1,4 +1,5 @@ from __future__ import annotations +import datetime from collections.abc import Callable from dataclasses import dataclass, field from kiota_abstractions.base_request_builder import BaseRequestBuilder @@ -18,6 +19,7 @@ from .........models.o_data_errors.o_data_error import ODataError from .count.count_request_builder import CountRequestBuilder from .item.subject_processing_result_item_request_builder import SubjectProcessingResultItemRequestBuilder + from .microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time.microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder import MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder class SubjectProcessingResultsRequestBuilder(BaseRequestBuilder): """ @@ -38,6 +40,7 @@ def by_subject_processing_result_id(self,subject_processing_result_id: str) -> S param subject_processing_result_id: The unique identifier of subjectProcessingResult Returns: SubjectProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if subject_processing_result_id is None: raise TypeError("subject_processing_result_id cannot be null.") from .item.subject_processing_result_item_request_builder import SubjectProcessingResultItemRequestBuilder @@ -52,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SubjectP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SubjectProcessingResultCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -66,12 +70,29 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SubjectP return await self.request_adapter.send_async(request_info, SubjectProcessingResultCollectionResponse, error_mapping) + def microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time(self,end_date_time: datetime.datetime, start_date_time: datetime.datetime) -> MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder: + """ + Provides operations to call the summary method. + param end_date_time: Usage: endDateTime={endDateTime} + param start_date_time: Usage: startDateTime={startDateTime} + Returns: MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if end_date_time is None: + raise TypeError("end_date_time cannot be null.") + if start_date_time is None: + raise TypeError("start_date_time cannot be null.") + from .microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time.microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder import MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder + + return MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(self.request_adapter, self.path_parameters, end_date_time, start_date_time) + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[SubjectProcessingResultsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ The processing results for each subject in this workflow run. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +104,7 @@ def with_url(self,raw_url: str) -> SubjectProcessingResultsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SubjectProcessingResultsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SubjectProcessingResultsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/count/count_request_builder.py index 7a7fa88f4c5..d81e2e0f00e 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py index 164b58641d5..3fa36d27a7b 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: ResumePostRequestBody, request_configuration: Optional Returns: None Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: ResumePostRequestBody, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceResumeRequest param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphIdentityGovernanceResumeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphIdentityGovernanceResumeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py index 93930898e93..ff37a092486 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxS param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def patch(self,body: MailboxSettings, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -79,6 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -91,6 +94,7 @@ def to_patch_request_information(self,body: MailboxSettings, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -105,6 +109,7 @@ def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxSettingsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py index 41b9258911e..747244e50ea 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py index 00d6a722d73..1cb1549c8c5 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/item/subject/subject_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/item/subject/subject_request_builder.py index d1d9e6a2a86..3a1d931f2a0 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/item/subject/subject_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/item/subject/subject_request_builder.py @@ -38,6 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SubjectR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -58,6 +59,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -69,6 +71,7 @@ def with_url(self,raw_url: str) -> SubjectRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SubjectRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SubjectRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/item/task/task_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/item/task/task_request_builder.py index 705ff0e3212..e16f1af2623 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/item/task/task_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/item/task/task_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskRequ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Task] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> TaskRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/item/task_processing_result_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/item/task_processing_result_item_request_builder.py index 79bc27520f7..0b8d50e3200 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/item/task_processing_result_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/item/task_processing_result_item_request_builder.py @@ -39,6 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskProc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskProcessingResult] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,6 +72,7 @@ def with_url(self,raw_url: str) -> TaskProcessingResultItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskProcessingResultItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/task_processing_results_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/task_processing_results_request_builder.py index 0840bc12023..74ca3f8fe87 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/task_processing_results_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/task_processing_results/task_processing_results_request_builder.py @@ -38,6 +38,7 @@ def by_task_processing_result_id(self,task_processing_result_id: str) -> TaskPro param task_processing_result_id: The unique identifier of taskProcessingResult Returns: TaskProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if task_processing_result_id is None: raise TypeError("task_processing_result_id cannot be null.") from .item.task_processing_result_item_request_builder import TaskProcessingResultItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskProc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskProcessingResultCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> TaskProcessingResultsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskProcessingResultsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskProcessingResultsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/count/count_request_builder.py index 6b77380aac0..87b59feba3c 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/count/count_request_builder.py index 9893c2f94e5..a0518ef4abc 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/item/run_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/item/run_item_request_builder.py index 6a84f519ddd..434fbdf0ff1 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/item/run_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/item/run_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RunItemR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Run] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RunItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RunItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RunItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py index d34e056163c..acbea09d538 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py @@ -38,6 +38,7 @@ def by_run_id1(self,run_id1: str) -> RunItemRequestBuilder: param run_id1: The unique identifier of run Returns: RunItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if run_id1 is None: raise TypeError("run_id1 cannot be null.") from .item.run_item_request_builder import RunItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Reproces param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RunCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> ReprocessedRunsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ReprocessedRunsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ReprocessedRunsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py index 85eb1e5475b..803b5b28196 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxS param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def patch(self,body: MailboxSettings, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -79,6 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -91,6 +94,7 @@ def to_patch_request_information(self,body: MailboxSettings, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -105,6 +109,7 @@ def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxSettingsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py index 150c96a9325..2fb5875c36f 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py index be9a249dbba..8a97a908010 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/subject/subject_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/subject/subject_request_builder.py index 2ba002daa24..6b40d93ed6e 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/subject/subject_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/subject/subject_request_builder.py @@ -38,6 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SubjectR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -58,6 +59,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -69,6 +71,7 @@ def with_url(self,raw_url: str) -> SubjectRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SubjectRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SubjectRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/count/count_request_builder.py index 9d94a19574b..e7b5a06db1a 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py index 5cee48cad78..ed2d6163579 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: ResumePostRequestBody, request_configuration: Optional Returns: None Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: ResumePostRequestBody, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceResumeRequest param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphIdentityGovernanceResumeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphIdentityGovernanceResumeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py index 8e74f0e0036..8b4ca4d05a5 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxS param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def patch(self,body: MailboxSettings, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -79,6 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -91,6 +94,7 @@ def to_patch_request_information(self,body: MailboxSettings, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -105,6 +109,7 @@ def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxSettingsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py index 8eb49ea55c6..3767d5c289a 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py index 91e89c68f20..3d259a41b43 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/subject/subject_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/subject/subject_request_builder.py index e1a5a9f69e7..43f1c765123 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/subject/subject_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/subject/subject_request_builder.py @@ -38,6 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SubjectR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -58,6 +59,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -69,6 +71,7 @@ def with_url(self,raw_url: str) -> SubjectRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SubjectRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SubjectRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/task/task_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/task/task_request_builder.py index 7ae645dfcbe..2d5741e3586 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/task/task_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/task/task_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskRequ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Task] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> TaskRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/task_processing_result_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/task_processing_result_item_request_builder.py index a21fb935ecc..3c826cdfb60 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/task_processing_result_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/task_processing_result_item_request_builder.py @@ -39,6 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskProc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskProcessingResult] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,6 +72,7 @@ def with_url(self,raw_url: str) -> TaskProcessingResultItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskProcessingResultItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/task_processing_results_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/task_processing_results_request_builder.py index b6b4384d477..3fe1670b1ae 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/task_processing_results_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/task_processing_results/task_processing_results_request_builder.py @@ -38,6 +38,7 @@ def by_task_processing_result_id(self,task_processing_result_id: str) -> TaskPro param task_processing_result_id: The unique identifier of taskProcessingResult Returns: TaskProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if task_processing_result_id is None: raise TypeError("task_processing_result_id cannot be null.") from .item.task_processing_result_item_request_builder import TaskProcessingResultItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskProc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskProcessingResultCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> TaskProcessingResultsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskProcessingResultsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskProcessingResultsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/user_processing_result_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/user_processing_result_item_request_builder.py index a0097267ef2..70e633a0d05 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/user_processing_result_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/user_processing_result_item_request_builder.py @@ -39,6 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UserProc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserProcessingResult] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,6 +72,7 @@ def with_url(self,raw_url: str) -> UserProcessingResultItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UserProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UserProcessingResultItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py index 3946974c163..8cf2121538d 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py @@ -42,6 +42,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserSummary] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -62,6 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceSummaryWithSt param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/user_processing_results_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/user_processing_results_request_builder.py index 1f40d4b776a..704a420ea67 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/user_processing_results_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/user_processing_results_request_builder.py @@ -40,6 +40,7 @@ def by_user_processing_result_id(self,user_processing_result_id: str) -> UserPro param user_processing_result_id: The unique identifier of userProcessingResult Returns: UserProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if user_processing_result_id is None: raise TypeError("user_processing_result_id cannot be null.") from .item.user_processing_result_item_request_builder import UserProcessingResultItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UserProc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserProcessingResultCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ def microsoft_graph_identity_governance_summary_with_start_date_time_with_end_da param start_date_time: Usage: startDateTime={startDateTime} Returns: MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if end_date_time is None: raise TypeError("end_date_time cannot be null.") if start_date_time is None: @@ -89,6 +92,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -100,6 +104,7 @@ def with_url(self,raw_url: str) -> UserProcessingResultsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UserProcessingResultsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UserProcessingResultsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py index 0b0dce59e95..990a1fedd77 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py @@ -42,6 +42,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RunSummary] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -62,6 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceSummaryWithSt param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/runs_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/runs_request_builder.py index 9b5c598abeb..4b9ad359daf 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/runs_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/runs_request_builder.py @@ -40,6 +40,7 @@ def by_run_id(self,run_id: str) -> RunItemRequestBuilder: param run_id: The unique identifier of run Returns: RunItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if run_id is None: raise TypeError("run_id cannot be null.") from .item.run_item_request_builder import RunItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RunsRequ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RunCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ def microsoft_graph_identity_governance_summary_with_start_date_time_with_end_da param start_date_time: Usage: startDateTime={startDateTime} Returns: MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if end_date_time is None: raise TypeError("end_date_time cannot be null.") if start_date_time is None: @@ -89,6 +92,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -100,6 +104,7 @@ def with_url(self,raw_url: str) -> RunsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RunsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RunsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/count/count_request_builder.py index d50bc820c9a..e983a9fba40 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/reprocessed_runs/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/reprocessed_runs/count/count_request_builder.py index 0c3978aa98e..de7d66484d8 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/reprocessed_runs/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/reprocessed_runs/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/reprocessed_runs/item/run_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/reprocessed_runs/item/run_item_request_builder.py index ab1a325d47b..7b5cdfc2c28 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/reprocessed_runs/item/run_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/reprocessed_runs/item/run_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RunItemR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Run] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RunItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RunItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RunItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py index 3919a4c9f38..2ad00a99300 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py @@ -38,6 +38,7 @@ def by_run_id(self,run_id: str) -> RunItemRequestBuilder: param run_id: The unique identifier of run Returns: RunItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if run_id is None: raise TypeError("run_id cannot be null.") from .item.run_item_request_builder import RunItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Reproces param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RunCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> ReprocessedRunsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ReprocessedRunsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ReprocessedRunsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/subject_processing_result_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/subject_processing_result_item_request_builder.py index 4f8685bb4ce..4e82610d733 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/subject_processing_result_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/subject_processing_result_item_request_builder.py @@ -38,6 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SubjectP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SubjectProcessingResult] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -58,6 +59,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -69,6 +71,7 @@ def with_url(self,raw_url: str) -> SubjectProcessingResultItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SubjectProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SubjectProcessingResultItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/task_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/task_processing_results/count/count_request_builder.py index 7d4bfb5f38f..271edec2e34 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/task_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/task_processing_results/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py index 02259b0a5d8..8d607215f15 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: ResumePostRequestBody, request_configuration: Optional Returns: None Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: ResumePostRequestBody, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceResumeRequest param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphIdentityGovernanceResumeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphIdentityGovernanceResumeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py index 8f04b956f96..b2043fb044c 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxS param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def patch(self,body: MailboxSettings, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -79,6 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -91,6 +94,7 @@ def to_patch_request_information(self,body: MailboxSettings, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -105,6 +109,7 @@ def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxSettingsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py index d54f151203c..22e6b541fc2 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py index 97ec3c43cbb..090c3fce001 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/task_processing_results/item/subject/subject_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/task_processing_results/item/subject/subject_request_builder.py index 4561492a5d8..efd9de0c8e5 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/task_processing_results/item/subject/subject_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/task_processing_results/item/subject/subject_request_builder.py @@ -38,6 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SubjectR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -58,6 +59,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -69,6 +71,7 @@ def with_url(self,raw_url: str) -> SubjectRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SubjectRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SubjectRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/task_processing_results/item/task/task_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/task_processing_results/item/task/task_request_builder.py index 325c123d2ac..95c2c98243d 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/task_processing_results/item/task/task_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/task_processing_results/item/task/task_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskRequ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Task] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> TaskRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/task_processing_results/item/task_processing_result_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/task_processing_results/item/task_processing_result_item_request_builder.py index 94b09ad4ebe..a0b8857d1fd 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/task_processing_results/item/task_processing_result_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/task_processing_results/item/task_processing_result_item_request_builder.py @@ -39,6 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskProc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskProcessingResult] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,6 +72,7 @@ def with_url(self,raw_url: str) -> TaskProcessingResultItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskProcessingResultItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/task_processing_results/task_processing_results_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/task_processing_results/task_processing_results_request_builder.py index 4286579834e..6bd82f5d6ae 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/task_processing_results/task_processing_results_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/item/task_processing_results/task_processing_results_request_builder.py @@ -38,6 +38,7 @@ def by_task_processing_result_id(self,task_processing_result_id: str) -> TaskPro param task_processing_result_id: The unique identifier of taskProcessingResult Returns: TaskProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if task_processing_result_id is None: raise TypeError("task_processing_result_id cannot be null.") from .item.task_processing_result_item_request_builder import TaskProcessingResultItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskProc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskProcessingResultCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> TaskProcessingResultsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskProcessingResultsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskProcessingResultsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py new file mode 100644 index 00000000000..d67082d8f1c --- /dev/null +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py @@ -0,0 +1,90 @@ +from __future__ import annotations +import datetime +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ........models.identity_governance.subject_summary import SubjectSummary + from ........models.o_data_errors.o_data_error import ODataError + +class MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the summary method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]], end_date_time: Optional[datetime.datetime] = None, start_date_time: Optional[datetime.datetime] = None) -> None: + """ + Instantiates a new MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder and sets the default values. + param end_date_time: Usage: endDateTime={endDateTime} + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + param start_date_time: Usage: startDateTime={startDateTime} + Returns: None + """ + if isinstance(path_parameters, dict): + path_parameters['endDateTime'] = end_date_time + path_parameters['startDateTime'] = start_date_time + super().__init__(request_adapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/subjectProcessingResults/microsoft.graph.identityGovernance.summary(startDateTime={startDateTime},endDateTime={endDateTime})", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[SubjectSummary]: + """ + Invoke function summary + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[SubjectSummary] + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.identity_governance.subject_summary import SubjectSummary + + return await self.request_adapter.send_async(request_info, SubjectSummary, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke function summary + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/subject_processing_results_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/subject_processing_results_request_builder.py index 45e0c084e5d..caf1ef9c4ab 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/subject_processing_results_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/subject_processing_results/subject_processing_results_request_builder.py @@ -1,4 +1,5 @@ from __future__ import annotations +import datetime from collections.abc import Callable from dataclasses import dataclass, field from kiota_abstractions.base_request_builder import BaseRequestBuilder @@ -18,6 +19,7 @@ from .......models.o_data_errors.o_data_error import ODataError from .count.count_request_builder import CountRequestBuilder from .item.subject_processing_result_item_request_builder import SubjectProcessingResultItemRequestBuilder + from .microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time.microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder import MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder class SubjectProcessingResultsRequestBuilder(BaseRequestBuilder): """ @@ -38,6 +40,7 @@ def by_subject_processing_result_id(self,subject_processing_result_id: str) -> S param subject_processing_result_id: The unique identifier of subjectProcessingResult Returns: SubjectProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if subject_processing_result_id is None: raise TypeError("subject_processing_result_id cannot be null.") from .item.subject_processing_result_item_request_builder import SubjectProcessingResultItemRequestBuilder @@ -52,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SubjectP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SubjectProcessingResultCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -66,12 +70,29 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SubjectP return await self.request_adapter.send_async(request_info, SubjectProcessingResultCollectionResponse, error_mapping) + def microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time(self,end_date_time: datetime.datetime, start_date_time: datetime.datetime) -> MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder: + """ + Provides operations to call the summary method. + param end_date_time: Usage: endDateTime={endDateTime} + param start_date_time: Usage: startDateTime={startDateTime} + Returns: MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if end_date_time is None: + raise TypeError("end_date_time cannot be null.") + if start_date_time is None: + raise TypeError("start_date_time cannot be null.") + from .microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time.microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder import MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder + + return MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(self.request_adapter, self.path_parameters, end_date_time, start_date_time) + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[SubjectProcessingResultsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ Get subjectProcessingResults from identityGovernance param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +104,7 @@ def with_url(self,raw_url: str) -> SubjectProcessingResultsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SubjectProcessingResultsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SubjectProcessingResultsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/count/count_request_builder.py index 6f45dba463f..0183db1f2f7 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task/task_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task/task_request_builder.py index f1e0959bbda..57956e24a15 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task/task_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task/task_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskRequ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Task] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> TaskRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_definition/task_definition_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_definition/task_definition_request_builder.py index 781fe6222cc..8d8b6960027 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_definition/task_definition_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_definition/task_definition_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskDefi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskDefinition] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> TaskDefinitionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskDefinitionRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskDefinitionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/count/count_request_builder.py index db91d1651b5..5b8f5926e3a 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py index 30187fc1acc..bf5318a7684 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: ResumePostRequestBody, request_configuration: Optional Returns: None Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: ResumePostRequestBody, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceResumeRequest param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphIdentityGovernanceResumeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphIdentityGovernanceResumeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py index 2ce2730d9ca..7e6a5d1dd2c 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxS param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def patch(self,body: MailboxSettings, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -79,6 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -91,6 +94,7 @@ def to_patch_request_information(self,body: MailboxSettings, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -105,6 +109,7 @@ def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxSettingsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py index a12b1c4cfce..33c2d320969 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py index 3454f0ea8f2..881032207c3 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/item/subject/subject_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/item/subject/subject_request_builder.py index a35246df1d3..dc9d206991c 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/item/subject/subject_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/item/subject/subject_request_builder.py @@ -38,6 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SubjectR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -58,6 +59,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -69,6 +71,7 @@ def with_url(self,raw_url: str) -> SubjectRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SubjectRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SubjectRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/item/task/task_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/item/task/task_request_builder.py index fa89b23d853..10854328687 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/item/task/task_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/item/task/task_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskRequ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Task] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> TaskRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/item/task_processing_result_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/item/task_processing_result_item_request_builder.py index 9877a6e2798..c74e7d31284 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/item/task_processing_result_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/item/task_processing_result_item_request_builder.py @@ -39,6 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskProc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskProcessingResult] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,6 +72,7 @@ def with_url(self,raw_url: str) -> TaskProcessingResultItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskProcessingResultItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/task_processing_results_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/task_processing_results_request_builder.py index ade0dce8564..114c342b9af 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/task_processing_results_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_processing_results/task_processing_results_request_builder.py @@ -38,6 +38,7 @@ def by_task_processing_result_id(self,task_processing_result_id: str) -> TaskPro param task_processing_result_id: The unique identifier of taskProcessingResult Returns: TaskProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if task_processing_result_id is None: raise TypeError("task_processing_result_id cannot be null.") from .item.task_processing_result_item_request_builder import TaskProcessingResultItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskProc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskProcessingResultCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> TaskProcessingResultsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskProcessingResultsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskProcessingResultsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_report_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_report_item_request_builder.py index 79f6d158896..16c1adc46cf 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_report_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/item/task_report_item_request_builder.py @@ -39,6 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskRepo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskReport] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,6 +72,7 @@ def with_url(self,raw_url: str) -> TaskReportItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskReportItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskReportItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py index 201883ffa96..34513562682 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py @@ -42,6 +42,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskReportSummary] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -62,6 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceSummaryWithSt param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/task_reports_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/task_reports_request_builder.py index 9d93f06ca2b..8f27ff698d2 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/task_reports_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/task_reports/task_reports_request_builder.py @@ -40,6 +40,7 @@ def by_task_report_id(self,task_report_id: str) -> TaskReportItemRequestBuilder: param task_report_id: The unique identifier of taskReport Returns: TaskReportItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if task_report_id is None: raise TypeError("task_report_id cannot be null.") from .item.task_report_item_request_builder import TaskReportItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskRepo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskReportCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ def microsoft_graph_identity_governance_summary_with_start_date_time_with_end_da param start_date_time: Usage: startDateTime={startDateTime} Returns: MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if end_date_time is None: raise TypeError("end_date_time cannot be null.") if start_date_time is None: @@ -89,6 +92,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -100,6 +104,7 @@ def with_url(self,raw_url: str) -> TaskReportsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskReportsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskReportsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/count/count_request_builder.py index 02f1490fa2b..fd8dc775efe 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_item_request_builder.py index 21b66417740..2c49ec30f92 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskItem param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Task] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: Task, request_configuration: Optional[RequestConfigur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Task] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: Task, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> TaskItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/count/count_request_builder.py index 80620d3e6b7..0760492fcbb 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py index 6ae40ca09cb..2336f2f80fb 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: ResumePostRequestBody, request_configuration: Optional Returns: None Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: ResumePostRequestBody, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceResumeRequest param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphIdentityGovernanceResumeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphIdentityGovernanceResumeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py index a55dc0c1ec2..4bd1f766fd2 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxS param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def patch(self,body: MailboxSettings, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -79,6 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -91,6 +94,7 @@ def to_patch_request_information(self,body: MailboxSettings, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -105,6 +109,7 @@ def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxSettingsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py index b2b0dc3b54b..cd8d8c57004 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py index 43560a46bbd..3f19fdbdf74 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/item/subject/subject_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/item/subject/subject_request_builder.py index be72c5a3593..c496990f3b7 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/item/subject/subject_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/item/subject/subject_request_builder.py @@ -38,6 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SubjectR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -58,6 +59,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -69,6 +71,7 @@ def with_url(self,raw_url: str) -> SubjectRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SubjectRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SubjectRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/item/task/task_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/item/task/task_request_builder.py index 2d42a31b076..72554b060d7 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/item/task/task_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/item/task/task_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskRequ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Task] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> TaskRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/item/task_processing_result_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/item/task_processing_result_item_request_builder.py index ecaa7ecdba6..867e9445e6d 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/item/task_processing_result_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/item/task_processing_result_item_request_builder.py @@ -39,6 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskProc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskProcessingResult] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,6 +72,7 @@ def with_url(self,raw_url: str) -> TaskProcessingResultItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskProcessingResultItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/task_processing_results_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/task_processing_results_request_builder.py index ba937a7dc4f..86284016d05 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/task_processing_results_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/item/task_processing_results/task_processing_results_request_builder.py @@ -38,6 +38,7 @@ def by_task_processing_result_id(self,task_processing_result_id: str) -> TaskPro param task_processing_result_id: The unique identifier of taskProcessingResult Returns: TaskProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if task_processing_result_id is None: raise TypeError("task_processing_result_id cannot be null.") from .item.task_processing_result_item_request_builder import TaskProcessingResultItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskProc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskProcessingResultCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> TaskProcessingResultsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskProcessingResultsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskProcessingResultsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/tasks_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/tasks_request_builder.py index f88e8795605..6835dac69e1 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/tasks_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/tasks/tasks_request_builder.py @@ -39,6 +39,7 @@ def by_task_id(self,task_id: str) -> TaskItemRequestBuilder: param task_id: The unique identifier of task Returns: TaskItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if task_id is None: raise TypeError("task_id cannot be null.") from .item.task_item_request_builder import TaskItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TasksReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: Task, request_configuration: Optional[RequestConfigura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Task] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: Task, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> TasksRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TasksRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TasksRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/count/count_request_builder.py index 2c25a3b494f..75d7c187ee9 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/reprocessed_runs/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/reprocessed_runs/count/count_request_builder.py index 472695b629d..1a072eb63a4 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/reprocessed_runs/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/reprocessed_runs/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/reprocessed_runs/item/run_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/reprocessed_runs/item/run_item_request_builder.py index bad8d20af21..b01901d5a41 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/reprocessed_runs/item/run_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/reprocessed_runs/item/run_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RunItemR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Run] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RunItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RunItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RunItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py index 34bec96ecba..26a00cacffd 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py @@ -38,6 +38,7 @@ def by_run_id(self,run_id: str) -> RunItemRequestBuilder: param run_id: The unique identifier of run Returns: RunItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if run_id is None: raise TypeError("run_id cannot be null.") from .item.run_item_request_builder import RunItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Reproces param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RunCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> ReprocessedRunsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ReprocessedRunsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ReprocessedRunsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py index cc1ad959a2b..ee1a4d44673 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxS param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def patch(self,body: MailboxSettings, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -79,6 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -91,6 +94,7 @@ def to_patch_request_information(self,body: MailboxSettings, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -105,6 +109,7 @@ def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxSettingsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py index c2a1912aa91..90f7c6d93e2 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py index e89b6ef9720..ffd9868c92f 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/subject/subject_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/subject/subject_request_builder.py index e5639539a4b..a7daa1beac2 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/subject/subject_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/subject/subject_request_builder.py @@ -38,6 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SubjectR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -58,6 +59,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -69,6 +71,7 @@ def with_url(self,raw_url: str) -> SubjectRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SubjectRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SubjectRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/count/count_request_builder.py index f50b504f487..4e421c2a7c6 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py index 5a2ea135d5b..bdf22fc9bae 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: ResumePostRequestBody, request_configuration: Optional Returns: None Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: ResumePostRequestBody, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceResumeRequest param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphIdentityGovernanceResumeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphIdentityGovernanceResumeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py index 87dbcfbd49a..d7908524e4e 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxS param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def patch(self,body: MailboxSettings, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -79,6 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -91,6 +94,7 @@ def to_patch_request_information(self,body: MailboxSettings, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -105,6 +109,7 @@ def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxSettingsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py index da6a858b596..c45459b7ddc 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py index 62041aad43a..b32ba4ed68c 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/item/subject/subject_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/item/subject/subject_request_builder.py index 5c90085bcd5..3a55dd79bf5 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/item/subject/subject_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/item/subject/subject_request_builder.py @@ -38,6 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SubjectR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -58,6 +59,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -69,6 +71,7 @@ def with_url(self,raw_url: str) -> SubjectRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SubjectRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SubjectRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/item/task/task_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/item/task/task_request_builder.py index bc63676e944..bdf2adcb21d 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/item/task/task_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/item/task/task_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskRequ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Task] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> TaskRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/item/task_processing_result_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/item/task_processing_result_item_request_builder.py index 2b11b357949..4cc80468dd4 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/item/task_processing_result_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/item/task_processing_result_item_request_builder.py @@ -39,6 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskProc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskProcessingResult] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,6 +72,7 @@ def with_url(self,raw_url: str) -> TaskProcessingResultItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskProcessingResultItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/task_processing_results_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/task_processing_results_request_builder.py index 4467c1c3f3d..24aea4c911e 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/task_processing_results_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/task_processing_results/task_processing_results_request_builder.py @@ -38,6 +38,7 @@ def by_task_processing_result_id(self,task_processing_result_id: str) -> TaskPro param task_processing_result_id: The unique identifier of taskProcessingResult Returns: TaskProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if task_processing_result_id is None: raise TypeError("task_processing_result_id cannot be null.") from .item.task_processing_result_item_request_builder import TaskProcessingResultItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskProc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskProcessingResultCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> TaskProcessingResultsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskProcessingResultsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskProcessingResultsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/user_processing_result_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/user_processing_result_item_request_builder.py index ccb1167e7d7..3f8add77a57 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/user_processing_result_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/user_processing_result_item_request_builder.py @@ -39,6 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UserProc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserProcessingResult] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,6 +72,7 @@ def with_url(self,raw_url: str) -> UserProcessingResultItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UserProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UserProcessingResultItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py index 3bc0f14f77c..55d3a84aa8a 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py @@ -42,6 +42,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserSummary] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -62,6 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceSummaryWithSt param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/user_processing_results_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/user_processing_results_request_builder.py index cd1d80117c4..54ba3af7997 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/user_processing_results_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/user_processing_results_request_builder.py @@ -40,6 +40,7 @@ def by_user_processing_result_id(self,user_processing_result_id: str) -> UserPro param user_processing_result_id: The unique identifier of userProcessingResult Returns: UserProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if user_processing_result_id is None: raise TypeError("user_processing_result_id cannot be null.") from .item.user_processing_result_item_request_builder import UserProcessingResultItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UserProc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserProcessingResultCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ def microsoft_graph_identity_governance_summary_with_start_date_time_with_end_da param start_date_time: Usage: startDateTime={startDateTime} Returns: MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if end_date_time is None: raise TypeError("end_date_time cannot be null.") if start_date_time is None: @@ -89,6 +92,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -100,6 +104,7 @@ def with_url(self,raw_url: str) -> UserProcessingResultsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UserProcessingResultsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UserProcessingResultsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/count/count_request_builder.py index 92ad38d7930..1b51990089b 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/administration_scope_targets/administration_scope_targets_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/administration_scope_targets/administration_scope_targets_request_builder.py index 16c026259fa..3d5d9c0300e 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/administration_scope_targets/administration_scope_targets_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/administration_scope_targets/administration_scope_targets_request_builder.py @@ -38,6 +38,7 @@ def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItem param directory_object_id: The unique identifier of directoryObject Returns: DirectoryObjectItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if directory_object_id is None: raise TypeError("directory_object_id cannot be null.") from .item.directory_object_item_request_builder import DirectoryObjectItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Administ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObjectCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> AdministrationScopeTargetsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AdministrationScopeTargetsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AdministrationScopeTargetsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/administration_scope_targets/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/administration_scope_targets/count/count_request_builder.py index 74745828e11..926ed4979d4 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/administration_scope_targets/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/administration_scope_targets/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/administration_scope_targets/item/directory_object_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/administration_scope_targets/item/directory_object_item_request_builder.py index ca2472adc65..a2819a11ddc 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/administration_scope_targets/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/administration_scope_targets/item/directory_object_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> DirectoryObjectItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryObjectItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryObjectItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/created_by/created_by_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/created_by/created_by_request_builder.py index 4ca64088237..aba4fc751b5 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/created_by/created_by_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/created_by/created_by_request_builder.py @@ -38,6 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CreatedB param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -58,6 +59,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -69,6 +71,7 @@ def with_url(self,raw_url: str) -> CreatedByRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CreatedByRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CreatedByRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/created_by/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/created_by/mailbox_settings/mailbox_settings_request_builder.py index 5abc9eaaedd..55ca621c28c 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/created_by/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/created_by/mailbox_settings/mailbox_settings_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxS param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def patch(self,body: MailboxSettings, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -79,6 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -91,6 +94,7 @@ def to_patch_request_information(self,body: MailboxSettings, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -105,6 +109,7 @@ def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxSettingsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/created_by/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/created_by/service_provisioning_errors/count/count_request_builder.py index a63d9e7326d..4dff932d3b6 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/created_by/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/created_by/service_provisioning_errors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/created_by/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/created_by/service_provisioning_errors/service_provisioning_errors_request_builder.py index 210e60bf705..42f5a40503a 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/created_by/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/created_by/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/last_modified_by/last_modified_by_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/last_modified_by/last_modified_by_request_builder.py index 015e3fcfdb7..3453543e504 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/last_modified_by/last_modified_by_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/last_modified_by/last_modified_by_request_builder.py @@ -38,6 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[LastModi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -58,6 +59,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -69,6 +71,7 @@ def with_url(self,raw_url: str) -> LastModifiedByRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: LastModifiedByRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return LastModifiedByRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/last_modified_by/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/last_modified_by/mailbox_settings/mailbox_settings_request_builder.py index 9293e5276af..071ca7ef7ab 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/last_modified_by/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/last_modified_by/mailbox_settings/mailbox_settings_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxS param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def patch(self,body: MailboxSettings, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -79,6 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -91,6 +94,7 @@ def to_patch_request_information(self,body: MailboxSettings, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -105,6 +109,7 @@ def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxSettingsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py index 6dc29c17087..d1132c5fd30 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/last_modified_by/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/last_modified_by/service_provisioning_errors/service_provisioning_errors_request_builder.py index 5729fe013cd..feb531378df 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/last_modified_by/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/last_modified_by/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/count/count_request_builder.py index 8bbe3eb5902..87535d656fe 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_item_request_builder.py index c3a224d872c..15e2365f67d 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskItem param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Task] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: Task, request_configuration: Optional[RequestConfigur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Task] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: Task, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> TaskItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/count/count_request_builder.py index 8a3ff61cc44..5f8f31a424a 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py index 2f571434d6f..10308e91d85 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: ResumePostRequestBody, request_configuration: Optional Returns: None Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: ResumePostRequestBody, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceResumeRequest param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphIdentityGovernanceResumeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphIdentityGovernanceResumeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py index 96a8f710339..590f4a20cae 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxS param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def patch(self,body: MailboxSettings, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -79,6 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -91,6 +94,7 @@ def to_patch_request_information(self,body: MailboxSettings, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -105,6 +109,7 @@ def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxSettingsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py index f3ffbd6bea1..35c55706a20 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py index fc6720b0f3f..8e86ccee5d1 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/item/subject/subject_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/item/subject/subject_request_builder.py index 0e85c6980f3..4873e9c68f2 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/item/subject/subject_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/item/subject/subject_request_builder.py @@ -38,6 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SubjectR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -58,6 +59,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -69,6 +71,7 @@ def with_url(self,raw_url: str) -> SubjectRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SubjectRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SubjectRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/item/task/task_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/item/task/task_request_builder.py index 6fed4ef8c10..70bba53629f 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/item/task/task_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/item/task/task_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskRequ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Task] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> TaskRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/item/task_processing_result_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/item/task_processing_result_item_request_builder.py index 5d1ef15c3dc..997652b008b 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/item/task_processing_result_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/item/task_processing_result_item_request_builder.py @@ -39,6 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskProc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskProcessingResult] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,6 +72,7 @@ def with_url(self,raw_url: str) -> TaskProcessingResultItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskProcessingResultItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/task_processing_results_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/task_processing_results_request_builder.py index 8e2987a19cd..705e19e12dd 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/task_processing_results_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/item/task_processing_results/task_processing_results_request_builder.py @@ -38,6 +38,7 @@ def by_task_processing_result_id(self,task_processing_result_id: str) -> TaskPro param task_processing_result_id: The unique identifier of taskProcessingResult Returns: TaskProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if task_processing_result_id is None: raise TypeError("task_processing_result_id cannot be null.") from .item.task_processing_result_item_request_builder import TaskProcessingResultItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskProc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskProcessingResultCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> TaskProcessingResultsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskProcessingResultsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskProcessingResultsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/tasks_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/tasks_request_builder.py index 2e93039e24a..8a9d7d8bb6e 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/tasks_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/tasks/tasks_request_builder.py @@ -39,6 +39,7 @@ def by_task_id(self,task_id: str) -> TaskItemRequestBuilder: param task_id: The unique identifier of task Returns: TaskItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if task_id is None: raise TypeError("task_id cannot be null.") from .item.task_item_request_builder import TaskItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TasksReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: Task, request_configuration: Optional[RequestConfigura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Task] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: Task, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> TasksRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TasksRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TasksRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/workflow_version_version_number_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/workflow_version_version_number_item_request_builder.py index 973f1aa3d99..4ab15f09a9a 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/workflow_version_version_number_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/item/workflow_version_version_number_item_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Workflow param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkflowVersion] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> WorkflowVersionVersionNumberItemRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: WorkflowVersionVersionNumberItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return WorkflowVersionVersionNumberItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/versions_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/versions_request_builder.py index 5f31b178d5e..cb3f11b17a5 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/versions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/versions/versions_request_builder.py @@ -38,6 +38,7 @@ def by_workflow_version_version_number(self,workflow_version_version_number: int param workflow_version_version_number: The unique identifier of workflowVersion Returns: WorkflowVersionVersionNumberItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if workflow_version_version_number is None: raise TypeError("workflow_version_version_number cannot be null.") from .item.workflow_version_version_number_item_request_builder import WorkflowVersionVersionNumberItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Versions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkflowVersionCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> VersionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: VersionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return VersionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/workflow_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/workflow_item_request_builder.py index bcc98343df7..3192518b3d4 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/workflow_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/workflow_item_request_builder.py @@ -57,6 +57,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-deleteditemcontainer-delete?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -76,6 +77,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Workflow Returns: Optional[Workflow] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-deleteditemcontainer-get?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -96,6 +98,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -107,6 +110,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -118,6 +122,7 @@ def with_url(self,raw_url: str) -> WorkflowItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: WorkflowItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return WorkflowItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/workflows_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/workflows_request_builder.py index b40f12d6190..ba062203070 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/workflows_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/workflows_request_builder.py @@ -38,6 +38,7 @@ def by_workflow_id(self,workflow_id: str) -> WorkflowItemRequestBuilder: param workflow_id: The unique identifier of workflow Returns: WorkflowItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if workflow_id is None: raise TypeError("workflow_id cannot be null.") from .item.workflow_item_request_builder import WorkflowItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Workflow Returns: Optional[WorkflowCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-lifecycleworkflowscontainer-list-deleteditems?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -73,6 +75,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -84,6 +87,7 @@ def with_url(self,raw_url: str) -> WorkflowsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: WorkflowsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return WorkflowsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/insights/insights_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/insights/insights_request_builder.py index e901add035d..0cbbfb6966e 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/insights/insights_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/insights/insights_request_builder.py @@ -41,6 +41,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,6 +60,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Insights param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Insights] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,6 +82,7 @@ def microsoft_graph_identity_governance_top_tasks_processed_summary_with_start_d param start_date_time: Usage: startDateTime={startDateTime} Returns: MicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if end_date_time is None: raise TypeError("end_date_time cannot be null.") if start_date_time is None: @@ -95,6 +98,7 @@ def microsoft_graph_identity_governance_top_workflows_processed_summary_with_sta param start_date_time: Usage: startDateTime={startDateTime} Returns: MicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if end_date_time is None: raise TypeError("end_date_time cannot be null.") if start_date_time is None: @@ -110,6 +114,7 @@ def microsoft_graph_identity_governance_workflows_processed_by_category_with_sta param start_date_time: Usage: startDateTime={startDateTime} Returns: MicrosoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDateTimeWithEndDateTimeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if end_date_time is None: raise TypeError("end_date_time cannot be null.") if start_date_time is None: @@ -125,6 +130,7 @@ def microsoft_graph_identity_governance_workflows_processed_summary_with_start_d param start_date_time: Usage: startDateTime={startDateTime} Returns: MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if end_date_time is None: raise TypeError("end_date_time cannot be null.") if start_date_time is None: @@ -140,6 +146,7 @@ async def patch(self,body: Insights, request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Insights] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -162,6 +169,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -173,6 +181,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -185,6 +194,7 @@ def to_patch_request_information(self,body: Insights, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -199,6 +209,7 @@ def with_url(self,raw_url: str) -> InsightsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: InsightsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return InsightsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/insights/microsoft_graph_identity_governance_top_tasks_processed_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_top_tasks_processed_summary_with_start_date_time_with_end_date_time_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/insights/microsoft_graph_identity_governance_top_tasks_processed_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_top_tasks_processed_summary_with_start_date_time_with_end_date_time_request_builder.py index 0c60c6a7e45..6125d24f7a1 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/insights/microsoft_graph_identity_governance_top_tasks_processed_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_top_tasks_processed_summary_with_start_date_time_with_end_date_time_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/insights/microsoft_graph_identity_governance_top_tasks_processed_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_top_tasks_processed_summary_with_start_date_time_with_end_date_time_request_builder.py @@ -43,6 +43,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Microsof Returns: Optional[TopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-insights-toptasksprocessedsummary?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -63,6 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -74,6 +76,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceTopTasksProce param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/insights/microsoft_graph_identity_governance_top_workflows_processed_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_top_workflows_processed_summary_with_start_date_time_with_end_date_time_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/insights/microsoft_graph_identity_governance_top_workflows_processed_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_top_workflows_processed_summary_with_start_date_time_with_end_date_time_request_builder.py index b34d647ed10..586960e6151 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/insights/microsoft_graph_identity_governance_top_workflows_processed_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_top_workflows_processed_summary_with_start_date_time_with_end_date_time_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/insights/microsoft_graph_identity_governance_top_workflows_processed_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_top_workflows_processed_summary_with_start_date_time_with_end_date_time_request_builder.py @@ -43,6 +43,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Microsof Returns: Optional[TopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-insights-topworkflowsprocessedsummary?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -63,6 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -74,6 +76,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceTopWorkflowsP param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/insights/microsoft_graph_identity_governance_workflows_processed_by_category_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_workflows_processed_by_category_with_start_date_time_with_end_date_time_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/insights/microsoft_graph_identity_governance_workflows_processed_by_category_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_workflows_processed_by_category_with_start_date_time_with_end_date_time_request_builder.py index e44c9ff2610..40ff5872f1c 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/insights/microsoft_graph_identity_governance_workflows_processed_by_category_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_workflows_processed_by_category_with_start_date_time_with_end_date_time_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/insights/microsoft_graph_identity_governance_workflows_processed_by_category_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_workflows_processed_by_category_with_start_date_time_with_end_date_time_request_builder.py @@ -43,6 +43,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar Returns: Optional[WorkflowsInsightsByCategory] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-insights-workflowsprocessedbycategory?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -63,6 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -74,6 +76,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceWorkflowsProc param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDateTimeWithEndDateTimeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDateTimeWithEndDateTimeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/insights/microsoft_graph_identity_governance_workflows_processed_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_workflows_processed_summary_with_start_date_time_with_end_date_time_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/insights/microsoft_graph_identity_governance_workflows_processed_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_workflows_processed_summary_with_start_date_time_with_end_date_time_request_builder.py index e1efa29de95..9c24e6604dc 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/insights/microsoft_graph_identity_governance_workflows_processed_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_workflows_processed_summary_with_start_date_time_with_end_date_time_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/insights/microsoft_graph_identity_governance_workflows_processed_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_workflows_processed_summary_with_start_date_time_with_end_date_time_request_builder.py @@ -43,6 +43,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar Returns: Optional[WorkflowsInsightsSummary] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-insights-workflowsprocessedsummary?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -63,6 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -74,6 +76,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceWorkflowsProc param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/count/count_request_builder.py new file mode 100644 index 00000000000..c6879c73347 --- /dev/null +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/count/count_request_builder.py @@ -0,0 +1,107 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/created_by/created_by_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/created_by/created_by_request_builder.py new file mode 100644 index 00000000000..746b5104fa1 --- /dev/null +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/created_by/created_by_request_builder.py @@ -0,0 +1,110 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.directory_object import DirectoryObject + from ......models.o_data_errors.o_data_error import ODataError + +class CreatedByRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new CreatedByRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/createdBy{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CreatedByRequestBuilderGetQueryParameters]] = None) -> Optional[DirectoryObject]: + """ + Get createdBy from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[DirectoryObject] + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.directory_object import DirectoryObject + + return await self.request_adapter.send_async(request_info, DirectoryObject, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CreatedByRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get createdBy from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> CreatedByRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CreatedByRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CreatedByRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CreatedByRequestBuilderGetQueryParameters(): + """ + Get createdBy from identityGovernance + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[list[str]] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + + @dataclass + class CreatedByRequestBuilderGetRequestConfiguration(RequestConfiguration[CreatedByRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/last_modified_by/last_modified_by_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/last_modified_by/last_modified_by_request_builder.py new file mode 100644 index 00000000000..0ee2024c6d7 --- /dev/null +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/last_modified_by/last_modified_by_request_builder.py @@ -0,0 +1,110 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.directory_object import DirectoryObject + from ......models.o_data_errors.o_data_error import ODataError + +class LastModifiedByRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new LastModifiedByRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/lastModifiedBy{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[LastModifiedByRequestBuilderGetQueryParameters]] = None) -> Optional[DirectoryObject]: + """ + Get lastModifiedBy from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[DirectoryObject] + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.directory_object import DirectoryObject + + return await self.request_adapter.send_async(request_info, DirectoryObject, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[LastModifiedByRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get lastModifiedBy from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> LastModifiedByRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: LastModifiedByRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return LastModifiedByRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class LastModifiedByRequestBuilderGetQueryParameters(): + """ + Get lastModifiedBy from identityGovernance + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[list[str]] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + + @dataclass + class LastModifiedByRequestBuilderGetRequestConfiguration(RequestConfiguration[LastModifiedByRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/lifecycle_policy_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/lifecycle_policy_item_request_builder.py new file mode 100644 index 00000000000..f825c258aac --- /dev/null +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/lifecycle_policy_item_request_builder.py @@ -0,0 +1,198 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.identity_governance.lifecycle_policy import LifecyclePolicy + from .....models.o_data_errors.o_data_error import ODataError + from .created_by.created_by_request_builder import CreatedByRequestBuilder + from .last_modified_by.last_modified_by_request_builder import LastModifiedByRequestBuilder + from .microsoft_graph_identity_governance_restore.microsoft_graph_identity_governance_restore_request_builder import MicrosoftGraphIdentityGovernanceRestoreRequestBuilder + from .rules.rules_request_builder import RulesRequestBuilder + from .versions.versions_request_builder import VersionsRequestBuilder + +class LifecyclePolicyItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the lifecyclePolicies property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new LifecyclePolicyItemRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Delete navigation property lifecyclePolicies for identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = self.to_delete_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration[LifecyclePolicyItemRequestBuilderGetQueryParameters]] = None) -> Optional[LifecyclePolicy]: + """ + Get lifecyclePolicies from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[LifecyclePolicy] + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.identity_governance.lifecycle_policy import LifecyclePolicy + + return await self.request_adapter.send_async(request_info, LifecyclePolicy, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Delete navigation property lifecyclePolicies for identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[LifecyclePolicyItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get lifecyclePolicies from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> LifecyclePolicyItemRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: LifecyclePolicyItemRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return LifecyclePolicyItemRequestBuilder(self.request_adapter, raw_url) + + @property + def created_by(self) -> CreatedByRequestBuilder: + """ + Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + """ + from .created_by.created_by_request_builder import CreatedByRequestBuilder + + return CreatedByRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def last_modified_by(self) -> LastModifiedByRequestBuilder: + """ + Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + """ + from .last_modified_by.last_modified_by_request_builder import LastModifiedByRequestBuilder + + return LastModifiedByRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def microsoft_graph_identity_governance_restore(self) -> MicrosoftGraphIdentityGovernanceRestoreRequestBuilder: + """ + Provides operations to call the restore method. + """ + from .microsoft_graph_identity_governance_restore.microsoft_graph_identity_governance_restore_request_builder import MicrosoftGraphIdentityGovernanceRestoreRequestBuilder + + return MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def rules(self) -> RulesRequestBuilder: + """ + Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + """ + from .rules.rules_request_builder import RulesRequestBuilder + + return RulesRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def versions(self) -> VersionsRequestBuilder: + """ + Provides operations to manage the versions property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + """ + from .versions.versions_request_builder import VersionsRequestBuilder + + return VersionsRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class LifecyclePolicyItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class LifecyclePolicyItemRequestBuilderGetQueryParameters(): + """ + Get lifecyclePolicies from identityGovernance + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[list[str]] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + + @dataclass + class LifecyclePolicyItemRequestBuilderGetRequestConfiguration(RequestConfiguration[LifecyclePolicyItemRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/microsoft_graph_identity_governance_restore/microsoft_graph_identity_governance_restore_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/microsoft_graph_identity_governance_restore/microsoft_graph_identity_governance_restore_request_builder.py new file mode 100644 index 00000000000..995708093bd --- /dev/null +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/microsoft_graph_identity_governance_restore/microsoft_graph_identity_governance_restore_request_builder.py @@ -0,0 +1,84 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.identity_governance.lifecycle_policy import LifecyclePolicy + from ......models.o_data_errors.o_data_error import ODataError + +class MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the restore method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new MicrosoftGraphIdentityGovernanceRestoreRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/microsoft.graph.identityGovernance.restore", path_parameters) + + async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[LifecyclePolicy]: + """ + Invoke action restore + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[LifecyclePolicy] + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = self.to_post_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.identity_governance.lifecycle_policy import LifecyclePolicy + + return await self.request_adapter.send_async(request_info, LifecyclePolicy, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action restore + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceRestoreRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: MicrosoftGraphIdentityGovernanceRestoreRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class MicrosoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/rules/item/lifecycle_policy_rule_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/rules/item/lifecycle_policy_rule_item_request_builder.py new file mode 100644 index 00000000000..7bfc277b5da --- /dev/null +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/rules/item/lifecycle_policy_rule_item_request_builder.py @@ -0,0 +1,110 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.identity_governance.lifecycle_policy_rule import LifecyclePolicyRule + from .......models.o_data_errors.o_data_error import ODataError + +class LifecyclePolicyRuleItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new LifecyclePolicyRuleItemRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/rules/{lifecyclePolicyRule%2Did}{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[LifecyclePolicyRuleItemRequestBuilderGetQueryParameters]] = None) -> Optional[LifecyclePolicyRule]: + """ + Get rules from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[LifecyclePolicyRule] + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.identity_governance.lifecycle_policy_rule import LifecyclePolicyRule + + return await self.request_adapter.send_async(request_info, LifecyclePolicyRule, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[LifecyclePolicyRuleItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get rules from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> LifecyclePolicyRuleItemRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: LifecyclePolicyRuleItemRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return LifecyclePolicyRuleItemRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class LifecyclePolicyRuleItemRequestBuilderGetQueryParameters(): + """ + Get rules from identityGovernance + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[list[str]] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + + @dataclass + class LifecyclePolicyRuleItemRequestBuilderGetRequestConfiguration(RequestConfiguration[LifecyclePolicyRuleItemRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/rules/rules_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/rules/rules_request_builder.py new file mode 100644 index 00000000000..93d0d851306 --- /dev/null +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/rules/rules_request_builder.py @@ -0,0 +1,156 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.identity_governance.lifecycle_policy_rule_collection_response import LifecyclePolicyRuleCollectionResponse + from ......models.o_data_errors.o_data_error import ODataError + from .item.lifecycle_policy_rule_item_request_builder import LifecyclePolicyRuleItemRequestBuilder + +class RulesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new RulesRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/rules{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_lifecycle_policy_rule_id(self,lifecycle_policy_rule_id: str) -> LifecyclePolicyRuleItemRequestBuilder: + """ + Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + param lifecycle_policy_rule_id: The unique identifier of lifecyclePolicyRule + Returns: LifecyclePolicyRuleItemRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if lifecycle_policy_rule_id is None: + raise TypeError("lifecycle_policy_rule_id cannot be null.") + from .item.lifecycle_policy_rule_item_request_builder import LifecyclePolicyRuleItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["lifecyclePolicyRule%2Did"] = lifecycle_policy_rule_id + return LifecyclePolicyRuleItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration[RulesRequestBuilderGetQueryParameters]] = None) -> Optional[LifecyclePolicyRuleCollectionResponse]: + """ + Get rules from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[LifecyclePolicyRuleCollectionResponse] + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.identity_governance.lifecycle_policy_rule_collection_response import LifecyclePolicyRuleCollectionResponse + + return await self.request_adapter.send_async(request_info, LifecyclePolicyRuleCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RulesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get rules from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> RulesRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: RulesRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return RulesRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class RulesRequestBuilderGetQueryParameters(): + """ + Get rules from identityGovernance + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[list[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[list[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class RulesRequestBuilderGetRequestConfiguration(RequestConfiguration[RulesRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/versions/item/created_by/created_by_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/versions/item/created_by/created_by_request_builder.py new file mode 100644 index 00000000000..07897b760cf --- /dev/null +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/versions/item/created_by/created_by_request_builder.py @@ -0,0 +1,110 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ........models.directory_object import DirectoryObject + from ........models.o_data_errors.o_data_error import ODataError + +class CreatedByRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new CreatedByRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/createdBy{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CreatedByRequestBuilderGetQueryParameters]] = None) -> Optional[DirectoryObject]: + """ + Get createdBy from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[DirectoryObject] + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.directory_object import DirectoryObject + + return await self.request_adapter.send_async(request_info, DirectoryObject, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CreatedByRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get createdBy from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> CreatedByRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CreatedByRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CreatedByRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CreatedByRequestBuilderGetQueryParameters(): + """ + Get createdBy from identityGovernance + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[list[str]] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + + @dataclass + class CreatedByRequestBuilderGetRequestConfiguration(RequestConfiguration[CreatedByRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/versions/item/last_modified_by/last_modified_by_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/versions/item/last_modified_by/last_modified_by_request_builder.py new file mode 100644 index 00000000000..952f0218a41 --- /dev/null +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/versions/item/last_modified_by/last_modified_by_request_builder.py @@ -0,0 +1,110 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ........models.directory_object import DirectoryObject + from ........models.o_data_errors.o_data_error import ODataError + +class LastModifiedByRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new LastModifiedByRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/lastModifiedBy{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[LastModifiedByRequestBuilderGetQueryParameters]] = None) -> Optional[DirectoryObject]: + """ + Get lastModifiedBy from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[DirectoryObject] + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.directory_object import DirectoryObject + + return await self.request_adapter.send_async(request_info, DirectoryObject, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[LastModifiedByRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get lastModifiedBy from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> LastModifiedByRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: LastModifiedByRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return LastModifiedByRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class LastModifiedByRequestBuilderGetQueryParameters(): + """ + Get lastModifiedBy from identityGovernance + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[list[str]] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + + @dataclass + class LastModifiedByRequestBuilderGetRequestConfiguration(RequestConfiguration[LastModifiedByRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/versions/item/lifecycle_policy_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/versions/item/lifecycle_policy_item_request_builder.py new file mode 100644 index 00000000000..9dd33646ab8 --- /dev/null +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/versions/item/lifecycle_policy_item_request_builder.py @@ -0,0 +1,150 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.identity_governance.lifecycle_policy import LifecyclePolicy + from .......models.o_data_errors.o_data_error import ODataError + from .created_by.created_by_request_builder import CreatedByRequestBuilder + from .last_modified_by.last_modified_by_request_builder import LastModifiedByRequestBuilder + from .microsoft_graph_identity_governance_restore.microsoft_graph_identity_governance_restore_request_builder import MicrosoftGraphIdentityGovernanceRestoreRequestBuilder + from .rules.rules_request_builder import RulesRequestBuilder + +class LifecyclePolicyItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the versions property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new LifecyclePolicyItemRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[LifecyclePolicyItemRequestBuilderGetQueryParameters]] = None) -> Optional[LifecyclePolicy]: + """ + Get versions from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[LifecyclePolicy] + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.identity_governance.lifecycle_policy import LifecyclePolicy + + return await self.request_adapter.send_async(request_info, LifecyclePolicy, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[LifecyclePolicyItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get versions from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> LifecyclePolicyItemRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: LifecyclePolicyItemRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return LifecyclePolicyItemRequestBuilder(self.request_adapter, raw_url) + + @property + def created_by(self) -> CreatedByRequestBuilder: + """ + Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + """ + from .created_by.created_by_request_builder import CreatedByRequestBuilder + + return CreatedByRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def last_modified_by(self) -> LastModifiedByRequestBuilder: + """ + Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + """ + from .last_modified_by.last_modified_by_request_builder import LastModifiedByRequestBuilder + + return LastModifiedByRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def microsoft_graph_identity_governance_restore(self) -> MicrosoftGraphIdentityGovernanceRestoreRequestBuilder: + """ + Provides operations to call the restore method. + """ + from .microsoft_graph_identity_governance_restore.microsoft_graph_identity_governance_restore_request_builder import MicrosoftGraphIdentityGovernanceRestoreRequestBuilder + + return MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def rules(self) -> RulesRequestBuilder: + """ + Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + """ + from .rules.rules_request_builder import RulesRequestBuilder + + return RulesRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class LifecyclePolicyItemRequestBuilderGetQueryParameters(): + """ + Get versions from identityGovernance + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[list[str]] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + + @dataclass + class LifecyclePolicyItemRequestBuilderGetRequestConfiguration(RequestConfiguration[LifecyclePolicyItemRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/versions/item/microsoft_graph_identity_governance_restore/microsoft_graph_identity_governance_restore_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/versions/item/microsoft_graph_identity_governance_restore/microsoft_graph_identity_governance_restore_request_builder.py new file mode 100644 index 00000000000..9f9de76c26b --- /dev/null +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/versions/item/microsoft_graph_identity_governance_restore/microsoft_graph_identity_governance_restore_request_builder.py @@ -0,0 +1,84 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ........models.identity_governance.lifecycle_policy import LifecyclePolicy + from ........models.o_data_errors.o_data_error import ODataError + +class MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the restore method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new MicrosoftGraphIdentityGovernanceRestoreRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/microsoft.graph.identityGovernance.restore", path_parameters) + + async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[LifecyclePolicy]: + """ + Invoke action restore + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[LifecyclePolicy] + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = self.to_post_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.identity_governance.lifecycle_policy import LifecyclePolicy + + return await self.request_adapter.send_async(request_info, LifecyclePolicy, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action restore + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceRestoreRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: MicrosoftGraphIdentityGovernanceRestoreRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class MicrosoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/versions/item/rules/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/versions/item/rules/count/count_request_builder.py new file mode 100644 index 00000000000..8db0a39fc5c --- /dev/null +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/versions/item/rules/count/count_request_builder.py @@ -0,0 +1,107 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .........models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/versions/item/rules/item/lifecycle_policy_rule_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/versions/item/rules/item/lifecycle_policy_rule_item_request_builder.py new file mode 100644 index 00000000000..4cadff3d84c --- /dev/null +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/versions/item/rules/item/lifecycle_policy_rule_item_request_builder.py @@ -0,0 +1,110 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .........models.identity_governance.lifecycle_policy_rule import LifecyclePolicyRule + from .........models.o_data_errors.o_data_error import ODataError + +class LifecyclePolicyRuleItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new LifecyclePolicyRuleItemRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules/{lifecyclePolicyRule%2Did}{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[LifecyclePolicyRuleItemRequestBuilderGetQueryParameters]] = None) -> Optional[LifecyclePolicyRule]: + """ + Get rules from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[LifecyclePolicyRule] + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .........models.identity_governance.lifecycle_policy_rule import LifecyclePolicyRule + + return await self.request_adapter.send_async(request_info, LifecyclePolicyRule, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[LifecyclePolicyRuleItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get rules from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> LifecyclePolicyRuleItemRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: LifecyclePolicyRuleItemRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return LifecyclePolicyRuleItemRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class LifecyclePolicyRuleItemRequestBuilderGetQueryParameters(): + """ + Get rules from identityGovernance + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[list[str]] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + + @dataclass + class LifecyclePolicyRuleItemRequestBuilderGetRequestConfiguration(RequestConfiguration[LifecyclePolicyRuleItemRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/versions/item/rules/rules_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/versions/item/rules/rules_request_builder.py new file mode 100644 index 00000000000..649242cc205 --- /dev/null +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/versions/item/rules/rules_request_builder.py @@ -0,0 +1,166 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ........models.identity_governance.lifecycle_policy_rule_collection_response import LifecyclePolicyRuleCollectionResponse + from ........models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + from .item.lifecycle_policy_rule_item_request_builder import LifecyclePolicyRuleItemRequestBuilder + +class RulesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new RulesRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_lifecycle_policy_rule_id(self,lifecycle_policy_rule_id: str) -> LifecyclePolicyRuleItemRequestBuilder: + """ + Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + param lifecycle_policy_rule_id: The unique identifier of lifecyclePolicyRule + Returns: LifecyclePolicyRuleItemRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if lifecycle_policy_rule_id is None: + raise TypeError("lifecycle_policy_rule_id cannot be null.") + from .item.lifecycle_policy_rule_item_request_builder import LifecyclePolicyRuleItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["lifecyclePolicyRule%2Did"] = lifecycle_policy_rule_id + return LifecyclePolicyRuleItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration[RulesRequestBuilderGetQueryParameters]] = None) -> Optional[LifecyclePolicyRuleCollectionResponse]: + """ + Get rules from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[LifecyclePolicyRuleCollectionResponse] + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.identity_governance.lifecycle_policy_rule_collection_response import LifecyclePolicyRuleCollectionResponse + + return await self.request_adapter.send_async(request_info, LifecyclePolicyRuleCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RulesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get rules from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> RulesRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: RulesRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return RulesRequestBuilder(self.request_adapter, raw_url) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class RulesRequestBuilderGetQueryParameters(): + """ + Get rules from identityGovernance + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[list[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[list[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class RulesRequestBuilderGetRequestConfiguration(RequestConfiguration[RulesRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/versions/versions_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/versions/versions_request_builder.py new file mode 100644 index 00000000000..de5cca774f1 --- /dev/null +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/item/versions/versions_request_builder.py @@ -0,0 +1,156 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.identity_governance.lifecycle_policy_collection_response import LifecyclePolicyCollectionResponse + from ......models.o_data_errors.o_data_error import ODataError + from .item.lifecycle_policy_item_request_builder import LifecyclePolicyItemRequestBuilder + +class VersionsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the versions property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new VersionsRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_lifecycle_policy_id1(self,lifecycle_policy_id1: str) -> LifecyclePolicyItemRequestBuilder: + """ + Provides operations to manage the versions property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + param lifecycle_policy_id1: The unique identifier of lifecyclePolicy + Returns: LifecyclePolicyItemRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if lifecycle_policy_id1 is None: + raise TypeError("lifecycle_policy_id1 cannot be null.") + from .item.lifecycle_policy_item_request_builder import LifecyclePolicyItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["lifecyclePolicy%2Did1"] = lifecycle_policy_id1 + return LifecyclePolicyItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration[VersionsRequestBuilderGetQueryParameters]] = None) -> Optional[LifecyclePolicyCollectionResponse]: + """ + Get versions from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[LifecyclePolicyCollectionResponse] + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.identity_governance.lifecycle_policy_collection_response import LifecyclePolicyCollectionResponse + + return await self.request_adapter.send_async(request_info, LifecyclePolicyCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[VersionsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get versions from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> VersionsRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: VersionsRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return VersionsRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class VersionsRequestBuilderGetQueryParameters(): + """ + Get versions from identityGovernance + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[list[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[list[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class VersionsRequestBuilderGetRequestConfiguration(RequestConfiguration[VersionsRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/lifecycle_policies_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/lifecycle_policies_request_builder.py new file mode 100644 index 00000000000..edd4367101d --- /dev/null +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policies/lifecycle_policies_request_builder.py @@ -0,0 +1,214 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ....models.identity_governance.lifecycle_policy import LifecyclePolicy + from ....models.identity_governance.lifecycle_policy_collection_response import LifecyclePolicyCollectionResponse + from ....models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + from .item.lifecycle_policy_item_request_builder import LifecyclePolicyItemRequestBuilder + +class LifecyclePoliciesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the lifecyclePolicies property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new LifecyclePoliciesRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_lifecycle_policy_id(self,lifecycle_policy_id: str) -> LifecyclePolicyItemRequestBuilder: + """ + Provides operations to manage the lifecyclePolicies property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. + param lifecycle_policy_id: The unique identifier of lifecyclePolicy + Returns: LifecyclePolicyItemRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if lifecycle_policy_id is None: + raise TypeError("lifecycle_policy_id cannot be null.") + from .item.lifecycle_policy_item_request_builder import LifecyclePolicyItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["lifecyclePolicy%2Did"] = lifecycle_policy_id + return LifecyclePolicyItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration[LifecyclePoliciesRequestBuilderGetQueryParameters]] = None) -> Optional[LifecyclePolicyCollectionResponse]: + """ + Get lifecyclePolicies from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[LifecyclePolicyCollectionResponse] + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ....models.identity_governance.lifecycle_policy_collection_response import LifecyclePolicyCollectionResponse + + return await self.request_adapter.send_async(request_info, LifecyclePolicyCollectionResponse, error_mapping) + + async def post(self,body: LifecyclePolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[LifecyclePolicy]: + """ + Create new navigation property to lifecyclePolicies for identityGovernance + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[LifecyclePolicy] + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ....models.identity_governance.lifecycle_policy import LifecyclePolicy + + return await self.request_adapter.send_async(request_info, LifecyclePolicy, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[LifecyclePoliciesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get lifecyclePolicies from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: LifecyclePolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Create new navigation property to lifecyclePolicies for identityGovernance + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> LifecyclePoliciesRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: LifecyclePoliciesRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return LifecyclePoliciesRequestBuilder(self.request_adapter, raw_url) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class LifecyclePoliciesRequestBuilderGetQueryParameters(): + """ + Get lifecyclePolicies from identityGovernance + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[list[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[list[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class LifecyclePoliciesRequestBuilderGetRequestConfiguration(RequestConfiguration[LifecyclePoliciesRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class LifecyclePoliciesRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policy_priority_configurations/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policy_priority_configurations/count/count_request_builder.py new file mode 100644 index 00000000000..e6fb7af8ca9 --- /dev/null +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policy_priority_configurations/count/count_request_builder.py @@ -0,0 +1,107 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicyPriorityConfigurations/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policy_priority_configurations/item/lifecycle_policy_priority_configuration_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policy_priority_configurations/item/lifecycle_policy_priority_configuration_item_request_builder.py new file mode 100644 index 00000000000..714cf8151a4 --- /dev/null +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policy_priority_configurations/item/lifecycle_policy_priority_configuration_item_request_builder.py @@ -0,0 +1,157 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.identity_governance.lifecycle_policy_priority_configuration import LifecyclePolicyPriorityConfiguration + from .....models.o_data_errors.o_data_error import ODataError + +class LifecyclePolicyPriorityConfigurationItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the lifecyclePolicyPriorityConfigurations property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new LifecyclePolicyPriorityConfigurationItemRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicyPriorityConfigurations/{lifecyclePolicyPriorityConfiguration%2Did}{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[LifecyclePolicyPriorityConfigurationItemRequestBuilderGetQueryParameters]] = None) -> Optional[LifecyclePolicyPriorityConfiguration]: + """ + Get lifecyclePolicyPriorityConfigurations from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[LifecyclePolicyPriorityConfiguration] + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.identity_governance.lifecycle_policy_priority_configuration import LifecyclePolicyPriorityConfiguration + + return await self.request_adapter.send_async(request_info, LifecyclePolicyPriorityConfiguration, error_mapping) + + async def patch(self,body: LifecyclePolicyPriorityConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[LifecyclePolicyPriorityConfiguration]: + """ + Update the navigation property lifecyclePolicyPriorityConfigurations in identityGovernance + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[LifecyclePolicyPriorityConfiguration] + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.identity_governance.lifecycle_policy_priority_configuration import LifecyclePolicyPriorityConfiguration + + return await self.request_adapter.send_async(request_info, LifecyclePolicyPriorityConfiguration, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[LifecyclePolicyPriorityConfigurationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get lifecyclePolicyPriorityConfigurations from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: LifecyclePolicyPriorityConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update the navigation property lifecyclePolicyPriorityConfigurations in identityGovernance + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> LifecyclePolicyPriorityConfigurationItemRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: LifecyclePolicyPriorityConfigurationItemRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return LifecyclePolicyPriorityConfigurationItemRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class LifecyclePolicyPriorityConfigurationItemRequestBuilderGetQueryParameters(): + """ + Get lifecyclePolicyPriorityConfigurations from identityGovernance + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[list[str]] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + + @dataclass + class LifecyclePolicyPriorityConfigurationItemRequestBuilderGetRequestConfiguration(RequestConfiguration[LifecyclePolicyPriorityConfigurationItemRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class LifecyclePolicyPriorityConfigurationItemRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policy_priority_configurations/lifecycle_policy_priority_configurations_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policy_priority_configurations/lifecycle_policy_priority_configurations_request_builder.py new file mode 100644 index 00000000000..a67b2fd811c --- /dev/null +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_policy_priority_configurations/lifecycle_policy_priority_configurations_request_builder.py @@ -0,0 +1,166 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ....models.identity_governance.lifecycle_policy_priority_configuration_collection_response import LifecyclePolicyPriorityConfigurationCollectionResponse + from ....models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + from .item.lifecycle_policy_priority_configuration_item_request_builder import LifecyclePolicyPriorityConfigurationItemRequestBuilder + +class LifecyclePolicyPriorityConfigurationsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the lifecyclePolicyPriorityConfigurations property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new LifecyclePolicyPriorityConfigurationsRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicyPriorityConfigurations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_lifecycle_policy_priority_configuration_id(self,lifecycle_policy_priority_configuration_id: str) -> LifecyclePolicyPriorityConfigurationItemRequestBuilder: + """ + Provides operations to manage the lifecyclePolicyPriorityConfigurations property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. + param lifecycle_policy_priority_configuration_id: The unique identifier of lifecyclePolicyPriorityConfiguration + Returns: LifecyclePolicyPriorityConfigurationItemRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if lifecycle_policy_priority_configuration_id is None: + raise TypeError("lifecycle_policy_priority_configuration_id cannot be null.") + from .item.lifecycle_policy_priority_configuration_item_request_builder import LifecyclePolicyPriorityConfigurationItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["lifecyclePolicyPriorityConfiguration%2Did"] = lifecycle_policy_priority_configuration_id + return LifecyclePolicyPriorityConfigurationItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration[LifecyclePolicyPriorityConfigurationsRequestBuilderGetQueryParameters]] = None) -> Optional[LifecyclePolicyPriorityConfigurationCollectionResponse]: + """ + Get lifecyclePolicyPriorityConfigurations from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[LifecyclePolicyPriorityConfigurationCollectionResponse] + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ....models.identity_governance.lifecycle_policy_priority_configuration_collection_response import LifecyclePolicyPriorityConfigurationCollectionResponse + + return await self.request_adapter.send_async(request_info, LifecyclePolicyPriorityConfigurationCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[LifecyclePolicyPriorityConfigurationsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get lifecyclePolicyPriorityConfigurations from identityGovernance + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> LifecyclePolicyPriorityConfigurationsRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: LifecyclePolicyPriorityConfigurationsRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return LifecyclePolicyPriorityConfigurationsRequestBuilder(self.request_adapter, raw_url) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class LifecyclePolicyPriorityConfigurationsRequestBuilderGetQueryParameters(): + """ + Get lifecyclePolicyPriorityConfigurations from identityGovernance + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[list[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[list[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class LifecyclePolicyPriorityConfigurationsRequestBuilderGetRequestConfiguration(RequestConfiguration[LifecyclePolicyPriorityConfigurationsRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_workflows_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_workflows_request_builder.py index 3c513418ba0..9af12410ca3 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_workflows_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/lifecycle_workflows_request_builder.py @@ -19,6 +19,8 @@ from .custom_task_extensions.custom_task_extensions_request_builder import CustomTaskExtensionsRequestBuilder from .deleted_items.deleted_items_request_builder import DeletedItemsRequestBuilder from .insights.insights_request_builder import InsightsRequestBuilder + from .lifecycle_policies.lifecycle_policies_request_builder import LifecyclePoliciesRequestBuilder + from .lifecycle_policy_priority_configurations.lifecycle_policy_priority_configurations_request_builder import LifecyclePolicyPriorityConfigurationsRequestBuilder from .settings.settings_request_builder import SettingsRequestBuilder from .task_definitions.task_definitions_request_builder import TaskDefinitionsRequestBuilder from .workflows.workflows_request_builder import WorkflowsRequestBuilder @@ -43,6 +45,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -61,6 +64,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Lifecycl param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LifecycleWorkflowsContainer] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -82,6 +86,7 @@ async def patch(self,body: LifecycleWorkflowsContainer, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LifecycleWorkflowsContainer] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -104,6 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -115,6 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -127,6 +134,7 @@ def to_patch_request_information(self,body: LifecycleWorkflowsContainer, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -141,6 +149,7 @@ def with_url(self,raw_url: str) -> LifecycleWorkflowsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: LifecycleWorkflowsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return LifecycleWorkflowsRequestBuilder(self.request_adapter, raw_url) @@ -172,6 +181,24 @@ def insights(self) -> InsightsRequestBuilder: return InsightsRequestBuilder(self.request_adapter, self.path_parameters) + @property + def lifecycle_policies(self) -> LifecyclePoliciesRequestBuilder: + """ + Provides operations to manage the lifecyclePolicies property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. + """ + from .lifecycle_policies.lifecycle_policies_request_builder import LifecyclePoliciesRequestBuilder + + return LifecyclePoliciesRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def lifecycle_policy_priority_configurations(self) -> LifecyclePolicyPriorityConfigurationsRequestBuilder: + """ + Provides operations to manage the lifecyclePolicyPriorityConfigurations property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. + """ + from .lifecycle_policy_priority_configurations.lifecycle_policy_priority_configurations_request_builder import LifecyclePolicyPriorityConfigurationsRequestBuilder + + return LifecyclePolicyPriorityConfigurationsRequestBuilder(self.request_adapter, self.path_parameters) + @property def settings(self) -> SettingsRequestBuilder: """ diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/settings/settings_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/settings/settings_request_builder.py index 4c5bd921c97..4288369e324 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/settings/settings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/settings/settings_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Settings Returns: Optional[LifecycleManagementSettings] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-lifecyclemanagementsettings-get?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ async def patch(self,body: LifecycleManagementSettings, request_configuration: O Returns: Optional[LifecycleManagementSettings] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-lifecyclemanagementsettings-update?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -81,6 +83,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -93,6 +96,7 @@ def to_patch_request_information(self,body: LifecycleManagementSettings, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -107,6 +111,7 @@ def with_url(self,raw_url: str) -> SettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SettingsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/task_definitions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/task_definitions/count/count_request_builder.py index c6499b56a20..823f0967d20 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/task_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/task_definitions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/task_definitions/item/task_definition_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/task_definitions/item/task_definition_item_request_builder.py index b27a25c0b45..dd6ff995b46 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/task_definitions/item/task_definition_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/task_definitions/item/task_definition_item_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskDefi Returns: Optional[TaskDefinition] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-taskdefinition-get?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> TaskDefinitionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskDefinitionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskDefinitionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/task_definitions/task_definitions_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/task_definitions/task_definitions_request_builder.py index ab2860045a6..2acd8a87c95 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/task_definitions/task_definitions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/task_definitions/task_definitions_request_builder.py @@ -38,6 +38,7 @@ def by_task_definition_id(self,task_definition_id: str) -> TaskDefinitionItemReq param task_definition_id: The unique identifier of taskDefinition Returns: TaskDefinitionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if task_definition_id is None: raise TypeError("task_definition_id cannot be null.") from .item.task_definition_item_request_builder import TaskDefinitionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskDefi Returns: Optional[TaskDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-lifecycleworkflowscontainer-list-taskdefinitions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -73,6 +75,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -84,6 +87,7 @@ def with_url(self,raw_url: str) -> TaskDefinitionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskDefinitionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskDefinitionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/count/count_request_builder.py index 4c237c43b6e..b09df6d7289 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/count/count_request_builder.py index d5e818ebdd4..9d59cc66703 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_item_request_builder.py index 02688db9ef7..110889ddfd8 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_item_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskItem param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Task] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> TaskItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/count/count_request_builder.py index 6d869c45d9d..7a7fc4af648 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py index 5778c52084e..3096f9e5cf5 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: ResumePostRequestBody, request_configuration: Optional Returns: None Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: ResumePostRequestBody, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceResumeRequest param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphIdentityGovernanceResumeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphIdentityGovernanceResumeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py index 1e2fa8dbc4c..12f272beca8 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxS param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def patch(self,body: MailboxSettings, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -79,6 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -91,6 +94,7 @@ def to_patch_request_information(self,body: MailboxSettings, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -105,6 +109,7 @@ def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxSettingsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py index d1e700b6d42..307cdebf000 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py index 2ff4ac370c6..241616888a6 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/item/subject/subject_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/item/subject/subject_request_builder.py index 89046b90b30..60ba7587e4e 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/item/subject/subject_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/item/subject/subject_request_builder.py @@ -38,6 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SubjectR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -58,6 +59,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -69,6 +71,7 @@ def with_url(self,raw_url: str) -> SubjectRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SubjectRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SubjectRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/item/task/task_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/item/task/task_request_builder.py index f467110059e..9f5bcd1078e 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/item/task/task_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/item/task/task_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskRequ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Task] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> TaskRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/item/task_processing_result_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/item/task_processing_result_item_request_builder.py index 9227e6ab388..67f624f54d7 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/item/task_processing_result_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/item/task_processing_result_item_request_builder.py @@ -39,6 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskProc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskProcessingResult] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,6 +72,7 @@ def with_url(self,raw_url: str) -> TaskProcessingResultItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskProcessingResultItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/task_processing_results_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/task_processing_results_request_builder.py index 248aa890ea1..f4b4de61705 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/task_processing_results_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/item/task_processing_results/task_processing_results_request_builder.py @@ -38,6 +38,7 @@ def by_task_processing_result_id(self,task_processing_result_id: str) -> TaskPro param task_processing_result_id: The unique identifier of taskProcessingResult Returns: TaskProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if task_processing_result_id is None: raise TypeError("task_processing_result_id cannot be null.") from .item.task_processing_result_item_request_builder import TaskProcessingResultItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskProc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskProcessingResultCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> TaskProcessingResultsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskProcessingResultsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskProcessingResultsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/tasks_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/tasks_request_builder.py index 3241d6174f7..9cf92380204 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/tasks_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/tasks/tasks_request_builder.py @@ -38,6 +38,7 @@ def by_task_id(self,task_id: str) -> TaskItemRequestBuilder: param task_id: The unique identifier of task Returns: TaskItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if task_id is None: raise TypeError("task_id cannot be null.") from .item.task_item_request_builder import TaskItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TasksReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> TasksRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TasksRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TasksRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/workflow_template_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/workflow_template_item_request_builder.py index e15c118a043..c52482fb688 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/workflow_template_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/item/workflow_template_item_request_builder.py @@ -38,6 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Workflow Returns: Optional[WorkflowTemplate] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-workflowtemplate-get?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -58,6 +59,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -69,6 +71,7 @@ def with_url(self,raw_url: str) -> WorkflowTemplateItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: WorkflowTemplateItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return WorkflowTemplateItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/workflow_templates_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/workflow_templates_request_builder.py index 4ab2ce08b1c..5a4bd23ad06 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/workflow_templates_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflow_templates/workflow_templates_request_builder.py @@ -38,6 +38,7 @@ def by_workflow_template_id(self,workflow_template_id: str) -> WorkflowTemplateI param workflow_template_id: The unique identifier of workflowTemplate Returns: WorkflowTemplateItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if workflow_template_id is None: raise TypeError("workflow_template_id cannot be null.") from .item.workflow_template_item_request_builder import WorkflowTemplateItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Workflow Returns: Optional[WorkflowTemplateCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-lifecycleworkflowscontainer-list-workflowtemplates?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -73,6 +75,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -84,6 +87,7 @@ def with_url(self,raw_url: str) -> WorkflowTemplatesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: WorkflowTemplatesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return WorkflowTemplatesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/count/count_request_builder.py index 7bcd7bc11f0..0f55f603227 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/administration_scope_targets/administration_scope_targets_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/administration_scope_targets/administration_scope_targets_request_builder.py index 73ce3182b46..f9e27f292d2 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/administration_scope_targets/administration_scope_targets_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/administration_scope_targets/administration_scope_targets_request_builder.py @@ -38,6 +38,7 @@ def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItem param directory_object_id: The unique identifier of directoryObject Returns: DirectoryObjectItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if directory_object_id is None: raise TypeError("directory_object_id cannot be null.") from .item.directory_object_item_request_builder import DirectoryObjectItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Administ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObjectCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> AdministrationScopeTargetsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AdministrationScopeTargetsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AdministrationScopeTargetsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/administration_scope_targets/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/administration_scope_targets/count/count_request_builder.py index 5e156cdd30d..d8a09a3f6a6 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/administration_scope_targets/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/administration_scope_targets/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/administration_scope_targets/item/directory_object_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/administration_scope_targets/item/directory_object_item_request_builder.py index 9045dc5680f..752ab7275cc 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/administration_scope_targets/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/administration_scope_targets/item/directory_object_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> DirectoryObjectItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryObjectItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryObjectItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/created_by/created_by_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/created_by/created_by_request_builder.py index 1e77c53386d..fdbe9ed535e 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/created_by/created_by_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/created_by/created_by_request_builder.py @@ -38,6 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CreatedB param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -58,6 +59,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -69,6 +71,7 @@ def with_url(self,raw_url: str) -> CreatedByRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CreatedByRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CreatedByRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/created_by/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/created_by/mailbox_settings/mailbox_settings_request_builder.py index ae3384d783e..9f252fc7c4f 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/created_by/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/created_by/mailbox_settings/mailbox_settings_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxS param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def patch(self,body: MailboxSettings, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -79,6 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -91,6 +94,7 @@ def to_patch_request_information(self,body: MailboxSettings, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -105,6 +109,7 @@ def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxSettingsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/created_by/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/created_by/service_provisioning_errors/count/count_request_builder.py index 2728e9cefc3..0d472d4ec67 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/created_by/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/created_by/service_provisioning_errors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/created_by/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/created_by/service_provisioning_errors/service_provisioning_errors_request_builder.py index 74999aaa079..7ac450634d0 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/created_by/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/created_by/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/execution_scope/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/execution_scope/count/count_request_builder.py index a8d779a7387..c8049544b42 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/execution_scope/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/execution_scope/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/execution_scope/execution_scope_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/execution_scope/execution_scope_request_builder.py index bbca640be3d..d4594fda211 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/execution_scope/execution_scope_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/execution_scope/execution_scope_request_builder.py @@ -38,6 +38,7 @@ def by_user_processing_result_id(self,user_processing_result_id: str) -> UserPro param user_processing_result_id: The unique identifier of userProcessingResult Returns: UserProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if user_processing_result_id is None: raise TypeError("user_processing_result_id cannot be null.") from .item.user_processing_result_item_request_builder import UserProcessingResultItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Executio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserProcessingResultCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> ExecutionScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ExecutionScopeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ExecutionScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/execution_scope/item/user_processing_result_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/execution_scope/item/user_processing_result_item_request_builder.py index ecf40af13e4..621a50b4cc8 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/execution_scope/item/user_processing_result_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/execution_scope/item/user_processing_result_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UserProc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserProcessingResult] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> UserProcessingResultItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UserProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UserProcessingResultItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/last_modified_by/last_modified_by_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/last_modified_by/last_modified_by_request_builder.py index 5c34b07e5ab..e639079935e 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/last_modified_by/last_modified_by_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/last_modified_by/last_modified_by_request_builder.py @@ -38,6 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[LastModi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -58,6 +59,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -69,6 +71,7 @@ def with_url(self,raw_url: str) -> LastModifiedByRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: LastModifiedByRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return LastModifiedByRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/last_modified_by/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/last_modified_by/mailbox_settings/mailbox_settings_request_builder.py index 7d196b1c4cd..aa6d84e61d4 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/last_modified_by/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/last_modified_by/mailbox_settings/mailbox_settings_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxS param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def patch(self,body: MailboxSettings, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -79,6 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -91,6 +94,7 @@ def to_patch_request_information(self,body: MailboxSettings, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -105,6 +109,7 @@ def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxSettingsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py index 605cb8c35b8..f166e9a4d4b 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/last_modified_by/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/last_modified_by/service_provisioning_errors/service_provisioning_errors_request_builder.py index 124e5d4512e..aac56c500d8 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/last_modified_by/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/last_modified_by/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_activate/microsoft_graph_identity_governance_activate_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_activate/microsoft_graph_identity_governance_activate_request_builder.py index 95f5625f846..d1763893eec 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_activate/microsoft_graph_identity_governance_activate_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_activate/microsoft_graph_identity_governance_activate_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: ActivatePostRequestBody, request_configuration: Option Returns: None Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-workflow-activate?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: ActivatePostRequestBody, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceActivateReque param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphIdentityGovernanceActivateRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphIdentityGovernanceActivateRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_activate_and_wait/microsoft_graph_identity_governance_activate_and_wait_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_activate_and_wait/microsoft_graph_identity_governance_activate_and_wait_request_builder.py index c955750833a..7193580abf1 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_activate_and_wait/microsoft_graph_identity_governance_activate_and_wait_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_activate_and_wait/microsoft_graph_identity_governance_activate_and_wait_request_builder.py @@ -39,6 +39,7 @@ async def post(self,body: ActivateAndWaitPostRequestBody, request_configuration: Returns: Optional[AwaitedWorkflowProcessingResult] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-workflow-activateandwait?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -62,6 +63,7 @@ def to_post_request_information(self,body: ActivateAndWaitPostRequestBody, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -76,6 +78,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceActivateAndWa param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphIdentityGovernanceActivateAndWaitRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphIdentityGovernanceActivateAndWaitRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_activate_with_scope/microsoft_graph_identity_governance_activate_with_scope_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_activate_with_scope/microsoft_graph_identity_governance_activate_with_scope_request_builder.py index 85921e14faf..d7042b0b055 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_activate_with_scope/microsoft_graph_identity_governance_activate_with_scope_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_activate_with_scope/microsoft_graph_identity_governance_activate_with_scope_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: ActivateWithScopePostRequestBody, request_configuratio Returns: None Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-workflow-activatewithscope?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: ActivateWithScopePostRequestBody, req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceActivateWithS param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_clear_quarantine/microsoft_graph_identity_governance_clear_quarantine_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_clear_quarantine/microsoft_graph_identity_governance_clear_quarantine_request_builder.py index 124bef4c1f8..f30f2cf4e84 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_clear_quarantine/microsoft_graph_identity_governance_clear_quarantine_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_clear_quarantine/microsoft_graph_identity_governance_clear_quarantine_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[Workflow] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-workflow-clearquarantine?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceClearQuaranti param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_create_new_version/microsoft_graph_identity_governance_create_new_version_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_create_new_version/microsoft_graph_identity_governance_create_new_version_request_builder.py index 79e634e0dfd..1c814b26bef 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_create_new_version/microsoft_graph_identity_governance_create_new_version_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_create_new_version/microsoft_graph_identity_governance_create_new_version_request_builder.py @@ -39,6 +39,7 @@ async def post(self,body: CreateNewVersionPostRequestBody, request_configuration Returns: Optional[Workflow] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-workflow-createnewversion?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -62,6 +63,7 @@ def to_post_request_information(self,body: CreateNewVersionPostRequestBody, requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -76,6 +78,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceCreateNewVers param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_restore/microsoft_graph_identity_governance_restore_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_restore/microsoft_graph_identity_governance_restore_request_builder.py index 44470678e15..69c79086147 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_restore/microsoft_graph_identity_governance_restore_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_restore/microsoft_graph_identity_governance_restore_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[Workflow] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-workflow-restore?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceRestoreReques param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphIdentityGovernanceRestoreRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/count/count_request_builder.py index f96b2ca3b44..f8fd31b3df4 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/reprocessed_runs/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/reprocessed_runs/count/count_request_builder.py index 086c2928d20..e15cf2f1b20 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/reprocessed_runs/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/reprocessed_runs/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/reprocessed_runs/item/run_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/reprocessed_runs/item/run_item_request_builder.py index 2523b37bc46..70c53c8903e 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/reprocessed_runs/item/run_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/reprocessed_runs/item/run_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RunItemR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Run] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RunItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RunItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RunItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/reprocessed_runs/reprocessed_runs_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/reprocessed_runs/reprocessed_runs_request_builder.py index 5ebbe7d34d3..8a125309993 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/reprocessed_runs/reprocessed_runs_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/reprocessed_runs/reprocessed_runs_request_builder.py @@ -38,6 +38,7 @@ def by_run_id1(self,run_id1: str) -> RunItemRequestBuilder: param run_id1: The unique identifier of run Returns: RunItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if run_id1 is None: raise TypeError("run_id1 cannot be null.") from .item.run_item_request_builder import RunItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Reproces param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RunCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> ReprocessedRunsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ReprocessedRunsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ReprocessedRunsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/run_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/run_item_request_builder.py index 5de336fa9aa..931543f9a7f 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/run_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/run_item_request_builder.py @@ -41,6 +41,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RunItemR Returns: Optional[Run] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-run-get?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -61,6 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -72,6 +74,7 @@ def with_url(self,raw_url: str) -> RunItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RunItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RunItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/count/count_request_builder.py index 8b37a8db2dc..eaa6d3e0eca 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/reprocessed_runs/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/reprocessed_runs/count/count_request_builder.py index f04e02b56ba..dec78261890 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/reprocessed_runs/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/reprocessed_runs/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/reprocessed_runs/item/run_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/reprocessed_runs/item/run_item_request_builder.py index ebfe3a2bb6d..940a15708c7 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/reprocessed_runs/item/run_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/reprocessed_runs/item/run_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RunItemR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Run] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RunItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RunItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RunItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py index 97d474d8dbd..fcba291de29 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py @@ -38,6 +38,7 @@ def by_run_id1(self,run_id1: str) -> RunItemRequestBuilder: param run_id1: The unique identifier of run Returns: RunItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if run_id1 is None: raise TypeError("run_id1 cannot be null.") from .item.run_item_request_builder import RunItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Reproces param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RunCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> ReprocessedRunsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ReprocessedRunsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ReprocessedRunsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/subject_processing_result_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/subject_processing_result_item_request_builder.py index dd8267c9038..79f19402ad0 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/subject_processing_result_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/subject_processing_result_item_request_builder.py @@ -39,6 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SubjectP Returns: Optional[SubjectProcessingResult] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-subjectprocessingresult-get?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,6 +72,7 @@ def with_url(self,raw_url: str) -> SubjectProcessingResultItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SubjectProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SubjectProcessingResultItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/task_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/task_processing_results/count/count_request_builder.py index 47eadb80366..dff357a9c83 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/task_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/task_processing_results/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py index 93ce24fc4a2..43919055344 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: ResumePostRequestBody, request_configuration: Optional Returns: None Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: ResumePostRequestBody, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceResumeRequest param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphIdentityGovernanceResumeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphIdentityGovernanceResumeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py index 45552ad3ab9..9c4ec227f8a 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxS param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def patch(self,body: MailboxSettings, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -79,6 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -91,6 +94,7 @@ def to_patch_request_information(self,body: MailboxSettings, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -105,6 +109,7 @@ def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxSettingsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py index 46f196428c0..d6484aa133b 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py index e9b95634d7c..a66a38bca9b 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/subject/subject_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/subject/subject_request_builder.py index 88b5ee147f1..28f2314c7f6 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/subject/subject_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/subject/subject_request_builder.py @@ -38,6 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SubjectR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -58,6 +59,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -69,6 +71,7 @@ def with_url(self,raw_url: str) -> SubjectRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SubjectRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SubjectRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/task/task_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/task/task_request_builder.py index 1565339e9da..51de4d129c4 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/task/task_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/task/task_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskRequ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Task] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> TaskRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/task_processing_result_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/task_processing_result_item_request_builder.py index 270c0dbf22d..0b26524ab9a 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/task_processing_result_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/task_processing_results/item/task_processing_result_item_request_builder.py @@ -39,6 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskProc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskProcessingResult] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,6 +72,7 @@ def with_url(self,raw_url: str) -> TaskProcessingResultItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskProcessingResultItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/task_processing_results/task_processing_results_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/task_processing_results/task_processing_results_request_builder.py index 488431a8bc0..e52205dab8a 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/task_processing_results/task_processing_results_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/item/task_processing_results/task_processing_results_request_builder.py @@ -38,6 +38,7 @@ def by_task_processing_result_id(self,task_processing_result_id: str) -> TaskPro param task_processing_result_id: The unique identifier of taskProcessingResult Returns: TaskProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if task_processing_result_id is None: raise TypeError("task_processing_result_id cannot be null.") from .item.task_processing_result_item_request_builder import TaskProcessingResultItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskProc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskProcessingResultCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> TaskProcessingResultsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskProcessingResultsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskProcessingResultsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py new file mode 100644 index 00000000000..b7ac1decc24 --- /dev/null +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py @@ -0,0 +1,90 @@ +from __future__ import annotations +import datetime +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .........models.identity_governance.subject_summary import SubjectSummary + from .........models.o_data_errors.o_data_error import ODataError + +class MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the summary method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]], end_date_time: Optional[datetime.datetime] = None, start_date_time: Optional[datetime.datetime] = None) -> None: + """ + Instantiates a new MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder and sets the default values. + param end_date_time: Usage: endDateTime={endDateTime} + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + param start_date_time: Usage: startDateTime={startDateTime} + Returns: None + """ + if isinstance(path_parameters, dict): + path_parameters['endDateTime'] = end_date_time + path_parameters['startDateTime'] = start_date_time + super().__init__(request_adapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/runs/{run%2Did}/subjectProcessingResults/microsoft.graph.identityGovernance.summary(startDateTime={startDateTime},endDateTime={endDateTime})", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[SubjectSummary]: + """ + Provide a subjectSummary for subjectProcessingResult objects over a specified time period. Because the number of subject processing results returned by the list API can be overwhelming, this summary allows administrators to get a quick overview based on counts. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[SubjectSummary] + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .........models.identity_governance.subject_summary import SubjectSummary + + return await self.request_adapter.send_async(request_info, SubjectSummary, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Provide a subjectSummary for subjectProcessingResult objects over a specified time period. Because the number of subject processing results returned by the list API can be overwhelming, this summary allows administrators to get a quick overview based on counts. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/subject_processing_results_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/subject_processing_results_request_builder.py index b22084b5140..b51603ace74 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/subject_processing_results_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/subject_processing_results/subject_processing_results_request_builder.py @@ -1,4 +1,5 @@ from __future__ import annotations +import datetime from collections.abc import Callable from dataclasses import dataclass, field from kiota_abstractions.base_request_builder import BaseRequestBuilder @@ -18,6 +19,7 @@ from ........models.o_data_errors.o_data_error import ODataError from .count.count_request_builder import CountRequestBuilder from .item.subject_processing_result_item_request_builder import SubjectProcessingResultItemRequestBuilder + from .microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time.microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder import MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder class SubjectProcessingResultsRequestBuilder(BaseRequestBuilder): """ @@ -38,6 +40,7 @@ def by_subject_processing_result_id(self,subject_processing_result_id: str) -> S param subject_processing_result_id: The unique identifier of subjectProcessingResult Returns: SubjectProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if subject_processing_result_id is None: raise TypeError("subject_processing_result_id cannot be null.") from .item.subject_processing_result_item_request_builder import SubjectProcessingResultItemRequestBuilder @@ -53,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SubjectP Returns: Optional[SubjectProcessingResultCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-run-list-subjectprocessingresults?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -67,12 +71,29 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SubjectP return await self.request_adapter.send_async(request_info, SubjectProcessingResultCollectionResponse, error_mapping) + def microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time(self,end_date_time: datetime.datetime, start_date_time: datetime.datetime) -> MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder: + """ + Provides operations to call the summary method. + param end_date_time: Usage: endDateTime={endDateTime} + param start_date_time: Usage: startDateTime={startDateTime} + Returns: MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if end_date_time is None: + raise TypeError("end_date_time cannot be null.") + if start_date_time is None: + raise TypeError("start_date_time cannot be null.") + from .microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time.microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder import MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder + + return MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(self.request_adapter, self.path_parameters, end_date_time, start_date_time) + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[SubjectProcessingResultsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ Get a list of the subjectProcessingResult objects for a specific workflow run. Each result represents the processing outcome for a single subject. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -84,6 +105,7 @@ def with_url(self,raw_url: str) -> SubjectProcessingResultsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SubjectProcessingResultsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SubjectProcessingResultsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/count/count_request_builder.py index 41a8e4cce79..d426eca5eb7 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py index a16887db58a..98994db61cb 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: ResumePostRequestBody, request_configuration: Optional Returns: None Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: ResumePostRequestBody, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceResumeRequest param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphIdentityGovernanceResumeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphIdentityGovernanceResumeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py index 40597819724..4ad9263e1ed 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxS param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def patch(self,body: MailboxSettings, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -79,6 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -91,6 +94,7 @@ def to_patch_request_information(self,body: MailboxSettings, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -105,6 +109,7 @@ def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxSettingsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py index af831373639..1a4fe86b25a 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py index b748af7875c..168b3f13df7 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/item/subject/subject_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/item/subject/subject_request_builder.py index e762e89fc36..a2231385a06 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/item/subject/subject_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/item/subject/subject_request_builder.py @@ -38,6 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SubjectR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -58,6 +59,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -69,6 +71,7 @@ def with_url(self,raw_url: str) -> SubjectRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SubjectRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SubjectRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/item/task/task_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/item/task/task_request_builder.py index 5c5104a6b17..e3e1c96f2c3 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/item/task/task_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/item/task/task_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskRequ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Task] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> TaskRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/item/task_processing_result_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/item/task_processing_result_item_request_builder.py index 4c443dacd53..53fe117fd25 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/item/task_processing_result_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/item/task_processing_result_item_request_builder.py @@ -39,6 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskProc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskProcessingResult] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,6 +72,7 @@ def with_url(self,raw_url: str) -> TaskProcessingResultItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskProcessingResultItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/task_processing_results_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/task_processing_results_request_builder.py index fd0581eebab..4a7cc78dbcc 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/task_processing_results_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/task_processing_results/task_processing_results_request_builder.py @@ -38,6 +38,7 @@ def by_task_processing_result_id(self,task_processing_result_id: str) -> TaskPro param task_processing_result_id: The unique identifier of taskProcessingResult Returns: TaskProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if task_processing_result_id is None: raise TypeError("task_processing_result_id cannot be null.") from .item.task_processing_result_item_request_builder import TaskProcessingResultItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskProc Returns: Optional[TaskProcessingResultCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-run-list-taskprocessingresults?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -73,6 +75,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -84,6 +87,7 @@ def with_url(self,raw_url: str) -> TaskProcessingResultsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskProcessingResultsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskProcessingResultsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/count/count_request_builder.py index 7b8df281ee5..0f692200e12 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/count/count_request_builder.py index 804bee338e2..fb960dfa041 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/item/run_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/item/run_item_request_builder.py index 585da7555f8..ac7259b392f 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/item/run_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/item/run_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RunItemR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Run] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RunItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RunItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RunItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py index 85a9ea69711..0e49fdd4362 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py @@ -38,6 +38,7 @@ def by_run_id1(self,run_id1: str) -> RunItemRequestBuilder: param run_id1: The unique identifier of run Returns: RunItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if run_id1 is None: raise TypeError("run_id1 cannot be null.") from .item.run_item_request_builder import RunItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Reproces param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RunCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> ReprocessedRunsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ReprocessedRunsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ReprocessedRunsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py index 342909966cc..62a84f0964a 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxS param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def patch(self,body: MailboxSettings, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -79,6 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -91,6 +94,7 @@ def to_patch_request_information(self,body: MailboxSettings, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -105,6 +109,7 @@ def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxSettingsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py index 90c2e6edf54..9f5a2f61bd4 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py index c963ece05ba..aee505dd222 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/subject/subject_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/subject/subject_request_builder.py index 7651d152327..339880ce83d 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/subject/subject_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/subject/subject_request_builder.py @@ -38,6 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SubjectR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -58,6 +59,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -69,6 +71,7 @@ def with_url(self,raw_url: str) -> SubjectRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SubjectRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SubjectRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/count/count_request_builder.py index e33af25302c..8c2a3d738a9 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py index d11c7091ff7..460e3a2ed31 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: ResumePostRequestBody, request_configuration: Optional Returns: None Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: ResumePostRequestBody, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceResumeRequest param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphIdentityGovernanceResumeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphIdentityGovernanceResumeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py index cd81ff91737..2789d9ba882 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxS param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def patch(self,body: MailboxSettings, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -79,6 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -91,6 +94,7 @@ def to_patch_request_information(self,body: MailboxSettings, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -105,6 +109,7 @@ def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxSettingsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py index be56bdd62f3..50dcbc56e98 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py index 00994331508..4f6648427a8 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/subject/subject_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/subject/subject_request_builder.py index 532a864a17c..58916118d8f 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/subject/subject_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/subject/subject_request_builder.py @@ -38,6 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SubjectR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -58,6 +59,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -69,6 +71,7 @@ def with_url(self,raw_url: str) -> SubjectRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SubjectRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SubjectRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/task/task_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/task/task_request_builder.py index bb2f5da6e53..0fadc43ea1b 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/task/task_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/task/task_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskRequ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Task] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> TaskRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/task_processing_result_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/task_processing_result_item_request_builder.py index a6ec980cca3..de13be4e3ef 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/task_processing_result_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/item/task_processing_result_item_request_builder.py @@ -39,6 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskProc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskProcessingResult] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,6 +72,7 @@ def with_url(self,raw_url: str) -> TaskProcessingResultItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskProcessingResultItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/task_processing_results_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/task_processing_results_request_builder.py index 1d929800d36..1d071b781a4 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/task_processing_results_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/task_processing_results/task_processing_results_request_builder.py @@ -38,6 +38,7 @@ def by_task_processing_result_id(self,task_processing_result_id: str) -> TaskPro param task_processing_result_id: The unique identifier of taskProcessingResult Returns: TaskProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if task_processing_result_id is None: raise TypeError("task_processing_result_id cannot be null.") from .item.task_processing_result_item_request_builder import TaskProcessingResultItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskProc Returns: Optional[TaskProcessingResultCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-userprocessingresult-list-taskprocessingresults?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -73,6 +75,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -84,6 +87,7 @@ def with_url(self,raw_url: str) -> TaskProcessingResultsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskProcessingResultsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskProcessingResultsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/user_processing_result_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/user_processing_result_item_request_builder.py index 97641e49e38..d8b16563684 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/user_processing_result_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/user_processing_result_item_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UserProc Returns: Optional[UserProcessingResult] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-userprocessingresult-get?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> UserProcessingResultItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UserProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UserProcessingResultItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py index 4c881440bc7..445e1e22718 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py @@ -42,6 +42,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserSummary] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -62,6 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceSummaryWithSt param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/user_processing_results_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/user_processing_results_request_builder.py index c9570346b7c..3ee8b167b2d 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/user_processing_results_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/user_processing_results_request_builder.py @@ -40,6 +40,7 @@ def by_user_processing_result_id(self,user_processing_result_id: str) -> UserPro param user_processing_result_id: The unique identifier of userProcessingResult Returns: UserProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if user_processing_result_id is None: raise TypeError("user_processing_result_id cannot be null.") from .item.user_processing_result_item_request_builder import UserProcessingResultItemRequestBuilder @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UserProc Returns: Optional[UserProcessingResultCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-run-list-userprocessingresults?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ def microsoft_graph_identity_governance_summary_with_start_date_time_with_end_da param start_date_time: Usage: startDateTime={startDateTime} Returns: MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if end_date_time is None: raise TypeError("end_date_time cannot be null.") if start_date_time is None: @@ -90,6 +93,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -101,6 +105,7 @@ def with_url(self,raw_url: str) -> UserProcessingResultsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UserProcessingResultsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UserProcessingResultsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py index 02a7b50d697..8caefcf5a35 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py @@ -42,6 +42,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RunSummary] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -62,6 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceSummaryWithSt param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/runs_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/runs_request_builder.py index 71f31fba4e4..b661a0bb764 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/runs_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/runs/runs_request_builder.py @@ -40,6 +40,7 @@ def by_run_id(self,run_id: str) -> RunItemRequestBuilder: param run_id: The unique identifier of run Returns: RunItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if run_id is None: raise TypeError("run_id cannot be null.") from .item.run_item_request_builder import RunItemRequestBuilder @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RunsRequ Returns: Optional[RunCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-workflow-list-runs?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ def microsoft_graph_identity_governance_summary_with_start_date_time_with_end_da param start_date_time: Usage: startDateTime={startDateTime} Returns: MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if end_date_time is None: raise TypeError("end_date_time cannot be null.") if start_date_time is None: @@ -90,6 +93,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -101,6 +105,7 @@ def with_url(self,raw_url: str) -> RunsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RunsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RunsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/count/count_request_builder.py index a164c9bd191..646d9a8f615 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/reprocessed_runs/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/reprocessed_runs/count/count_request_builder.py index 7454cf5c622..704460586bb 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/reprocessed_runs/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/reprocessed_runs/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/reprocessed_runs/item/run_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/reprocessed_runs/item/run_item_request_builder.py index e78a728537e..81622545556 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/reprocessed_runs/item/run_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/reprocessed_runs/item/run_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RunItemR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Run] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RunItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RunItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RunItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py index 3f7b37e6108..0df396e26e3 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py @@ -38,6 +38,7 @@ def by_run_id(self,run_id: str) -> RunItemRequestBuilder: param run_id: The unique identifier of run Returns: RunItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if run_id is None: raise TypeError("run_id cannot be null.") from .item.run_item_request_builder import RunItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Reproces param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RunCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> ReprocessedRunsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ReprocessedRunsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ReprocessedRunsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/subject_processing_result_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/subject_processing_result_item_request_builder.py index a92c307a298..d52d85b8e67 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/subject_processing_result_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/subject_processing_result_item_request_builder.py @@ -38,6 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SubjectP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SubjectProcessingResult] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -58,6 +59,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -69,6 +71,7 @@ def with_url(self,raw_url: str) -> SubjectProcessingResultItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SubjectProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SubjectProcessingResultItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/task_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/task_processing_results/count/count_request_builder.py index add4799f1c7..f5261ee7ed8 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/task_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/task_processing_results/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py index 7f95e9841dc..0d294d517cd 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: ResumePostRequestBody, request_configuration: Optional Returns: None Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: ResumePostRequestBody, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceResumeRequest param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphIdentityGovernanceResumeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphIdentityGovernanceResumeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py index a8e450daefd..68ddb6289fd 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxS param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def patch(self,body: MailboxSettings, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -79,6 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -91,6 +94,7 @@ def to_patch_request_information(self,body: MailboxSettings, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -105,6 +109,7 @@ def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxSettingsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py index e9c3f9da294..56828efb353 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py index 84995bde0d2..71418351a4e 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/task_processing_results/item/subject/subject_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/task_processing_results/item/subject/subject_request_builder.py index a7bfcf621d0..2f1b5052981 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/task_processing_results/item/subject/subject_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/task_processing_results/item/subject/subject_request_builder.py @@ -38,6 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SubjectR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -58,6 +59,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -69,6 +71,7 @@ def with_url(self,raw_url: str) -> SubjectRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SubjectRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SubjectRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/task_processing_results/item/task/task_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/task_processing_results/item/task/task_request_builder.py index 49901462bef..048165548e6 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/task_processing_results/item/task/task_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/task_processing_results/item/task/task_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskRequ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Task] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> TaskRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/task_processing_results/item/task_processing_result_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/task_processing_results/item/task_processing_result_item_request_builder.py index 258d3282b88..0ef8e171cf8 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/task_processing_results/item/task_processing_result_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/task_processing_results/item/task_processing_result_item_request_builder.py @@ -39,6 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskProc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskProcessingResult] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,6 +72,7 @@ def with_url(self,raw_url: str) -> TaskProcessingResultItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskProcessingResultItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/task_processing_results/task_processing_results_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/task_processing_results/task_processing_results_request_builder.py index bb582e14c66..f2f4dbfdf46 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/task_processing_results/task_processing_results_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/item/task_processing_results/task_processing_results_request_builder.py @@ -38,6 +38,7 @@ def by_task_processing_result_id(self,task_processing_result_id: str) -> TaskPro param task_processing_result_id: The unique identifier of taskProcessingResult Returns: TaskProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if task_processing_result_id is None: raise TypeError("task_processing_result_id cannot be null.") from .item.task_processing_result_item_request_builder import TaskProcessingResultItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskProc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskProcessingResultCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> TaskProcessingResultsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskProcessingResultsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskProcessingResultsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py new file mode 100644 index 00000000000..456e8eee526 --- /dev/null +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py @@ -0,0 +1,90 @@ +from __future__ import annotations +import datetime +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.identity_governance.subject_summary import SubjectSummary + from .......models.o_data_errors.o_data_error import ODataError + +class MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the summary method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]], end_date_time: Optional[datetime.datetime] = None, start_date_time: Optional[datetime.datetime] = None) -> None: + """ + Instantiates a new MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder and sets the default values. + param end_date_time: Usage: endDateTime={endDateTime} + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + param start_date_time: Usage: startDateTime={startDateTime} + Returns: None + """ + if isinstance(path_parameters, dict): + path_parameters['endDateTime'] = end_date_time + path_parameters['startDateTime'] = start_date_time + super().__init__(request_adapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/subjectProcessingResults/microsoft.graph.identityGovernance.summary(startDateTime={startDateTime},endDateTime={endDateTime})", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[SubjectSummary]: + """ + Invoke function summary + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[SubjectSummary] + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.identity_governance.subject_summary import SubjectSummary + + return await self.request_adapter.send_async(request_info, SubjectSummary, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke function summary + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/subject_processing_results_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/subject_processing_results_request_builder.py index 127e113ac35..4f341b2e457 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/subject_processing_results_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/subject_processing_results/subject_processing_results_request_builder.py @@ -1,4 +1,5 @@ from __future__ import annotations +import datetime from collections.abc import Callable from dataclasses import dataclass, field from kiota_abstractions.base_request_builder import BaseRequestBuilder @@ -18,6 +19,7 @@ from ......models.o_data_errors.o_data_error import ODataError from .count.count_request_builder import CountRequestBuilder from .item.subject_processing_result_item_request_builder import SubjectProcessingResultItemRequestBuilder + from .microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time.microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder import MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder class SubjectProcessingResultsRequestBuilder(BaseRequestBuilder): """ @@ -38,6 +40,7 @@ def by_subject_processing_result_id(self,subject_processing_result_id: str) -> S param subject_processing_result_id: The unique identifier of subjectProcessingResult Returns: SubjectProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if subject_processing_result_id is None: raise TypeError("subject_processing_result_id cannot be null.") from .item.subject_processing_result_item_request_builder import SubjectProcessingResultItemRequestBuilder @@ -52,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SubjectP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SubjectProcessingResultCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -66,12 +70,29 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SubjectP return await self.request_adapter.send_async(request_info, SubjectProcessingResultCollectionResponse, error_mapping) + def microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time(self,end_date_time: datetime.datetime, start_date_time: datetime.datetime) -> MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder: + """ + Provides operations to call the summary method. + param end_date_time: Usage: endDateTime={endDateTime} + param start_date_time: Usage: startDateTime={startDateTime} + Returns: MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder + """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) + if end_date_time is None: + raise TypeError("end_date_time cannot be null.") + if start_date_time is None: + raise TypeError("start_date_time cannot be null.") + from .microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time.microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder import MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder + + return MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(self.request_adapter, self.path_parameters, end_date_time, start_date_time) + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[SubjectProcessingResultsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ Get subjectProcessingResults from identityGovernance param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +104,7 @@ def with_url(self,raw_url: str) -> SubjectProcessingResultsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SubjectProcessingResultsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SubjectProcessingResultsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/count/count_request_builder.py index 99008e8bce3..e7d18f30b5f 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task/task_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task/task_request_builder.py index 324b53435be..fdca707acda 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task/task_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task/task_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskRequ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Task] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> TaskRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_definition/task_definition_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_definition/task_definition_request_builder.py index ad3e05e08a3..2163f6cc744 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_definition/task_definition_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_definition/task_definition_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskDefi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskDefinition] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> TaskDefinitionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskDefinitionRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskDefinitionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/count/count_request_builder.py index 3a8668b21bf..9bf18d0d199 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py index 24cfedc4a75..6f361ce7428 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: ResumePostRequestBody, request_configuration: Optional Returns: None Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: ResumePostRequestBody, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceResumeRequest param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphIdentityGovernanceResumeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphIdentityGovernanceResumeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py index 42d7a0982fa..e8d61a7385f 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxS param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def patch(self,body: MailboxSettings, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -79,6 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -91,6 +94,7 @@ def to_patch_request_information(self,body: MailboxSettings, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -105,6 +109,7 @@ def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxSettingsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py index 6c5219dd4d2..872203bf4a8 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py index e653e93f950..5935a8f08c3 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/item/subject/subject_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/item/subject/subject_request_builder.py index 3888af69723..89b55931884 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/item/subject/subject_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/item/subject/subject_request_builder.py @@ -38,6 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SubjectR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -58,6 +59,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -69,6 +71,7 @@ def with_url(self,raw_url: str) -> SubjectRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SubjectRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SubjectRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/item/task/task_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/item/task/task_request_builder.py index d702e2f6f0e..43b259c17bb 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/item/task/task_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/item/task/task_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskRequ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Task] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> TaskRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/item/task_processing_result_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/item/task_processing_result_item_request_builder.py index 6938f4cd9cc..6e1ff29bee5 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/item/task_processing_result_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/item/task_processing_result_item_request_builder.py @@ -39,6 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskProc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskProcessingResult] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,6 +72,7 @@ def with_url(self,raw_url: str) -> TaskProcessingResultItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskProcessingResultItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/task_processing_results_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/task_processing_results_request_builder.py index 174458d45b8..78318b634a7 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/task_processing_results_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_processing_results/task_processing_results_request_builder.py @@ -38,6 +38,7 @@ def by_task_processing_result_id(self,task_processing_result_id: str) -> TaskPro param task_processing_result_id: The unique identifier of taskProcessingResult Returns: TaskProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if task_processing_result_id is None: raise TypeError("task_processing_result_id cannot be null.") from .item.task_processing_result_item_request_builder import TaskProcessingResultItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskProc Returns: Optional[TaskProcessingResultCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-taskreport-list-taskprocessingresults?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -73,6 +75,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -84,6 +87,7 @@ def with_url(self,raw_url: str) -> TaskProcessingResultsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskProcessingResultsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskProcessingResultsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_report_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_report_item_request_builder.py index dcb14cafa51..c6a6b274e1d 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_report_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/item/task_report_item_request_builder.py @@ -39,6 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskRepo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskReport] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,6 +72,7 @@ def with_url(self,raw_url: str) -> TaskReportItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskReportItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskReportItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py index d7e48d4b0ba..73dc8eed9d4 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py @@ -42,6 +42,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskReportSummary] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -62,6 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceSummaryWithSt param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/task_reports_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/task_reports_request_builder.py index 550e871cd56..4a18542aa09 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/task_reports_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/task_reports/task_reports_request_builder.py @@ -40,6 +40,7 @@ def by_task_report_id(self,task_report_id: str) -> TaskReportItemRequestBuilder: param task_report_id: The unique identifier of taskReport Returns: TaskReportItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if task_report_id is None: raise TypeError("task_report_id cannot be null.") from .item.task_report_item_request_builder import TaskReportItemRequestBuilder @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskRepo Returns: Optional[TaskReportCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-workflow-list-taskreports?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ def microsoft_graph_identity_governance_summary_with_start_date_time_with_end_da param start_date_time: Usage: startDateTime={startDateTime} Returns: MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if end_date_time is None: raise TypeError("end_date_time cannot be null.") if start_date_time is None: @@ -90,6 +93,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -101,6 +105,7 @@ def with_url(self,raw_url: str) -> TaskReportsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskReportsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskReportsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/count/count_request_builder.py index 44831f41bd7..797d371cbfd 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_item_request_builder.py index d3ed1b7ba48..8290f2880e5 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskItem param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Task] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: Task, request_configuration: Optional[RequestConfigur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Task] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: Task, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> TaskItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/count/count_request_builder.py index a31fb675639..cc33b2545fe 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py index 947e036d06d..05fe51ef6d7 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: ResumePostRequestBody, request_configuration: Optional Returns: None Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: ResumePostRequestBody, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceResumeRequest param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphIdentityGovernanceResumeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphIdentityGovernanceResumeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py index b8745a4df58..a5fcc66872f 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxS param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def patch(self,body: MailboxSettings, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -79,6 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -91,6 +94,7 @@ def to_patch_request_information(self,body: MailboxSettings, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -105,6 +109,7 @@ def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxSettingsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py index a1661f72954..f3538c0235b 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py index abc94d98faa..dd51118260c 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/item/subject/subject_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/item/subject/subject_request_builder.py index 5e24ecd3fc2..9819e4b8a68 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/item/subject/subject_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/item/subject/subject_request_builder.py @@ -38,6 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SubjectR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -58,6 +59,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -69,6 +71,7 @@ def with_url(self,raw_url: str) -> SubjectRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SubjectRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SubjectRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/item/task/task_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/item/task/task_request_builder.py index 9a308b46bde..ddf37961fcb 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/item/task/task_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/item/task/task_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskRequ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Task] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> TaskRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/item/task_processing_result_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/item/task_processing_result_item_request_builder.py index 6f0b6845b71..06cbace35d3 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/item/task_processing_result_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/item/task_processing_result_item_request_builder.py @@ -39,6 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskProc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskProcessingResult] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,6 +72,7 @@ def with_url(self,raw_url: str) -> TaskProcessingResultItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskProcessingResultItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/task_processing_results_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/task_processing_results_request_builder.py index 7ca16e34dce..2feec1975f6 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/task_processing_results_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/item/task_processing_results/task_processing_results_request_builder.py @@ -38,6 +38,7 @@ def by_task_processing_result_id(self,task_processing_result_id: str) -> TaskPro param task_processing_result_id: The unique identifier of taskProcessingResult Returns: TaskProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if task_processing_result_id is None: raise TypeError("task_processing_result_id cannot be null.") from .item.task_processing_result_item_request_builder import TaskProcessingResultItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskProc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskProcessingResultCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> TaskProcessingResultsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskProcessingResultsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskProcessingResultsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/tasks_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/tasks_request_builder.py index b68f6678d2c..e5809917dc6 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/tasks_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/tasks/tasks_request_builder.py @@ -39,6 +39,7 @@ def by_task_id(self,task_id: str) -> TaskItemRequestBuilder: param task_id: The unique identifier of task Returns: TaskItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if task_id is None: raise TypeError("task_id cannot be null.") from .item.task_item_request_builder import TaskItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TasksReq Returns: Optional[TaskCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-workflow-list-task?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: Task, request_configuration: Optional[RequestConfigura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Task] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: Task, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> TasksRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TasksRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TasksRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/count/count_request_builder.py index c2d476456c6..86b0dad32b0 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/reprocessed_runs/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/reprocessed_runs/count/count_request_builder.py index 6039aa9f08a..520df0e4e69 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/reprocessed_runs/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/reprocessed_runs/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/reprocessed_runs/item/run_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/reprocessed_runs/item/run_item_request_builder.py index 5a5c724f696..1fea1d7be33 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/reprocessed_runs/item/run_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/reprocessed_runs/item/run_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RunItemR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Run] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RunItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RunItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RunItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py index bd82721094d..d6c0d65b84c 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py @@ -38,6 +38,7 @@ def by_run_id(self,run_id: str) -> RunItemRequestBuilder: param run_id: The unique identifier of run Returns: RunItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if run_id is None: raise TypeError("run_id cannot be null.") from .item.run_item_request_builder import RunItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Reproces param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RunCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> ReprocessedRunsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ReprocessedRunsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ReprocessedRunsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py index 7898161b64d..5ef2ca4195d 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxS param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def patch(self,body: MailboxSettings, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -79,6 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -91,6 +94,7 @@ def to_patch_request_information(self,body: MailboxSettings, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -105,6 +109,7 @@ def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxSettingsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py index ea024ef7d9a..27ebaa062d1 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py index d9279fabd6b..3f0b8497767 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/subject/subject_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/subject/subject_request_builder.py index 4e6ec6121e5..6f4c124c30a 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/subject/subject_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/subject/subject_request_builder.py @@ -38,6 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SubjectR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -58,6 +59,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -69,6 +71,7 @@ def with_url(self,raw_url: str) -> SubjectRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SubjectRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SubjectRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/count/count_request_builder.py index f398692b26b..2eb65753b03 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py index 8d692e107e3..09dc77b71c8 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: ResumePostRequestBody, request_configuration: Optional Returns: None Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: ResumePostRequestBody, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceResumeRequest param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphIdentityGovernanceResumeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphIdentityGovernanceResumeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py index 83f932c5b1b..082a155123f 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxS param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def patch(self,body: MailboxSettings, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -79,6 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -91,6 +94,7 @@ def to_patch_request_information(self,body: MailboxSettings, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -105,6 +109,7 @@ def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxSettingsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py index ce4e4bcd806..5f7877dcc37 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py index 85bf25c9be9..614c87db7af 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/item/subject/subject_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/item/subject/subject_request_builder.py index b8ed4419653..89e9f65c3c2 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/item/subject/subject_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/item/subject/subject_request_builder.py @@ -38,6 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SubjectR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -58,6 +59,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -69,6 +71,7 @@ def with_url(self,raw_url: str) -> SubjectRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SubjectRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SubjectRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/item/task/task_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/item/task/task_request_builder.py index 10aff8b55c0..adc10aa5b61 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/item/task/task_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/item/task/task_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskRequ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Task] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> TaskRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/item/task_processing_result_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/item/task_processing_result_item_request_builder.py index 2c961adda79..14f09dd2f16 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/item/task_processing_result_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/item/task_processing_result_item_request_builder.py @@ -39,6 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskProc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskProcessingResult] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,6 +72,7 @@ def with_url(self,raw_url: str) -> TaskProcessingResultItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskProcessingResultItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/task_processing_results_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/task_processing_results_request_builder.py index 8398ef6c4e9..c625e10b61a 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/task_processing_results_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/task_processing_results/task_processing_results_request_builder.py @@ -38,6 +38,7 @@ def by_task_processing_result_id(self,task_processing_result_id: str) -> TaskPro param task_processing_result_id: The unique identifier of taskProcessingResult Returns: TaskProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if task_processing_result_id is None: raise TypeError("task_processing_result_id cannot be null.") from .item.task_processing_result_item_request_builder import TaskProcessingResultItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskProc Returns: Optional[TaskProcessingResultCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-userprocessingresult-list-taskprocessingresults?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -73,6 +75,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -84,6 +87,7 @@ def with_url(self,raw_url: str) -> TaskProcessingResultsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskProcessingResultsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskProcessingResultsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/user_processing_result_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/user_processing_result_item_request_builder.py index b49d68f8220..4105f991f09 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/user_processing_result_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/user_processing_result_item_request_builder.py @@ -39,6 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UserProc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserProcessingResult] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,6 +72,7 @@ def with_url(self,raw_url: str) -> UserProcessingResultItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UserProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UserProcessingResultItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py index 6ff4e1d5f3e..6c7fd4bcffa 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time/microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.py @@ -42,6 +42,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserSummary] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -62,6 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceSummaryWithSt param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/user_processing_results_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/user_processing_results_request_builder.py index fa29331fa86..75e525c09ce 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/user_processing_results_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/user_processing_results_request_builder.py @@ -40,6 +40,7 @@ def by_user_processing_result_id(self,user_processing_result_id: str) -> UserPro param user_processing_result_id: The unique identifier of userProcessingResult Returns: UserProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if user_processing_result_id is None: raise TypeError("user_processing_result_id cannot be null.") from .item.user_processing_result_item_request_builder import UserProcessingResultItemRequestBuilder @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UserProc Returns: Optional[UserProcessingResultCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-workflow-list-userprocessingresults?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ def microsoft_graph_identity_governance_summary_with_start_date_time_with_end_da param start_date_time: Usage: startDateTime={startDateTime} Returns: MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if end_date_time is None: raise TypeError("end_date_time cannot be null.") if start_date_time is None: @@ -90,6 +93,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -101,6 +105,7 @@ def with_url(self,raw_url: str) -> UserProcessingResultsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UserProcessingResultsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UserProcessingResultsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/count/count_request_builder.py index 9256b9ab804..d0a2e7c8b5d 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/administration_scope_targets/administration_scope_targets_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/administration_scope_targets/administration_scope_targets_request_builder.py index 852ecb7fce7..1b0d09fe412 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/administration_scope_targets/administration_scope_targets_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/administration_scope_targets/administration_scope_targets_request_builder.py @@ -38,6 +38,7 @@ def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItem param directory_object_id: The unique identifier of directoryObject Returns: DirectoryObjectItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if directory_object_id is None: raise TypeError("directory_object_id cannot be null.") from .item.directory_object_item_request_builder import DirectoryObjectItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Administ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObjectCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> AdministrationScopeTargetsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AdministrationScopeTargetsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AdministrationScopeTargetsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/administration_scope_targets/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/administration_scope_targets/count/count_request_builder.py index 0acba4dfce2..e730b630d9a 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/administration_scope_targets/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/administration_scope_targets/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/administration_scope_targets/item/directory_object_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/administration_scope_targets/item/directory_object_item_request_builder.py index 14ff62dd0cc..992b982dae4 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/administration_scope_targets/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/administration_scope_targets/item/directory_object_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> DirectoryObjectItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryObjectItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryObjectItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/created_by/created_by_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/created_by/created_by_request_builder.py index 8a586150235..bc027801897 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/created_by/created_by_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/created_by/created_by_request_builder.py @@ -38,6 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CreatedB param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -58,6 +59,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -69,6 +71,7 @@ def with_url(self,raw_url: str) -> CreatedByRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CreatedByRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CreatedByRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/created_by/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/created_by/mailbox_settings/mailbox_settings_request_builder.py index 9b96e719624..f508864f05b 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/created_by/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/created_by/mailbox_settings/mailbox_settings_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxS param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def patch(self,body: MailboxSettings, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -79,6 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -91,6 +94,7 @@ def to_patch_request_information(self,body: MailboxSettings, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -105,6 +109,7 @@ def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxSettingsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/created_by/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/created_by/service_provisioning_errors/count/count_request_builder.py index 96839250f01..1b7818ba077 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/created_by/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/created_by/service_provisioning_errors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/created_by/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/created_by/service_provisioning_errors/service_provisioning_errors_request_builder.py index e52551616cc..5a983005f78 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/created_by/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/created_by/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/last_modified_by/last_modified_by_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/last_modified_by/last_modified_by_request_builder.py index 5dd721fad90..a902e1ea7bc 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/last_modified_by/last_modified_by_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/last_modified_by/last_modified_by_request_builder.py @@ -38,6 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[LastModi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -58,6 +59,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -69,6 +71,7 @@ def with_url(self,raw_url: str) -> LastModifiedByRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: LastModifiedByRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return LastModifiedByRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/last_modified_by/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/last_modified_by/mailbox_settings/mailbox_settings_request_builder.py index b5788870558..a219d55c354 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/last_modified_by/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/last_modified_by/mailbox_settings/mailbox_settings_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxS param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def patch(self,body: MailboxSettings, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -79,6 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -91,6 +94,7 @@ def to_patch_request_information(self,body: MailboxSettings, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -105,6 +109,7 @@ def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxSettingsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py index e472e353603..a28da877df2 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/last_modified_by/service_provisioning_errors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/last_modified_by/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/last_modified_by/service_provisioning_errors/service_provisioning_errors_request_builder.py index c4aa591d28f..51c2f84c1fe 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/last_modified_by/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/last_modified_by/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/count/count_request_builder.py index 042aa686aca..6a17c4f4176 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_item_request_builder.py index 2f4bc36d332..a2fa35af7f1 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskItem Returns: Optional[Task] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-task-get?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: Task, request_configuration: Optional[RequestConfigur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Task] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: Task, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> TaskItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/count/count_request_builder.py index 1f03c3354ba..20a74ccdc4e 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py index 65e51723ca9..682b76584e1 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/item/microsoft_graph_identity_governance_resume/microsoft_graph_identity_governance_resume_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: ResumePostRequestBody, request_configuration: Optional Returns: None Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: ResumePostRequestBody, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceResumeRequest param raw_url: The raw URL to use for the request builder. Returns: MicrosoftGraphIdentityGovernanceResumeRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MicrosoftGraphIdentityGovernanceResumeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py index 60630be7b77..6f3cdcc3674 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/item/subject/mailbox_settings/mailbox_settings_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxS param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def patch(self,body: MailboxSettings, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxSettings] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -79,6 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -91,6 +94,7 @@ def to_patch_request_information(self,body: MailboxSettings, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -105,6 +109,7 @@ def with_url(self,raw_url: str) -> MailboxSettingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxSettingsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py index ff54da3ee17..f6e31f98977 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py index cb4fe444b31..82f61c6a2c9 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/item/subject/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/item/subject/subject_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/item/subject/subject_request_builder.py index 7217d33e871..6fccb495049 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/item/subject/subject_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/item/subject/subject_request_builder.py @@ -38,6 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SubjectR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -58,6 +59,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -69,6 +71,7 @@ def with_url(self,raw_url: str) -> SubjectRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SubjectRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SubjectRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/item/task/task_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/item/task/task_request_builder.py index c4669cab6c6..4a77396e3e6 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/item/task/task_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/item/task/task_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskRequ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Task] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> TaskRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/item/task_processing_result_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/item/task_processing_result_item_request_builder.py index 79f8a4da2bf..c09d2d8b9c2 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/item/task_processing_result_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/item/task_processing_result_item_request_builder.py @@ -39,6 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskProc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskProcessingResult] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,6 +72,7 @@ def with_url(self,raw_url: str) -> TaskProcessingResultItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskProcessingResultItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/task_processing_results_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/task_processing_results_request_builder.py index 19ac7c75249..1fcfbec0b07 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/task_processing_results_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/item/task_processing_results/task_processing_results_request_builder.py @@ -38,6 +38,7 @@ def by_task_processing_result_id(self,task_processing_result_id: str) -> TaskPro param task_processing_result_id: The unique identifier of taskProcessingResult Returns: TaskProcessingResultItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if task_processing_result_id is None: raise TypeError("task_processing_result_id cannot be null.") from .item.task_processing_result_item_request_builder import TaskProcessingResultItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskProc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskProcessingResultCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> TaskProcessingResultsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskProcessingResultsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskProcessingResultsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/tasks_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/tasks_request_builder.py index 88994d22ebb..a4f7568e652 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/tasks_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/tasks/tasks_request_builder.py @@ -39,6 +39,7 @@ def by_task_id(self,task_id: str) -> TaskItemRequestBuilder: param task_id: The unique identifier of task Returns: TaskItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if task_id is None: raise TypeError("task_id cannot be null.") from .item.task_item_request_builder import TaskItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TasksReq Returns: Optional[TaskCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-workflowversion-list-tasks?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: Task, request_configuration: Optional[RequestConfigura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Task] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: Task, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> TasksRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TasksRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TasksRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/workflow_version_version_number_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/workflow_version_version_number_item_request_builder.py index f7645c6dd26..fe35eedd86d 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/workflow_version_version_number_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/item/workflow_version_version_number_item_request_builder.py @@ -41,6 +41,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Workflow Returns: Optional[WorkflowVersion] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-workflowversion-get?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -61,6 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -72,6 +74,7 @@ def with_url(self,raw_url: str) -> WorkflowVersionVersionNumberItemRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: WorkflowVersionVersionNumberItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return WorkflowVersionVersionNumberItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/versions_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/versions_request_builder.py index 513af568c3a..c7d30300467 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/versions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/versions/versions_request_builder.py @@ -38,6 +38,7 @@ def by_workflow_version_version_number(self,workflow_version_version_number: int param workflow_version_version_number: The unique identifier of workflowVersion Returns: WorkflowVersionVersionNumberItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if workflow_version_version_number is None: raise TypeError("workflow_version_version_number cannot be null.") from .item.workflow_version_version_number_item_request_builder import WorkflowVersionVersionNumberItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Versions Returns: Optional[WorkflowVersionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-workflow-list-versions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -73,6 +75,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -84,6 +87,7 @@ def with_url(self,raw_url: str) -> VersionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: VersionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return VersionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/workflow_item_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/workflow_item_request_builder.py index 263ae2f2fa7..a511a4a7cf7 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/workflow_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/item/workflow_item_request_builder.py @@ -57,6 +57,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-workflow-delete?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -76,6 +77,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Workflow Returns: Optional[Workflow] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-workflow-get?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -98,6 +100,7 @@ async def patch(self,body: Workflow, request_configuration: Optional[RequestConf Returns: Optional[Workflow] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-workflow-update?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -120,6 +123,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -131,6 +135,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -143,6 +148,7 @@ def to_patch_request_information(self,body: Workflow, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -157,6 +163,7 @@ def with_url(self,raw_url: str) -> WorkflowItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: WorkflowItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return WorkflowItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/workflows_request_builder.py b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/workflows_request_builder.py index 136e1667ac4..6de74d8fbf1 100644 --- a/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/workflows_request_builder.py +++ b/msgraph_beta/generated/identity_governance/lifecycle_workflows/workflows/workflows_request_builder.py @@ -39,6 +39,7 @@ def by_workflow_id(self,workflow_id: str) -> WorkflowItemRequestBuilder: param workflow_id: The unique identifier of workflow Returns: WorkflowItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if workflow_id is None: raise TypeError("workflow_id cannot be null.") from .item.workflow_item_request_builder import WorkflowItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Workflow Returns: Optional[WorkflowCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-lifecycleworkflowscontainer-list-workflows?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def post(self,body: Workflow, request_configuration: Optional[RequestConfi Returns: Optional[Workflow] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-lifecycleworkflowscontainer-post-workflows?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -98,6 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_post_request_information(self,body: Workflow, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -124,6 +129,7 @@ def with_url(self,raw_url: str) -> WorkflowsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: WorkflowsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return WorkflowsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/permissions_analytics/aws/aws_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_analytics/aws/aws_request_builder.py index 3329d70e73f..1f97b6c6b72 100644 --- a/msgraph_beta/generated/identity_governance/permissions_analytics/aws/aws_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_analytics/aws/aws_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AwsReque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionsAnalytics] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: PermissionsAnalytics, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionsAnalytics] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: PermissionsAnalytics, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> AwsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AwsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AwsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/permissions_analytics/aws/findings/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_analytics/aws/findings/count/count_request_builder.py index 848d3c9cc04..2bfb50ba222 100644 --- a/msgraph_beta/generated/identity_governance/permissions_analytics/aws/findings/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_analytics/aws/findings/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/permissions_analytics/aws/findings/findings_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_analytics/aws/findings/findings_request_builder.py index 944731bcbf2..eaf6566c889 100644 --- a/msgraph_beta/generated/identity_governance/permissions_analytics/aws/findings/findings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_analytics/aws/findings/findings_request_builder.py @@ -39,6 +39,7 @@ def by_finding_id(self,finding_id: str) -> FindingItemRequestBuilder: param finding_id: The unique identifier of finding Returns: FindingItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if finding_id is None: raise TypeError("finding_id cannot be null.") from .item.finding_item_request_builder import FindingItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Findings param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FindingCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: Finding, request_configuration: Optional[RequestConfig param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Finding] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: Finding, request_configuration: Optio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> FindingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FindingsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FindingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/permissions_analytics/aws/findings/item/finding_item_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_analytics/aws/findings/item/finding_item_request_builder.py index 38097985d2e..6c2b896d107 100644 --- a/msgraph_beta/generated/identity_governance/permissions_analytics/aws/findings/item/finding_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_analytics/aws/findings/item/finding_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FindingI param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Finding] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: Finding, request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Finding] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: Finding, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> FindingItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FindingItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FindingItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/permissions_analytics/aws/permissions_creep_index_distributions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_analytics/aws/permissions_creep_index_distributions/count/count_request_builder.py index 0889cb572f4..5082bd2582b 100644 --- a/msgraph_beta/generated/identity_governance/permissions_analytics/aws/permissions_creep_index_distributions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_analytics/aws/permissions_creep_index_distributions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/permissions_analytics/aws/permissions_creep_index_distributions/item/authorization_system/authorization_system_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_analytics/aws/permissions_creep_index_distributions/item/authorization_system/authorization_system_request_builder.py index 363d32ce5d8..5362b333b00 100644 --- a/msgraph_beta/generated/identity_governance/permissions_analytics/aws/permissions_creep_index_distributions/item/authorization_system/authorization_system_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_analytics/aws/permissions_creep_index_distributions/item/authorization_system/authorization_system_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Authoriz param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthorizationSystem] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AuthorizationSystemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AuthorizationSystemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AuthorizationSystemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/permissions_analytics/aws/permissions_creep_index_distributions/item/permissions_creep_index_distribution_item_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_analytics/aws/permissions_creep_index_distributions/item/permissions_creep_index_distribution_item_request_builder.py index a844d91d051..e8fb45e09f3 100644 --- a/msgraph_beta/generated/identity_governance/permissions_analytics/aws/permissions_creep_index_distributions/item/permissions_creep_index_distribution_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_analytics/aws/permissions_creep_index_distributions/item/permissions_creep_index_distribution_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Permissi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionsCreepIndexDistribution] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: PermissionsCreepIndexDistribution, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionsCreepIndexDistribution] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: PermissionsCreepIndexDistribution, r param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> PermissionsCreepIndexDistributionItemRequestB param raw_url: The raw URL to use for the request builder. Returns: PermissionsCreepIndexDistributionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PermissionsCreepIndexDistributionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/permissions_analytics/aws/permissions_creep_index_distributions/permissions_creep_index_distributions_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_analytics/aws/permissions_creep_index_distributions/permissions_creep_index_distributions_request_builder.py index 7fa7be2ea7d..382fc57c9cf 100644 --- a/msgraph_beta/generated/identity_governance/permissions_analytics/aws/permissions_creep_index_distributions/permissions_creep_index_distributions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_analytics/aws/permissions_creep_index_distributions/permissions_creep_index_distributions_request_builder.py @@ -39,6 +39,7 @@ def by_permissions_creep_index_distribution_id(self,permissions_creep_index_dist param permissions_creep_index_distribution_id: The unique identifier of permissionsCreepIndexDistribution Returns: PermissionsCreepIndexDistributionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if permissions_creep_index_distribution_id is None: raise TypeError("permissions_creep_index_distribution_id cannot be null.") from .item.permissions_creep_index_distribution_item_request_builder import PermissionsCreepIndexDistributionItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Permissi Returns: Optional[PermissionsCreepIndexDistributionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/permissionsanalytics-list-permissionscreepindexdistributions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: PermissionsCreepIndexDistribution, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionsCreepIndexDistribution] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: PermissionsCreepIndexDistribution, re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> PermissionsCreepIndexDistributionsRequestBuil param raw_url: The raw URL to use for the request builder. Returns: PermissionsCreepIndexDistributionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PermissionsCreepIndexDistributionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/permissions_analytics/azure/azure_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_analytics/azure/azure_request_builder.py index 0d7a2dc3aa0..67a68012613 100644 --- a/msgraph_beta/generated/identity_governance/permissions_analytics/azure/azure_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_analytics/azure/azure_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AzureReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionsAnalytics] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: PermissionsAnalytics, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionsAnalytics] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: PermissionsAnalytics, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> AzureRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AzureRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AzureRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/permissions_analytics/azure/findings/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_analytics/azure/findings/count/count_request_builder.py index 5c4ac4def91..ea6246fda53 100644 --- a/msgraph_beta/generated/identity_governance/permissions_analytics/azure/findings/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_analytics/azure/findings/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/permissions_analytics/azure/findings/findings_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_analytics/azure/findings/findings_request_builder.py index 6d153fbae70..87d1896ed92 100644 --- a/msgraph_beta/generated/identity_governance/permissions_analytics/azure/findings/findings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_analytics/azure/findings/findings_request_builder.py @@ -39,6 +39,7 @@ def by_finding_id(self,finding_id: str) -> FindingItemRequestBuilder: param finding_id: The unique identifier of finding Returns: FindingItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if finding_id is None: raise TypeError("finding_id cannot be null.") from .item.finding_item_request_builder import FindingItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Findings param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FindingCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: Finding, request_configuration: Optional[RequestConfig param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Finding] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: Finding, request_configuration: Optio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> FindingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FindingsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FindingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/permissions_analytics/azure/findings/item/finding_item_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_analytics/azure/findings/item/finding_item_request_builder.py index fd561b821bd..ee4f16a79e5 100644 --- a/msgraph_beta/generated/identity_governance/permissions_analytics/azure/findings/item/finding_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_analytics/azure/findings/item/finding_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FindingI param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Finding] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: Finding, request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Finding] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: Finding, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> FindingItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FindingItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FindingItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/permissions_analytics/azure/permissions_creep_index_distributions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_analytics/azure/permissions_creep_index_distributions/count/count_request_builder.py index 2e774391813..7bad70cca4d 100644 --- a/msgraph_beta/generated/identity_governance/permissions_analytics/azure/permissions_creep_index_distributions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_analytics/azure/permissions_creep_index_distributions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/permissions_analytics/azure/permissions_creep_index_distributions/item/authorization_system/authorization_system_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_analytics/azure/permissions_creep_index_distributions/item/authorization_system/authorization_system_request_builder.py index 9f7049bd7be..00dc8b78b9c 100644 --- a/msgraph_beta/generated/identity_governance/permissions_analytics/azure/permissions_creep_index_distributions/item/authorization_system/authorization_system_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_analytics/azure/permissions_creep_index_distributions/item/authorization_system/authorization_system_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Authoriz param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthorizationSystem] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AuthorizationSystemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AuthorizationSystemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AuthorizationSystemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/permissions_analytics/azure/permissions_creep_index_distributions/item/permissions_creep_index_distribution_item_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_analytics/azure/permissions_creep_index_distributions/item/permissions_creep_index_distribution_item_request_builder.py index 2a3a09dee2f..e8afd0be0a0 100644 --- a/msgraph_beta/generated/identity_governance/permissions_analytics/azure/permissions_creep_index_distributions/item/permissions_creep_index_distribution_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_analytics/azure/permissions_creep_index_distributions/item/permissions_creep_index_distribution_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Permissi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionsCreepIndexDistribution] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: PermissionsCreepIndexDistribution, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionsCreepIndexDistribution] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: PermissionsCreepIndexDistribution, r param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> PermissionsCreepIndexDistributionItemRequestB param raw_url: The raw URL to use for the request builder. Returns: PermissionsCreepIndexDistributionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PermissionsCreepIndexDistributionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/permissions_analytics/azure/permissions_creep_index_distributions/permissions_creep_index_distributions_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_analytics/azure/permissions_creep_index_distributions/permissions_creep_index_distributions_request_builder.py index 0c3e0fb1d98..15cdd8ce662 100644 --- a/msgraph_beta/generated/identity_governance/permissions_analytics/azure/permissions_creep_index_distributions/permissions_creep_index_distributions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_analytics/azure/permissions_creep_index_distributions/permissions_creep_index_distributions_request_builder.py @@ -39,6 +39,7 @@ def by_permissions_creep_index_distribution_id(self,permissions_creep_index_dist param permissions_creep_index_distribution_id: The unique identifier of permissionsCreepIndexDistribution Returns: PermissionsCreepIndexDistributionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if permissions_creep_index_distribution_id is None: raise TypeError("permissions_creep_index_distribution_id cannot be null.") from .item.permissions_creep_index_distribution_item_request_builder import PermissionsCreepIndexDistributionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Permissi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionsCreepIndexDistributionCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: PermissionsCreepIndexDistribution, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionsCreepIndexDistribution] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: PermissionsCreepIndexDistribution, re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> PermissionsCreepIndexDistributionsRequestBuil param raw_url: The raw URL to use for the request builder. Returns: PermissionsCreepIndexDistributionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PermissionsCreepIndexDistributionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/permissions_analytics/gcp/findings/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_analytics/gcp/findings/count/count_request_builder.py index 6ffa512456c..1a2e210e34a 100644 --- a/msgraph_beta/generated/identity_governance/permissions_analytics/gcp/findings/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_analytics/gcp/findings/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/permissions_analytics/gcp/findings/findings_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_analytics/gcp/findings/findings_request_builder.py index c6e78d8cdee..edffc757692 100644 --- a/msgraph_beta/generated/identity_governance/permissions_analytics/gcp/findings/findings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_analytics/gcp/findings/findings_request_builder.py @@ -39,6 +39,7 @@ def by_finding_id(self,finding_id: str) -> FindingItemRequestBuilder: param finding_id: The unique identifier of finding Returns: FindingItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if finding_id is None: raise TypeError("finding_id cannot be null.") from .item.finding_item_request_builder import FindingItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Findings param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FindingCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: Finding, request_configuration: Optional[RequestConfig param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Finding] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: Finding, request_configuration: Optio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> FindingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FindingsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FindingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/permissions_analytics/gcp/findings/item/finding_item_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_analytics/gcp/findings/item/finding_item_request_builder.py index 8a01a8e5165..ca0a3f0018f 100644 --- a/msgraph_beta/generated/identity_governance/permissions_analytics/gcp/findings/item/finding_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_analytics/gcp/findings/item/finding_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FindingI param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Finding] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: Finding, request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Finding] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: Finding, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> FindingItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FindingItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FindingItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/permissions_analytics/gcp/gcp_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_analytics/gcp/gcp_request_builder.py index 34ccdc99276..17e9c1debfc 100644 --- a/msgraph_beta/generated/identity_governance/permissions_analytics/gcp/gcp_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_analytics/gcp/gcp_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GcpReque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionsAnalytics] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: PermissionsAnalytics, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionsAnalytics] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: PermissionsAnalytics, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> GcpRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GcpRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GcpRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/permissions_analytics/gcp/permissions_creep_index_distributions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_analytics/gcp/permissions_creep_index_distributions/count/count_request_builder.py index 6370cf5d9ac..b43c353c9a1 100644 --- a/msgraph_beta/generated/identity_governance/permissions_analytics/gcp/permissions_creep_index_distributions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_analytics/gcp/permissions_creep_index_distributions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/permissions_analytics/gcp/permissions_creep_index_distributions/item/authorization_system/authorization_system_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_analytics/gcp/permissions_creep_index_distributions/item/authorization_system/authorization_system_request_builder.py index 80d2e042dd1..db9e94d38be 100644 --- a/msgraph_beta/generated/identity_governance/permissions_analytics/gcp/permissions_creep_index_distributions/item/authorization_system/authorization_system_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_analytics/gcp/permissions_creep_index_distributions/item/authorization_system/authorization_system_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Authoriz param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthorizationSystem] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AuthorizationSystemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AuthorizationSystemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AuthorizationSystemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/permissions_analytics/gcp/permissions_creep_index_distributions/item/permissions_creep_index_distribution_item_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_analytics/gcp/permissions_creep_index_distributions/item/permissions_creep_index_distribution_item_request_builder.py index 2264e3f920e..963af9c68a3 100644 --- a/msgraph_beta/generated/identity_governance/permissions_analytics/gcp/permissions_creep_index_distributions/item/permissions_creep_index_distribution_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_analytics/gcp/permissions_creep_index_distributions/item/permissions_creep_index_distribution_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Permissi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionsCreepIndexDistribution] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: PermissionsCreepIndexDistribution, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionsCreepIndexDistribution] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: PermissionsCreepIndexDistribution, r param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> PermissionsCreepIndexDistributionItemRequestB param raw_url: The raw URL to use for the request builder. Returns: PermissionsCreepIndexDistributionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PermissionsCreepIndexDistributionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/permissions_analytics/gcp/permissions_creep_index_distributions/permissions_creep_index_distributions_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_analytics/gcp/permissions_creep_index_distributions/permissions_creep_index_distributions_request_builder.py index f1992e7baa2..99e3bd5ba5b 100644 --- a/msgraph_beta/generated/identity_governance/permissions_analytics/gcp/permissions_creep_index_distributions/permissions_creep_index_distributions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_analytics/gcp/permissions_creep_index_distributions/permissions_creep_index_distributions_request_builder.py @@ -39,6 +39,7 @@ def by_permissions_creep_index_distribution_id(self,permissions_creep_index_dist param permissions_creep_index_distribution_id: The unique identifier of permissionsCreepIndexDistribution Returns: PermissionsCreepIndexDistributionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if permissions_creep_index_distribution_id is None: raise TypeError("permissions_creep_index_distribution_id cannot be null.") from .item.permissions_creep_index_distribution_item_request_builder import PermissionsCreepIndexDistributionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Permissi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionsCreepIndexDistributionCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: PermissionsCreepIndexDistribution, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionsCreepIndexDistribution] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: PermissionsCreepIndexDistribution, re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> PermissionsCreepIndexDistributionsRequestBuil param raw_url: The raw URL to use for the request builder. Returns: PermissionsCreepIndexDistributionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PermissionsCreepIndexDistributionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/permissions_analytics/permissions_analytics_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_analytics/permissions_analytics_request_builder.py index b11fce16737..fbaca6edf97 100644 --- a/msgraph_beta/generated/identity_governance/permissions_analytics/permissions_analytics_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_analytics/permissions_analytics_request_builder.py @@ -39,6 +39,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Permissi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionsAnalyticsAggregation] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,6 +80,7 @@ async def patch(self,body: PermissionsAnalyticsAggregation, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionsAnalyticsAggregation] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,6 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -111,6 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -123,6 +128,7 @@ def to_patch_request_information(self,body: PermissionsAnalyticsAggregation, req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -137,6 +143,7 @@ def with_url(self,raw_url: str) -> PermissionsAnalyticsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PermissionsAnalyticsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PermissionsAnalyticsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/permissions_management/permissions_management_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_management/permissions_management_request_builder.py index 9bd74f22155..db90ea7e3c5 100644 --- a/msgraph_beta/generated/identity_governance/permissions_management/permissions_management_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_management/permissions_management_request_builder.py @@ -39,6 +39,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Permissi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionsManagement] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,6 +80,7 @@ async def patch(self,body: PermissionsManagement, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionsManagement] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,6 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -111,6 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -123,6 +128,7 @@ def to_patch_request_information(self,body: PermissionsManagement, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -137,6 +143,7 @@ def with_url(self,raw_url: str) -> PermissionsManagementRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PermissionsManagementRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PermissionsManagementRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/permissions_management/permissions_request_changes/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_management/permissions_request_changes/count/count_request_builder.py index 9f2bea7ca37..09d1b796758 100644 --- a/msgraph_beta/generated/identity_governance/permissions_management/permissions_request_changes/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_management/permissions_request_changes/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/permissions_management/permissions_request_changes/item/permissions_request_change_item_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_management/permissions_request_changes/item/permissions_request_change_item_request_builder.py index 94ca6abd1ed..921cbef6cc7 100644 --- a/msgraph_beta/generated/identity_governance/permissions_management/permissions_request_changes/item/permissions_request_change_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_management/permissions_request_changes/item/permissions_request_change_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Permissi Returns: Optional[PermissionsRequestChange] Find more info here: https://learn.microsoft.com/graph/api/permissionsrequestchange-get?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: PermissionsRequestChange, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionsRequestChange] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: PermissionsRequestChange, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> PermissionsRequestChangeItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PermissionsRequestChangeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PermissionsRequestChangeItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/permissions_management/permissions_request_changes/permissions_request_changes_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_management/permissions_request_changes/permissions_request_changes_request_builder.py index 5cb1726ce5e..6579978d377 100644 --- a/msgraph_beta/generated/identity_governance/permissions_management/permissions_request_changes/permissions_request_changes_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_management/permissions_request_changes/permissions_request_changes_request_builder.py @@ -39,6 +39,7 @@ def by_permissions_request_change_id(self,permissions_request_change_id: str) -> param permissions_request_change_id: The unique identifier of permissionsRequestChange Returns: PermissionsRequestChangeItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if permissions_request_change_id is None: raise TypeError("permissions_request_change_id cannot be null.") from .item.permissions_request_change_item_request_builder import PermissionsRequestChangeItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Permissi Returns: Optional[PermissionsRequestChangeCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/permissionsmanagement-list-permissionsrequestchanges?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: PermissionsRequestChange, request_configuration: Optio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionsRequestChange] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: PermissionsRequestChange, request_con param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> PermissionsRequestChangesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PermissionsRequestChangesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PermissionsRequestChangesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_approvals/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_approvals/count/count_request_builder.py index f6749e7379b..ab0fd0411e7 100644 --- a/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_approvals/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_approvals/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 33ea5c91e38..45b3017d98b 100644 --- a/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/approval-filterbycurrentuser?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_approvals/item/approval_item_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_approvals/item/approval_item_request_builder.py index 4a84d1137a9..36c04ee5e5b 100644 --- a/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_approvals/item/approval_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_approvals/item/approval_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Approval param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Approval] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: Approval, request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Approval] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: Approval, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> ApprovalItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ApprovalItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ApprovalItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_approvals/item/steps/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_approvals/item/steps/count/count_request_builder.py index 52977b622a2..08264e36ccf 100644 --- a/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_approvals/item/steps/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_approvals/item/steps/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_approvals/item/steps/item/approval_step_item_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_approvals/item/steps/item/approval_step_item_request_builder.py index cde778af61f..2af61542ce7 100644 --- a/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_approvals/item/steps/item/approval_step_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_approvals/item/steps/item/approval_step_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Approval param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStep] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: ApprovalStep, request_configuration: Optional[Request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStep] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: ApprovalStep, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> ApprovalStepItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ApprovalStepItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ApprovalStepItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_approvals/item/steps/steps_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_approvals/item/steps/steps_request_builder.py index 46511f39419..8ac449db4c4 100644 --- a/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_approvals/item/steps/steps_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_approvals/item/steps/steps_request_builder.py @@ -39,6 +39,7 @@ def by_approval_step_id(self,approval_step_id: str) -> ApprovalStepItemRequestBu param approval_step_id: The unique identifier of approvalStep Returns: ApprovalStepItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if approval_step_id is None: raise TypeError("approval_step_id cannot be null.") from .item.approval_step_item_request_builder import ApprovalStepItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[StepsReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStepCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: ApprovalStep, request_configuration: Optional[RequestC param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStep] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: ApprovalStep, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> StepsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: StepsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return StepsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_approvals/scheduled_permissions_approvals_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_approvals/scheduled_permissions_approvals_request_builder.py index dc1b7f6ebda..28c9849c6d6 100644 --- a/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_approvals/scheduled_permissions_approvals_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_approvals/scheduled_permissions_approvals_request_builder.py @@ -40,6 +40,7 @@ def by_approval_id(self,approval_id: str) -> ApprovalItemRequestBuilder: param approval_id: The unique identifier of approval Returns: ApprovalItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if approval_id is None: raise TypeError("approval_id cannot be null.") from .item.approval_item_request_builder import ApprovalItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -66,6 +68,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Schedule param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -87,6 +90,7 @@ async def post(self,body: Approval, request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Approval] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_post_request_information(self,body: Approval, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> ScheduledPermissionsApprovalsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ScheduledPermissionsApprovalsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ScheduledPermissionsApprovalsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 92f31ad33aa..2a8b34c6e70 100644 --- a/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -39,6 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FilterByCurrentUserWithOnGetResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,6 +72,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_requests/scheduled_permissions_requests_request_builder.py b/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_requests/scheduled_permissions_requests_request_builder.py index d763ccdda9a..2816acd2842 100644 --- a/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_requests/scheduled_permissions_requests_request_builder.py +++ b/msgraph_beta/generated/identity_governance/permissions_management/scheduled_permissions_requests/scheduled_permissions_requests_request_builder.py @@ -38,6 +38,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -50,6 +51,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Schedule param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ScheduledPermissionsRequestCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ async def post(self,body: ScheduledPermissionsRequest, request_configuration: Op Returns: Optional[ScheduledPermissionsRequest] Find more info here: https://learn.microsoft.com/graph/api/permissionsmanagement-post-scheduledpermissionsrequests?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -94,6 +97,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -106,6 +110,7 @@ def to_post_request_information(self,body: ScheduledPermissionsRequest, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -120,6 +125,7 @@ def with_url(self,raw_url: str) -> ScheduledPermissionsRequestsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ScheduledPermissionsRequestsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ScheduledPermissionsRequestsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_approvals/assignment_approvals_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_approvals/assignment_approvals_request_builder.py index c4eb561e06d..60787cdfc93 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_approvals/assignment_approvals_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_approvals/assignment_approvals_request_builder.py @@ -40,6 +40,7 @@ def by_approval_id(self,approval_id: str) -> ApprovalItemRequestBuilder: param approval_id: The unique identifier of approval Returns: ApprovalItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if approval_id is None: raise TypeError("approval_id cannot be null.") from .item.approval_item_request_builder import ApprovalItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -66,6 +68,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Assignme param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -87,6 +90,7 @@ async def post(self,body: Approval, request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Approval] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_post_request_information(self,body: Approval, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> AssignmentApprovalsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AssignmentApprovalsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AssignmentApprovalsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_approvals/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_approvals/count/count_request_builder.py index 8c323806149..307433eadcc 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_approvals/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_approvals/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 7b1b044f602..0eeba006ab6 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/approval-filterbycurrentuser?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_approvals/item/approval_item_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_approvals/item/approval_item_request_builder.py index 3147e74ef7b..a72ca55cc7b 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_approvals/item/approval_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_approvals/item/approval_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Approval param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Approval] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: Approval, request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Approval] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: Approval, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> ApprovalItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ApprovalItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ApprovalItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_approvals/item/steps/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_approvals/item/steps/count/count_request_builder.py index 8358d61e9dc..fc5a6654477 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_approvals/item/steps/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_approvals/item/steps/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_approvals/item/steps/item/approval_step_item_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_approvals/item/steps/item/approval_step_item_request_builder.py index 078a79e70ed..b5518ae2322 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_approvals/item/steps/item/approval_step_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_approvals/item/steps/item/approval_step_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Approval param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStep] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: ApprovalStep, request_configuration: Optional[Request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStep] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: ApprovalStep, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> ApprovalStepItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ApprovalStepItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ApprovalStepItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_approvals/item/steps/steps_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_approvals/item/steps/steps_request_builder.py index 6f713425cf2..77bd73aa2b1 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_approvals/item/steps/steps_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_approvals/item/steps/steps_request_builder.py @@ -39,6 +39,7 @@ def by_approval_step_id(self,approval_step_id: str) -> ApprovalStepItemRequestBu param approval_step_id: The unique identifier of approvalStep Returns: ApprovalStepItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if approval_step_id is None: raise TypeError("approval_step_id cannot be null.") from .item.approval_step_item_request_builder import ApprovalStepItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[StepsReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStepCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: ApprovalStep, request_configuration: Optional[RequestC param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStep] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: ApprovalStep, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> StepsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: StepsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return StepsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/assignment_schedule_instances_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/assignment_schedule_instances_request_builder.py index e28528801d4..439427b7a2d 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/assignment_schedule_instances_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/assignment_schedule_instances_request_builder.py @@ -40,6 +40,7 @@ def by_privileged_access_group_assignment_schedule_instance_id(self,privileged_a param privileged_access_group_assignment_schedule_instance_id: The unique identifier of privilegedAccessGroupAssignmentScheduleInstance Returns: PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if privileged_access_group_assignment_schedule_instance_id is None: raise TypeError("privileged_access_group_assignment_schedule_instance_id cannot be null.") from .item.privileged_access_group_assignment_schedule_instance_item_request_builder import PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -67,6 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Assignme Returns: Optional[PrivilegedAccessGroupAssignmentScheduleInstanceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/privilegedaccessgroup-list-assignmentscheduleinstances?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -88,6 +91,7 @@ async def post(self,body: PrivilegedAccessGroupAssignmentScheduleInstance, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrivilegedAccessGroupAssignmentScheduleInstance] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_post_request_information(self,body: PrivilegedAccessGroupAssignmentSchedu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> AssignmentScheduleInstancesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AssignmentScheduleInstancesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AssignmentScheduleInstancesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/count/count_request_builder.py index 8edc1f947cd..f37f46347a7 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index b7252d4901b..5a0bf6a0b66 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/privilegedaccessgroupassignmentscheduleinstance-filterbycurrentuser?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/item/activated_using/activated_using_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/item/activated_using/activated_using_request_builder.py index 9e6dafdc636..346e79caff1 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/item/activated_using/activated_using_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/item/activated_using/activated_using_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Activate param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrivilegedAccessGroupEligibilityScheduleInstance] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ActivatedUsingRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ActivatedUsingRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ActivatedUsingRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/item/group/group_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/item/group/group_request_builder.py index da7dce8f2bd..e7e1991ebd0 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/item/group/group_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/item/group/group_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GroupReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Group] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> GroupRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GroupRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GroupRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/item/group/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/item/group/service_provisioning_errors/count/count_request_builder.py index 072f7d846d5..5bde21f8ff5 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/item/group/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/item/group/service_provisioning_errors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py index e0e3579b14b..e92dbcc36ad 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/item/principal/principal_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/item/principal/principal_request_builder.py index 453289fd86f..ada71a42329 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/item/principal/principal_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Principa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> PrincipalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrincipalRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrincipalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/item/privileged_access_group_assignment_schedule_instance_item_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/item/privileged_access_group_assignment_schedule_instance_item_request_builder.py index 16348569953..27c2d8ed988 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/item/privileged_access_group_assignment_schedule_instance_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_instances/item/privileged_access_group_assignment_schedule_instance_item_request_builder.py @@ -39,6 +39,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,6 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Privileg Returns: Optional[PrivilegedAccessGroupAssignmentScheduleInstance] Find more info here: https://learn.microsoft.com/graph/api/privilegedaccessgroupassignmentscheduleinstance-get?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def patch(self,body: PrivilegedAccessGroupAssignmentScheduleInstance, requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrivilegedAccessGroupAssignmentScheduleInstance] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,6 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,6 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -124,6 +129,7 @@ def to_patch_request_information(self,body: PrivilegedAccessGroupAssignmentSched param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -138,6 +144,7 @@ def with_url(self,raw_url: str) -> PrivilegedAccessGroupAssignmentScheduleInstan param raw_url: The raw URL to use for the request builder. Returns: PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/assignment_schedule_requests_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/assignment_schedule_requests_request_builder.py index 7e1e206df2e..6145d035cac 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/assignment_schedule_requests_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/assignment_schedule_requests_request_builder.py @@ -40,6 +40,7 @@ def by_privileged_access_group_assignment_schedule_request_id(self,privileged_ac param privileged_access_group_assignment_schedule_request_id: The unique identifier of privilegedAccessGroupAssignmentScheduleRequest Returns: PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if privileged_access_group_assignment_schedule_request_id is None: raise TypeError("privileged_access_group_assignment_schedule_request_id cannot be null.") from .item.privileged_access_group_assignment_schedule_request_item_request_builder import PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -67,6 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Assignme Returns: Optional[PrivilegedAccessGroupAssignmentScheduleRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/privilegedaccessgroup-list-assignmentschedulerequests?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -89,6 +92,7 @@ async def post(self,body: PrivilegedAccessGroupAssignmentScheduleRequest, reques Returns: Optional[PrivilegedAccessGroupAssignmentScheduleRequest] Find more info here: https://learn.microsoft.com/graph/api/privilegedaccessgroup-post-assignmentschedulerequests?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -111,6 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -123,6 +128,7 @@ def to_post_request_information(self,body: PrivilegedAccessGroupAssignmentSchedu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -137,6 +143,7 @@ def with_url(self,raw_url: str) -> AssignmentScheduleRequestsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AssignmentScheduleRequestsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AssignmentScheduleRequestsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/count/count_request_builder.py index 1525f7fd1b6..69e9c1466c9 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 5573bb0fa5a..bbc888520ed 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/privilegedaccessgroupassignmentschedulerequest-filterbycurrentuser?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/activated_using/activated_using_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/activated_using/activated_using_request_builder.py index 1c48537be8a..d48d41dbd45 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/activated_using/activated_using_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/activated_using/activated_using_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Activate param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrivilegedAccessGroupEligibilitySchedule] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ActivatedUsingRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ActivatedUsingRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ActivatedUsingRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/cancel/cancel_request_builder.py index 94e1dc337bb..8991e4beb61 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/cancel/cancel_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/privilegedaccessgroupassignmentschedulerequest-cancel?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> CancelRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CancelRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CancelRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/group/group_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/group/group_request_builder.py index 76cb86333d5..9ebb757a001 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/group/group_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/group/group_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GroupReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Group] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> GroupRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GroupRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GroupRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/group/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/group/service_provisioning_errors/count/count_request_builder.py index df2e4d432c1..6c19ca7d0c7 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/group/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/group/service_provisioning_errors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py index ae6d2057c4b..b3d313edf5d 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/principal/principal_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/principal/principal_request_builder.py index 24d4af553a2..d088d00b8fc 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/principal/principal_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Principa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> PrincipalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrincipalRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrincipalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/privileged_access_group_assignment_schedule_request_item_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/privileged_access_group_assignment_schedule_request_item_request_builder.py index f099b4c8c24..8fe1f627409 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/privileged_access_group_assignment_schedule_request_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/privileged_access_group_assignment_schedule_request_item_request_builder.py @@ -41,6 +41,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -60,6 +61,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Privileg Returns: Optional[PrivilegedAccessGroupAssignmentScheduleRequest] Find more info here: https://learn.microsoft.com/graph/api/privilegedaccessgroupassignmentschedulerequest-get?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,6 +83,7 @@ async def patch(self,body: PrivilegedAccessGroupAssignmentScheduleRequest, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrivilegedAccessGroupAssignmentScheduleRequest] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,6 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -114,6 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,6 +131,7 @@ def to_patch_request_information(self,body: PrivilegedAccessGroupAssignmentSched param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,6 +146,7 @@ def with_url(self,raw_url: str) -> PrivilegedAccessGroupAssignmentScheduleReques param raw_url: The raw URL to use for the request builder. Returns: PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/target_schedule/target_schedule_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/target_schedule/target_schedule_request_builder.py index e2d55a67610..fa69c7d0a55 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/target_schedule/target_schedule_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedule_requests/item/target_schedule/target_schedule_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TargetSc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrivilegedAccessGroupEligibilitySchedule] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> TargetScheduleRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TargetScheduleRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TargetScheduleRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/assignment_schedules_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/assignment_schedules_request_builder.py index 9b174c03785..3f09adbb996 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/assignment_schedules_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/assignment_schedules_request_builder.py @@ -40,6 +40,7 @@ def by_privileged_access_group_assignment_schedule_id(self,privileged_access_gro param privileged_access_group_assignment_schedule_id: The unique identifier of privilegedAccessGroupAssignmentSchedule Returns: PrivilegedAccessGroupAssignmentScheduleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if privileged_access_group_assignment_schedule_id is None: raise TypeError("privileged_access_group_assignment_schedule_id cannot be null.") from .item.privileged_access_group_assignment_schedule_item_request_builder import PrivilegedAccessGroupAssignmentScheduleItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -67,6 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Assignme Returns: Optional[PrivilegedAccessGroupAssignmentScheduleCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/privilegedaccessgroup-list-assignmentschedules?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -88,6 +91,7 @@ async def post(self,body: PrivilegedAccessGroupAssignmentSchedule, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrivilegedAccessGroupAssignmentSchedule] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_post_request_information(self,body: PrivilegedAccessGroupAssignmentSchedu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> AssignmentSchedulesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AssignmentSchedulesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AssignmentSchedulesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/count/count_request_builder.py index deff25553a7..1829660532e 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 2e42c033861..2e529a4ae35 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/privilegedaccessgroupassignmentschedule-filterbycurrentuser?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/item/activated_using/activated_using_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/item/activated_using/activated_using_request_builder.py index 2f07282dcfd..b6592b2758b 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/item/activated_using/activated_using_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/item/activated_using/activated_using_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Activate param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrivilegedAccessGroupEligibilitySchedule] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ActivatedUsingRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ActivatedUsingRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ActivatedUsingRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/item/group/group_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/item/group/group_request_builder.py index f7b36f6a5d8..b1ae6ee4e13 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/item/group/group_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/item/group/group_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GroupReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Group] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> GroupRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GroupRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GroupRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/item/group/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/item/group/service_provisioning_errors/count/count_request_builder.py index 72191a30637..f120535e226 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/item/group/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/item/group/service_provisioning_errors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py index e40dfa180b3..887c7fd7a19 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/item/principal/principal_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/item/principal/principal_request_builder.py index 726c9efd170..d60a73c4244 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/item/principal/principal_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Principa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> PrincipalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrincipalRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrincipalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/item/privileged_access_group_assignment_schedule_item_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/item/privileged_access_group_assignment_schedule_item_request_builder.py index baa00a66984..93a7d3b7035 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/item/privileged_access_group_assignment_schedule_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/assignment_schedules/item/privileged_access_group_assignment_schedule_item_request_builder.py @@ -39,6 +39,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,6 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Privileg Returns: Optional[PrivilegedAccessGroupAssignmentSchedule] Find more info here: https://learn.microsoft.com/graph/api/privilegedaccessgroupassignmentschedule-get?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def patch(self,body: PrivilegedAccessGroupAssignmentSchedule, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrivilegedAccessGroupAssignmentSchedule] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,6 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,6 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -124,6 +129,7 @@ def to_patch_request_information(self,body: PrivilegedAccessGroupAssignmentSched param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -138,6 +144,7 @@ def with_url(self,raw_url: str) -> PrivilegedAccessGroupAssignmentScheduleItemRe param raw_url: The raw URL to use for the request builder. Returns: PrivilegedAccessGroupAssignmentScheduleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrivilegedAccessGroupAssignmentScheduleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/count/count_request_builder.py index 29a487731d6..65941579a8e 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/eligibility_schedule_instances_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/eligibility_schedule_instances_request_builder.py index 01e3a330009..11f8bb801bb 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/eligibility_schedule_instances_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/eligibility_schedule_instances_request_builder.py @@ -40,6 +40,7 @@ def by_privileged_access_group_eligibility_schedule_instance_id(self,privileged_ param privileged_access_group_eligibility_schedule_instance_id: The unique identifier of privilegedAccessGroupEligibilityScheduleInstance Returns: PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if privileged_access_group_eligibility_schedule_instance_id is None: raise TypeError("privileged_access_group_eligibility_schedule_instance_id cannot be null.") from .item.privileged_access_group_eligibility_schedule_instance_item_request_builder import PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -67,6 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Eligibil Returns: Optional[PrivilegedAccessGroupEligibilityScheduleInstanceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/privilegedaccessgroup-list-eligibilityscheduleinstances?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -88,6 +91,7 @@ async def post(self,body: PrivilegedAccessGroupEligibilityScheduleInstance, requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrivilegedAccessGroupEligibilityScheduleInstance] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_post_request_information(self,body: PrivilegedAccessGroupEligibilitySched param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> EligibilityScheduleInstancesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: EligibilityScheduleInstancesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return EligibilityScheduleInstancesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 286ca8ce750..ad7c7d3efa0 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/privilegedaccessgroupeligibilityscheduleinstance-filterbycurrentuser?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/item/group/group_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/item/group/group_request_builder.py index e9a4ef98a80..60104e183cf 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/item/group/group_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/item/group/group_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GroupReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Group] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> GroupRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GroupRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GroupRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/item/group/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/item/group/service_provisioning_errors/count/count_request_builder.py index 42b38989122..bc7a0060e6a 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/item/group/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/item/group/service_provisioning_errors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py index 86c316c07c8..c57bb8c249f 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/item/principal/principal_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/item/principal/principal_request_builder.py index e7354b42249..639642ef03e 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/item/principal/principal_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Principa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> PrincipalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrincipalRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrincipalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/item/privileged_access_group_eligibility_schedule_instance_item_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/item/privileged_access_group_eligibility_schedule_instance_item_request_builder.py index 8c21961eebc..6c3dc08e503 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/item/privileged_access_group_eligibility_schedule_instance_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_instances/item/privileged_access_group_eligibility_schedule_instance_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Privileg Returns: Optional[PrivilegedAccessGroupEligibilityScheduleInstance] Find more info here: https://learn.microsoft.com/graph/api/privilegedaccessgroupeligibilityscheduleinstance-get?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,6 +80,7 @@ async def patch(self,body: PrivilegedAccessGroupEligibilityScheduleInstance, req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrivilegedAccessGroupEligibilityScheduleInstance] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,6 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -111,6 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -123,6 +128,7 @@ def to_patch_request_information(self,body: PrivilegedAccessGroupEligibilitySche param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -137,6 +143,7 @@ def with_url(self,raw_url: str) -> PrivilegedAccessGroupEligibilityScheduleInsta param raw_url: The raw URL to use for the request builder. Returns: PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/count/count_request_builder.py index 980f886f055..31c13d26b52 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/eligibility_schedule_requests_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/eligibility_schedule_requests_request_builder.py index 38cb8182707..6d1f148b9bf 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/eligibility_schedule_requests_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/eligibility_schedule_requests_request_builder.py @@ -40,6 +40,7 @@ def by_privileged_access_group_eligibility_schedule_request_id(self,privileged_a param privileged_access_group_eligibility_schedule_request_id: The unique identifier of privilegedAccessGroupEligibilityScheduleRequest Returns: PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if privileged_access_group_eligibility_schedule_request_id is None: raise TypeError("privileged_access_group_eligibility_schedule_request_id cannot be null.") from .item.privileged_access_group_eligibility_schedule_request_item_request_builder import PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -67,6 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Eligibil Returns: Optional[PrivilegedAccessGroupEligibilityScheduleRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/privilegedaccessgroup-list-eligibilityschedulerequests?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -89,6 +92,7 @@ async def post(self,body: PrivilegedAccessGroupEligibilityScheduleRequest, reque Returns: Optional[PrivilegedAccessGroupEligibilityScheduleRequest] Find more info here: https://learn.microsoft.com/graph/api/privilegedaccessgroup-post-eligibilityschedulerequests?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -111,6 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -123,6 +128,7 @@ def to_post_request_information(self,body: PrivilegedAccessGroupEligibilitySched param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -137,6 +143,7 @@ def with_url(self,raw_url: str) -> EligibilityScheduleRequestsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: EligibilityScheduleRequestsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return EligibilityScheduleRequestsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index a4e49d4dad1..ecc2b877e4b 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/privilegedaccessgroupeligibilityschedulerequest-filterbycurrentuser?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/cancel/cancel_request_builder.py index a3517be63c4..75f40045708 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/cancel/cancel_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/privilegedaccessgroupeligibilityschedulerequest-cancel?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> CancelRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CancelRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CancelRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/group/group_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/group/group_request_builder.py index 17c04d54d6d..22d89438435 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/group/group_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/group/group_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GroupReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Group] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> GroupRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GroupRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GroupRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/group/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/group/service_provisioning_errors/count/count_request_builder.py index 17b58926e17..1ce10c62d28 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/group/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/group/service_provisioning_errors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py index 37e1dc3debe..29724035916 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/principal/principal_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/principal/principal_request_builder.py index d18dbc454c4..b41c0b80c30 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/principal/principal_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Principa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> PrincipalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrincipalRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrincipalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/privileged_access_group_eligibility_schedule_request_item_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/privileged_access_group_eligibility_schedule_request_item_request_builder.py index acc2a791a44..57cd5c55965 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/privileged_access_group_eligibility_schedule_request_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/privileged_access_group_eligibility_schedule_request_item_request_builder.py @@ -40,6 +40,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,6 +60,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Privileg Returns: Optional[PrivilegedAccessGroupEligibilityScheduleRequest] Find more info here: https://learn.microsoft.com/graph/api/privilegedaccessgroupeligibilityschedulerequest-get?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,6 +82,7 @@ async def patch(self,body: PrivilegedAccessGroupEligibilityScheduleRequest, requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrivilegedAccessGroupEligibilityScheduleRequest] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -102,6 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,6 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,6 +130,7 @@ def to_patch_request_information(self,body: PrivilegedAccessGroupEligibilitySche param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -139,6 +145,7 @@ def with_url(self,raw_url: str) -> PrivilegedAccessGroupEligibilityScheduleReque param raw_url: The raw URL to use for the request builder. Returns: PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/target_schedule/target_schedule_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/target_schedule/target_schedule_request_builder.py index 560739ef3cd..2f888abcfc0 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/target_schedule/target_schedule_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedule_requests/item/target_schedule/target_schedule_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TargetSc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrivilegedAccessGroupEligibilitySchedule] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> TargetScheduleRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TargetScheduleRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TargetScheduleRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/count/count_request_builder.py index f72ac5d39c2..6031df0000e 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/eligibility_schedules_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/eligibility_schedules_request_builder.py index 739e1620c1b..d34fbf2bc95 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/eligibility_schedules_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/eligibility_schedules_request_builder.py @@ -40,6 +40,7 @@ def by_privileged_access_group_eligibility_schedule_id(self,privileged_access_gr param privileged_access_group_eligibility_schedule_id: The unique identifier of privilegedAccessGroupEligibilitySchedule Returns: PrivilegedAccessGroupEligibilityScheduleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if privileged_access_group_eligibility_schedule_id is None: raise TypeError("privileged_access_group_eligibility_schedule_id cannot be null.") from .item.privileged_access_group_eligibility_schedule_item_request_builder import PrivilegedAccessGroupEligibilityScheduleItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -67,6 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Eligibil Returns: Optional[PrivilegedAccessGroupEligibilityScheduleCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/privilegedaccessgroup-list-eligibilityschedules?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -88,6 +91,7 @@ async def post(self,body: PrivilegedAccessGroupEligibilitySchedule, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrivilegedAccessGroupEligibilitySchedule] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_post_request_information(self,body: PrivilegedAccessGroupEligibilitySched param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> EligibilitySchedulesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: EligibilitySchedulesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return EligibilitySchedulesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index d57ec1d1adc..4e70de092f3 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/privilegedaccessgroupeligibilityschedule-filterbycurrentuser?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/item/group/group_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/item/group/group_request_builder.py index db53d86e021..843312b6dba 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/item/group/group_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/item/group/group_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GroupReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Group] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> GroupRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GroupRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GroupRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/item/group/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/item/group/service_provisioning_errors/count/count_request_builder.py index 58ac30d7f51..8475dc5aff8 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/item/group/service_provisioning_errors/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/item/group/service_provisioning_errors/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py index 4d8c3d3ba94..71928611c0c 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> ServiceProvisioningErrorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceProvisioningErrorsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/item/principal/principal_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/item/principal/principal_request_builder.py index 242be4f9adc..6856e763a97 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/item/principal/principal_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Principa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> PrincipalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrincipalRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrincipalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/item/privileged_access_group_eligibility_schedule_item_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/item/privileged_access_group_eligibility_schedule_item_request_builder.py index 8b297049a75..db48c193dfb 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/item/privileged_access_group_eligibility_schedule_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/eligibility_schedules/item/privileged_access_group_eligibility_schedule_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Privileg Returns: Optional[PrivilegedAccessGroupEligibilitySchedule] Find more info here: https://learn.microsoft.com/graph/api/privilegedaccessgroupeligibilityschedule-get?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,6 +80,7 @@ async def patch(self,body: PrivilegedAccessGroupEligibilitySchedule, request_con param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrivilegedAccessGroupEligibilitySchedule] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,6 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -111,6 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -123,6 +128,7 @@ def to_patch_request_information(self,body: PrivilegedAccessGroupEligibilitySche param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -137,6 +143,7 @@ def with_url(self,raw_url: str) -> PrivilegedAccessGroupEligibilityScheduleItemR param raw_url: The raw URL to use for the request builder. Returns: PrivilegedAccessGroupEligibilityScheduleItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrivilegedAccessGroupEligibilityScheduleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/group_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/group_request_builder.py index d4677ac92b5..5d3888ee3d5 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/group_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/group_request_builder.py @@ -44,6 +44,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -62,6 +63,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GroupReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrivilegedAccessGroup] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -83,6 +85,7 @@ async def patch(self,body: PrivilegedAccessGroup, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrivilegedAccessGroup] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -105,6 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -116,6 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -128,6 +133,7 @@ def to_patch_request_information(self,body: PrivilegedAccessGroup, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -142,6 +148,7 @@ def with_url(self,raw_url: str) -> GroupRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GroupRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GroupRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/resources/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/resources/count/count_request_builder.py index 66ddc36ecdf..a9e9aefd523 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/resources/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/resources/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/resources/item/group_resource_item_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/resources/item/group_resource_item_request_builder.py index 1e013093ac1..49adf1dd65d 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/resources/item/group_resource_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/resources/item/group_resource_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GroupRes Returns: Optional[GroupResource] Find more info here: https://learn.microsoft.com/graph/api/groupresource-get?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: GroupResource, request_configuration: Optional[Reques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GroupResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: GroupResource, request_configuration param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> GroupResourceItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GroupResourceItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GroupResourceItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/group/resources/resources_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/group/resources/resources_request_builder.py index 907f946fbfb..bf24666b271 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/group/resources/resources_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/group/resources/resources_request_builder.py @@ -39,6 +39,7 @@ def by_group_resource_id(self,group_resource_id: str) -> GroupResourceItemReques param group_resource_id: The unique identifier of groupResource Returns: GroupResourceItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if group_resource_id is None: raise TypeError("group_resource_id cannot be null.") from .item.group_resource_item_request_builder import GroupResourceItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Resource Returns: Optional[GroupResourceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/privilegedaccessgroup-list-resources?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: GroupResource, request_configuration: Optional[Request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GroupResource] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: GroupResource, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> ResourcesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ResourcesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ResourcesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/privileged_access/privileged_access_request_builder.py b/msgraph_beta/generated/identity_governance/privileged_access/privileged_access_request_builder.py index d4191ae68f8..94afd6231f9 100644 --- a/msgraph_beta/generated/identity_governance/privileged_access/privileged_access_request_builder.py +++ b/msgraph_beta/generated/identity_governance/privileged_access/privileged_access_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Privileg param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrivilegedAccessRoot] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: PrivilegedAccessRoot, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrivilegedAccessRoot] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: PrivilegedAccessRoot, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> PrivilegedAccessRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrivilegedAccessRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrivilegedAccessRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/role_management_alerts/alert_configurations/alert_configurations_request_builder.py b/msgraph_beta/generated/identity_governance/role_management_alerts/alert_configurations/alert_configurations_request_builder.py index 38d4c5853da..3700514a669 100644 --- a/msgraph_beta/generated/identity_governance/role_management_alerts/alert_configurations/alert_configurations_request_builder.py +++ b/msgraph_beta/generated/identity_governance/role_management_alerts/alert_configurations/alert_configurations_request_builder.py @@ -39,6 +39,7 @@ def by_unified_role_management_alert_configuration_id(self,unified_role_manageme param unified_role_management_alert_configuration_id: The unique identifier of unifiedRoleManagementAlertConfiguration Returns: UnifiedRoleManagementAlertConfigurationItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if unified_role_management_alert_configuration_id is None: raise TypeError("unified_role_management_alert_configuration_id cannot be null.") from .item.unified_role_management_alert_configuration_item_request_builder import UnifiedRoleManagementAlertConfigurationItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AlertCon Returns: Optional[UnifiedRoleManagementAlertConfigurationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rolemanagementalert-list-alertconfigurations?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: UnifiedRoleManagementAlertConfiguration, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleManagementAlertConfiguration] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: UnifiedRoleManagementAlertConfigurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> AlertConfigurationsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AlertConfigurationsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AlertConfigurationsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/role_management_alerts/alert_configurations/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/role_management_alerts/alert_configurations/count/count_request_builder.py index db015b5c014..3248f25df39 100644 --- a/msgraph_beta/generated/identity_governance/role_management_alerts/alert_configurations/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/role_management_alerts/alert_configurations/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/role_management_alerts/alert_configurations/item/alert_definition/alert_definition_request_builder.py b/msgraph_beta/generated/identity_governance/role_management_alerts/alert_configurations/item/alert_definition/alert_definition_request_builder.py index 4b70157f8f1..6ddc165c36e 100644 --- a/msgraph_beta/generated/identity_governance/role_management_alerts/alert_configurations/item/alert_definition/alert_definition_request_builder.py +++ b/msgraph_beta/generated/identity_governance/role_management_alerts/alert_configurations/item/alert_definition/alert_definition_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AlertDef param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleManagementAlertDefinition] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AlertDefinitionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AlertDefinitionRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AlertDefinitionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/role_management_alerts/alert_configurations/item/unified_role_management_alert_configuration_item_request_builder.py b/msgraph_beta/generated/identity_governance/role_management_alerts/alert_configurations/item/unified_role_management_alert_configuration_item_request_builder.py index 2af31712f1f..d851e553775 100644 --- a/msgraph_beta/generated/identity_governance/role_management_alerts/alert_configurations/item/unified_role_management_alert_configuration_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/role_management_alerts/alert_configurations/item/unified_role_management_alert_configuration_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleManagementAlertConfiguration] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: UnifiedRoleManagementAlertConfiguration, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleManagementAlertConfiguration] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: UnifiedRoleManagementAlertConfigurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleManagementAlertConfigurationItemRe param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleManagementAlertConfigurationItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleManagementAlertConfigurationItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/role_management_alerts/alert_definitions/alert_definitions_request_builder.py b/msgraph_beta/generated/identity_governance/role_management_alerts/alert_definitions/alert_definitions_request_builder.py index 50462978263..476901665fa 100644 --- a/msgraph_beta/generated/identity_governance/role_management_alerts/alert_definitions/alert_definitions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/role_management_alerts/alert_definitions/alert_definitions_request_builder.py @@ -39,6 +39,7 @@ def by_unified_role_management_alert_definition_id(self,unified_role_management_ param unified_role_management_alert_definition_id: The unique identifier of unifiedRoleManagementAlertDefinition Returns: UnifiedRoleManagementAlertDefinitionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if unified_role_management_alert_definition_id is None: raise TypeError("unified_role_management_alert_definition_id cannot be null.") from .item.unified_role_management_alert_definition_item_request_builder import UnifiedRoleManagementAlertDefinitionItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AlertDef Returns: Optional[UnifiedRoleManagementAlertDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rolemanagementalert-list-alertdefinitions?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: UnifiedRoleManagementAlertDefinition, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleManagementAlertDefinition] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: UnifiedRoleManagementAlertDefinition, param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> AlertDefinitionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AlertDefinitionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AlertDefinitionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/role_management_alerts/alert_definitions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/role_management_alerts/alert_definitions/count/count_request_builder.py index 0ba960e3a78..c9f67b4a65b 100644 --- a/msgraph_beta/generated/identity_governance/role_management_alerts/alert_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/role_management_alerts/alert_definitions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/role_management_alerts/alert_definitions/item/unified_role_management_alert_definition_item_request_builder.py b/msgraph_beta/generated/identity_governance/role_management_alerts/alert_definitions/item/unified_role_management_alert_definition_item_request_builder.py index fa7ccba7b8b..2ea6bc63bb9 100644 --- a/msgraph_beta/generated/identity_governance/role_management_alerts/alert_definitions/item/unified_role_management_alert_definition_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/role_management_alerts/alert_definitions/item/unified_role_management_alert_definition_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleManagementAlertDefinition] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: UnifiedRoleManagementAlertDefinition, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleManagementAlertDefinition] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: UnifiedRoleManagementAlertDefinition param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleManagementAlertDefinitionItemReque param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleManagementAlertDefinitionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleManagementAlertDefinitionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/alerts_request_builder.py b/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/alerts_request_builder.py index 2275ded95fe..e15b93f83a8 100644 --- a/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/alerts_request_builder.py +++ b/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/alerts_request_builder.py @@ -40,6 +40,7 @@ def by_unified_role_management_alert_id(self,unified_role_management_alert_id: s param unified_role_management_alert_id: The unique identifier of unifiedRoleManagementAlert Returns: UnifiedRoleManagementAlertItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if unified_role_management_alert_id is None: raise TypeError("unified_role_management_alert_id cannot be null.") from .item.unified_role_management_alert_item_request_builder import UnifiedRoleManagementAlertItemRequestBuilder @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AlertsRe Returns: Optional[UnifiedRoleManagementAlertCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rolemanagementalert-list-alerts?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def post(self,body: UnifiedRoleManagementAlert, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleManagementAlert] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -98,6 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_post_request_information(self,body: UnifiedRoleManagementAlert, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -124,6 +129,7 @@ def with_url(self,raw_url: str) -> AlertsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AlertsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AlertsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/count/count_request_builder.py index 3ca96b8b600..022ef91b4f9 100644 --- a/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/item/alert_configuration/alert_configuration_request_builder.py b/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/item/alert_configuration/alert_configuration_request_builder.py index 3704b4498ab..ba02550d950 100644 --- a/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/item/alert_configuration/alert_configuration_request_builder.py +++ b/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/item/alert_configuration/alert_configuration_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AlertCon param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleManagementAlertConfiguration] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AlertConfigurationRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AlertConfigurationRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AlertConfigurationRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/item/alert_definition/alert_definition_request_builder.py b/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/item/alert_definition/alert_definition_request_builder.py index 7a1f2fe46f8..68058276706 100644 --- a/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/item/alert_definition/alert_definition_request_builder.py +++ b/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/item/alert_definition/alert_definition_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AlertDef param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleManagementAlertDefinition] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AlertDefinitionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AlertDefinitionRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AlertDefinitionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/item/alert_incidents/alert_incidents_request_builder.py b/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/item/alert_incidents/alert_incidents_request_builder.py index ba860d7fc23..5893b73f5ae 100644 --- a/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/item/alert_incidents/alert_incidents_request_builder.py +++ b/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/item/alert_incidents/alert_incidents_request_builder.py @@ -39,6 +39,7 @@ def by_unified_role_management_alert_incident_id(self,unified_role_management_al param unified_role_management_alert_incident_id: The unique identifier of unifiedRoleManagementAlertIncident Returns: UnifiedRoleManagementAlertIncidentItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if unified_role_management_alert_incident_id is None: raise TypeError("unified_role_management_alert_incident_id cannot be null.") from .item.unified_role_management_alert_incident_item_request_builder import UnifiedRoleManagementAlertIncidentItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AlertInc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleManagementAlertIncidentCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: UnifiedRoleManagementAlertIncident, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleManagementAlertIncident] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: UnifiedRoleManagementAlertIncident, r param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AlertIncidentsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AlertIncidentsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AlertIncidentsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/item/alert_incidents/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/item/alert_incidents/count/count_request_builder.py index 12297deb464..cb1a5a61d53 100644 --- a/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/item/alert_incidents/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/item/alert_incidents/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/item/alert_incidents/item/remediate/remediate_request_builder.py b/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/item/alert_incidents/item/remediate/remediate_request_builder.py index fd106d8614e..46cfa811f93 100644 --- a/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/item/alert_incidents/item/remediate/remediate_request_builder.py +++ b/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/item/alert_incidents/item/remediate/remediate_request_builder.py @@ -35,6 +35,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> RemediateRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RemediateRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RemediateRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/item/alert_incidents/item/unified_role_management_alert_incident_item_request_builder.py b/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/item/alert_incidents/item/unified_role_management_alert_incident_item_request_builder.py index 9bdd976e59c..ef6f162f56d 100644 --- a/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/item/alert_incidents/item/unified_role_management_alert_incident_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/item/alert_incidents/item/unified_role_management_alert_incident_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleManagementAlertIncident] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: UnifiedRoleManagementAlertIncident, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleManagementAlertIncident] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: UnifiedRoleManagementAlertIncident, param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleManagementAlertIncidentItemRequest param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleManagementAlertIncidentItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleManagementAlertIncidentItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/item/refresh/refresh_request_builder.py b/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/item/refresh/refresh_request_builder.py index e2c59eac689..d304cd27f95 100644 --- a/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/item/refresh/refresh_request_builder.py +++ b/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/item/refresh/refresh_request_builder.py @@ -35,6 +35,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> RefreshRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefreshRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefreshRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/item/unified_role_management_alert_item_request_builder.py b/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/item/unified_role_management_alert_item_request_builder.py index 97e96bf1349..0049848111d 100644 --- a/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/item/unified_role_management_alert_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/item/unified_role_management_alert_item_request_builder.py @@ -40,6 +40,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,6 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleManagementAlert] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def patch(self,body: UnifiedRoleManagementAlert, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleManagementAlert] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,6 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,6 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -124,6 +129,7 @@ def to_patch_request_information(self,body: UnifiedRoleManagementAlert, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -138,6 +144,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleManagementAlertItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleManagementAlertItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleManagementAlertItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/refresh/refresh_request_builder.py b/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/refresh/refresh_request_builder.py index 759803e68e4..9c5f9883cf6 100644 --- a/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/refresh/refresh_request_builder.py +++ b/msgraph_beta/generated/identity_governance/role_management_alerts/alerts/refresh/refresh_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: RefreshPostRequestBody, request_configuration: Optiona Returns: None Find more info here: https://learn.microsoft.com/graph/api/unifiedrolemanagementalert-refresh?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: RefreshPostRequestBody, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> RefreshRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefreshRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefreshRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/role_management_alerts/operations/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/role_management_alerts/operations/count/count_request_builder.py index 650bc9e3d99..c58de26af56 100644 --- a/msgraph_beta/generated/identity_governance/role_management_alerts/operations/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/role_management_alerts/operations/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/role_management_alerts/operations/item/long_running_operation_item_request_builder.py b/msgraph_beta/generated/identity_governance/role_management_alerts/operations/item/long_running_operation_item_request_builder.py index 7440d11bc67..4a485700c15 100644 --- a/msgraph_beta/generated/identity_governance/role_management_alerts/operations/item/long_running_operation_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/role_management_alerts/operations/item/long_running_operation_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[LongRunn param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LongRunningOperation] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: LongRunningOperation, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LongRunningOperation] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: LongRunningOperation, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> LongRunningOperationItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: LongRunningOperationItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return LongRunningOperationItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/role_management_alerts/operations/operations_request_builder.py b/msgraph_beta/generated/identity_governance/role_management_alerts/operations/operations_request_builder.py index a021b98afa8..59d0212e69e 100644 --- a/msgraph_beta/generated/identity_governance/role_management_alerts/operations/operations_request_builder.py +++ b/msgraph_beta/generated/identity_governance/role_management_alerts/operations/operations_request_builder.py @@ -39,6 +39,7 @@ def by_long_running_operation_id(self,long_running_operation_id: str) -> LongRun param long_running_operation_id: The unique identifier of longRunningOperation Returns: LongRunningOperationItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if long_running_operation_id is None: raise TypeError("long_running_operation_id cannot be null.") from .item.long_running_operation_item_request_builder import LongRunningOperationItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Operatio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LongRunningOperationCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: LongRunningOperation, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LongRunningOperation] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: LongRunningOperation, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> OperationsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: OperationsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return OperationsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/role_management_alerts/role_management_alerts_request_builder.py b/msgraph_beta/generated/identity_governance/role_management_alerts/role_management_alerts_request_builder.py index 5f50cb74794..db554fd7a11 100644 --- a/msgraph_beta/generated/identity_governance/role_management_alerts/role_management_alerts_request_builder.py +++ b/msgraph_beta/generated/identity_governance/role_management_alerts/role_management_alerts_request_builder.py @@ -40,6 +40,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,6 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleMana param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RoleManagementAlert] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def patch(self,body: RoleManagementAlert, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RoleManagementAlert] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,6 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,6 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -124,6 +129,7 @@ def to_patch_request_information(self,body: RoleManagementAlert, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -138,6 +144,7 @@ def with_url(self,raw_url: str) -> RoleManagementAlertsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleManagementAlertsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleManagementAlertsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/terms_of_use/agreement_acceptances/agreement_acceptances_request_builder.py b/msgraph_beta/generated/identity_governance/terms_of_use/agreement_acceptances/agreement_acceptances_request_builder.py index f08f5f61df7..a56f45a7e41 100644 --- a/msgraph_beta/generated/identity_governance/terms_of_use/agreement_acceptances/agreement_acceptances_request_builder.py +++ b/msgraph_beta/generated/identity_governance/terms_of_use/agreement_acceptances/agreement_acceptances_request_builder.py @@ -39,6 +39,7 @@ def by_agreement_acceptance_id(self,agreement_acceptance_id: str) -> AgreementAc param agreement_acceptance_id: The unique identifier of agreementAcceptance Returns: AgreementAcceptanceItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if agreement_acceptance_id is None: raise TypeError("agreement_acceptance_id cannot be null.") from .item.agreement_acceptance_item_request_builder import AgreementAcceptanceItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Agreemen param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AgreementAcceptanceCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AgreementAcceptance, request_configuration: Optional[R param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AgreementAcceptance] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AgreementAcceptance, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AgreementAcceptancesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AgreementAcceptancesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AgreementAcceptancesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/terms_of_use/agreement_acceptances/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/terms_of_use/agreement_acceptances/count/count_request_builder.py index d12585747c6..81d533d0f64 100644 --- a/msgraph_beta/generated/identity_governance/terms_of_use/agreement_acceptances/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/terms_of_use/agreement_acceptances/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/terms_of_use/agreement_acceptances/item/agreement_acceptance_item_request_builder.py b/msgraph_beta/generated/identity_governance/terms_of_use/agreement_acceptances/item/agreement_acceptance_item_request_builder.py index 32ae86a94e9..3077972dd93 100644 --- a/msgraph_beta/generated/identity_governance/terms_of_use/agreement_acceptances/item/agreement_acceptance_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/terms_of_use/agreement_acceptances/item/agreement_acceptance_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Agreemen param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AgreementAcceptance] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AgreementAcceptance, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AgreementAcceptance] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: AgreementAcceptance, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> AgreementAcceptanceItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AgreementAcceptanceItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AgreementAcceptanceItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/agreements_request_builder.py b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/agreements_request_builder.py index 61ed1e333d4..bbf968c64da 100644 --- a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/agreements_request_builder.py +++ b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/agreements_request_builder.py @@ -39,6 +39,7 @@ def by_agreement_id(self,agreement_id: str) -> AgreementItemRequestBuilder: param agreement_id: The unique identifier of agreement Returns: AgreementItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if agreement_id is None: raise TypeError("agreement_id cannot be null.") from .item.agreement_item_request_builder import AgreementItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Agreemen Returns: Optional[AgreementCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/termsofusecontainer-list-agreements?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def post(self,body: Agreement, request_configuration: Optional[RequestConf Returns: Optional[Agreement] Find more info here: https://learn.microsoft.com/graph/api/termsofusecontainer-post-agreements?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -98,6 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_post_request_information(self,body: Agreement, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -124,6 +129,7 @@ def with_url(self,raw_url: str) -> AgreementsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AgreementsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AgreementsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/count/count_request_builder.py index c7dcca9563e..27aa2e6e05d 100644 --- a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/acceptances/acceptances_request_builder.py b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/acceptances/acceptances_request_builder.py index 7a1e26eaa05..48f0a62bc26 100644 --- a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/acceptances/acceptances_request_builder.py +++ b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/acceptances/acceptances_request_builder.py @@ -39,6 +39,7 @@ def by_agreement_acceptance_id(self,agreement_acceptance_id: str) -> AgreementAc param agreement_acceptance_id: The unique identifier of agreementAcceptance Returns: AgreementAcceptanceItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if agreement_acceptance_id is None: raise TypeError("agreement_acceptance_id cannot be null.") from .item.agreement_acceptance_item_request_builder import AgreementAcceptanceItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Acceptan Returns: Optional[AgreementAcceptanceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/agreement-list-acceptances?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: AgreementAcceptance, request_configuration: Optional[R param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AgreementAcceptance] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: AgreementAcceptance, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> AcceptancesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AcceptancesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AcceptancesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/acceptances/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/acceptances/count/count_request_builder.py index e9bebe262a0..d42f4efdb96 100644 --- a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/acceptances/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/acceptances/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/acceptances/item/agreement_acceptance_item_request_builder.py b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/acceptances/item/agreement_acceptance_item_request_builder.py index 9f54cedebed..5c6ae8e227f 100644 --- a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/acceptances/item/agreement_acceptance_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/acceptances/item/agreement_acceptance_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Agreemen param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AgreementAcceptance] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AgreementAcceptance, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AgreementAcceptance] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: AgreementAcceptance, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> AgreementAcceptanceItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AgreementAcceptanceItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AgreementAcceptanceItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.py b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.py index 9de9cb10c00..7443eef5c63 100644 --- a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.py @@ -40,6 +40,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/agreement-delete?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,6 +60,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Agreemen Returns: Optional[Agreement] Find more info here: https://learn.microsoft.com/graph/api/agreement-get?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,6 +83,7 @@ async def patch(self,body: Agreement, request_configuration: Optional[RequestCon Returns: Optional[Agreement] Find more info here: https://learn.microsoft.com/graph/api/agreement-update?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,6 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -114,6 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,6 +131,7 @@ def to_patch_request_information(self,body: Agreement, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,6 +146,7 @@ def with_url(self,raw_url: str) -> AgreementItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AgreementItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AgreementItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/file/file_request_builder.py b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/file/file_request_builder.py index 8d0cd03a987..e160c65e9ef 100644 --- a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/file/file_request_builder.py +++ b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/file/file_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FileRequ Returns: Optional[AgreementFile] Find more info here: https://learn.microsoft.com/graph/api/agreementfile-get?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: AgreementFile, request_configuration: Optional[Reques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AgreementFile] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: AgreementFile, request_configuration param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> FileRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FileRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FileRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/file/localizations/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/file/localizations/count/count_request_builder.py index 9bc8f7736e2..056240f3dcb 100644 --- a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/file/localizations/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/file/localizations/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/file/localizations/item/agreement_file_localization_item_request_builder.py b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/file/localizations/item/agreement_file_localization_item_request_builder.py index d837ad1d27d..2462e3569b2 100644 --- a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/file/localizations/item/agreement_file_localization_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/file/localizations/item/agreement_file_localization_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Agreemen param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AgreementFileLocalization] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: AgreementFileLocalization, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AgreementFileLocalization] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: AgreementFileLocalization, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> AgreementFileLocalizationItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AgreementFileLocalizationItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AgreementFileLocalizationItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/file/localizations/item/versions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/file/localizations/item/versions/count/count_request_builder.py index ef1179f6d81..ba52117d4f6 100644 --- a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/file/localizations/item/versions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/file/localizations/item/versions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/file/localizations/item/versions/item/agreement_file_version_item_request_builder.py b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/file/localizations/item/versions/item/agreement_file_version_item_request_builder.py index 9a8de009f76..ea30dbbb7f8 100644 --- a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/file/localizations/item/versions/item/agreement_file_version_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/file/localizations/item/versions/item/agreement_file_version_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Agreemen param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AgreementFileVersion] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AgreementFileVersion, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AgreementFileVersion] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: AgreementFileVersion, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> AgreementFileVersionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AgreementFileVersionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AgreementFileVersionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/file/localizations/item/versions/versions_request_builder.py b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/file/localizations/item/versions/versions_request_builder.py index f3f052f4eac..0e0397e9867 100644 --- a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/file/localizations/item/versions/versions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/file/localizations/item/versions/versions_request_builder.py @@ -39,6 +39,7 @@ def by_agreement_file_version_id(self,agreement_file_version_id: str) -> Agreeme param agreement_file_version_id: The unique identifier of agreementFileVersion Returns: AgreementFileVersionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if agreement_file_version_id is None: raise TypeError("agreement_file_version_id cannot be null.") from .item.agreement_file_version_item_request_builder import AgreementFileVersionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Versions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AgreementFileVersionCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AgreementFileVersion, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AgreementFileVersion] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AgreementFileVersion, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> VersionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: VersionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return VersionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/file/localizations/localizations_request_builder.py b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/file/localizations/localizations_request_builder.py index e75d4bfa67f..6fdd0ee2fa7 100644 --- a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/file/localizations/localizations_request_builder.py +++ b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/file/localizations/localizations_request_builder.py @@ -39,6 +39,7 @@ def by_agreement_file_localization_id(self,agreement_file_localization_id: str) param agreement_file_localization_id: The unique identifier of agreementFileLocalization Returns: AgreementFileLocalizationItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if agreement_file_localization_id is None: raise TypeError("agreement_file_localization_id cannot be null.") from .item.agreement_file_localization_item_request_builder import AgreementFileLocalizationItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Localiza param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AgreementFileLocalizationCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AgreementFileLocalization, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AgreementFileLocalization] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AgreementFileLocalization, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> LocalizationsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: LocalizationsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return LocalizationsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/files/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/files/count/count_request_builder.py index 4913252cde8..a02c606b506 100644 --- a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/files/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/files/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/files/files_request_builder.py b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/files/files_request_builder.py index 30dfec6621b..1e5e5edf237 100644 --- a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/files/files_request_builder.py +++ b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/files/files_request_builder.py @@ -39,6 +39,7 @@ def by_agreement_file_localization_id(self,agreement_file_localization_id: str) param agreement_file_localization_id: The unique identifier of agreementFileLocalization Returns: AgreementFileLocalizationItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if agreement_file_localization_id is None: raise TypeError("agreement_file_localization_id cannot be null.") from .item.agreement_file_localization_item_request_builder import AgreementFileLocalizationItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilesReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AgreementFileLocalizationCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: AgreementFileLocalization, request_configuration: Opti Returns: Optional[AgreementFileLocalization] Find more info here: https://learn.microsoft.com/graph/api/agreement-post-files?view=graph-rest-beta """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: AgreementFileLocalization, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> FilesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilesRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/files/item/agreement_file_localization_item_request_builder.py b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/files/item/agreement_file_localization_item_request_builder.py index aa739a0dc31..f9c66cde90f 100644 --- a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/files/item/agreement_file_localization_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/files/item/agreement_file_localization_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Agreemen param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AgreementFileLocalization] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: AgreementFileLocalization, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AgreementFileLocalization] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: AgreementFileLocalization, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> AgreementFileLocalizationItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AgreementFileLocalizationItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AgreementFileLocalizationItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/files/item/versions/count/count_request_builder.py b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/files/item/versions/count/count_request_builder.py index 7cc0ec3f20e..13f65bdf915 100644 --- a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/files/item/versions/count/count_request_builder.py +++ b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/files/item/versions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/files/item/versions/item/agreement_file_version_item_request_builder.py b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/files/item/versions/item/agreement_file_version_item_request_builder.py index 808d7be7a2f..a1c7640d5a8 100644 --- a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/files/item/versions/item/agreement_file_version_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/files/item/versions/item/agreement_file_version_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Agreemen param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AgreementFileVersion] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AgreementFileVersion, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AgreementFileVersion] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: AgreementFileVersion, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> AgreementFileVersionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AgreementFileVersionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AgreementFileVersionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/files/item/versions/versions_request_builder.py b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/files/item/versions/versions_request_builder.py index 0fe9dbb03f1..79eef77b992 100644 --- a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/files/item/versions/versions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/files/item/versions/versions_request_builder.py @@ -39,6 +39,7 @@ def by_agreement_file_version_id(self,agreement_file_version_id: str) -> Agreeme param agreement_file_version_id: The unique identifier of agreementFileVersion Returns: AgreementFileVersionItemRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if agreement_file_version_id is None: raise TypeError("agreement_file_version_id cannot be null.") from .item.agreement_file_version_item_request_builder import AgreementFileVersionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Versions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AgreementFileVersionCollectionResponse] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AgreementFileVersion, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AgreementFileVersion] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AgreementFileVersion, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> VersionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: VersionsRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return VersionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/identity_governance/terms_of_use/terms_of_use_request_builder.py b/msgraph_beta/generated/identity_governance/terms_of_use/terms_of_use_request_builder.py index aab75e59ab1..2670eaa48da 100644 --- a/msgraph_beta/generated/identity_governance/terms_of_use/terms_of_use_request_builder.py +++ b/msgraph_beta/generated/identity_governance/terms_of_use/terms_of_use_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TermsOfU param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TermsOfUseContainer] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: TermsOfUseContainer, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TermsOfUseContainer] """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: TermsOfUseContainer, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> TermsOfUseRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TermsOfUseRequestBuilder """ + warn(" as of 2022-02/PrivatePreview:groupPeerOutlierInsights on 2021-10-21 and will be removed 2022-02-18", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TermsOfUseRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/kiota-dom-export.txt b/msgraph_beta/generated/kiota-dom-export.txt index 013bbdf1e4d..a9062a268d1 100644 --- a/msgraph_beta/generated/kiota-dom-export.txt +++ b/msgraph_beta/generated/kiota-dom-export.txt @@ -1006,16 +1006,13 @@ msgraph_beta.generated.admin.configurationManagement.configurationDrifts.Configu msgraph_beta.generated.admin.configurationManagement.configurationDrifts.ConfigurationDriftsRequestBuilder.ConfigurationDriftsRequestBuilderGetQueryParameters::|public|skip:int msgraph_beta.generated.admin.configurationManagement.configurationDrifts.ConfigurationDriftsRequestBuilder.ConfigurationDriftsRequestBuilderGetQueryParameters::|public|top:int msgraph_beta.generated.admin.configurationManagement.configurationDrifts.ConfigurationDriftsRequestBuilder.ConfigurationDriftsRequestBuilderGetRequestConfiguration-->RequestConfiguration[ConfigurationDriftsRequestBuilderGetQueryParameters] -msgraph_beta.generated.admin.configurationManagement.configurationDrifts.ConfigurationDriftsRequestBuilder.ConfigurationDriftsRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.admin.configurationManagement.configurationDrifts.ConfigurationDriftsRequestBuilder::|public|by_configuration_drift_id(configuration_drift_id:str):ConfigurationDriftItemRequestBuilder msgraph_beta.generated.admin.configurationManagement.configurationDrifts.ConfigurationDriftsRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None msgraph_beta.generated.admin.configurationManagement.configurationDrifts.ConfigurationDriftsRequestBuilder::|public|count:CountRequestBuilder msgraph_beta.generated.admin.configurationManagement.configurationDrifts.ConfigurationDriftsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ConfigurationDriftsRequestBuilderGetQueryParameters]):ConfigurationDriftCollectionResponse msgraph_beta.generated.admin.configurationManagement.configurationDrifts.ConfigurationDriftsRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] -msgraph_beta.generated.admin.configurationManagement.configurationDrifts.ConfigurationDriftsRequestBuilder::|public|post(body:ConfigurationDrift; request_configuration?:RequestConfiguration[QueryParameters]):ConfigurationDrift msgraph_beta.generated.admin.configurationManagement.configurationDrifts.ConfigurationDriftsRequestBuilder::|public|request_adapter:RequestAdapter msgraph_beta.generated.admin.configurationManagement.configurationDrifts.ConfigurationDriftsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ConfigurationDriftsRequestBuilderGetQueryParameters]):RequestInformation -msgraph_beta.generated.admin.configurationManagement.configurationDrifts.ConfigurationDriftsRequestBuilder::|public|to_post_request_information(body:ConfigurationDrift; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.admin.configurationManagement.configurationDrifts.ConfigurationDriftsRequestBuilder::|public|url_template:str msgraph_beta.generated.admin.configurationManagement.configurationDrifts.ConfigurationDriftsRequestBuilder::|public|with_url(raw_url:str):ConfigurationDriftsRequestBuilder msgraph_beta.generated.admin.configurationManagement.configurationDrifts.count.CountRequestBuilder-->BaseRequestBuilder @@ -1031,46 +1028,27 @@ msgraph_beta.generated.admin.configurationManagement.configurationDrifts.count.C msgraph_beta.generated.admin.configurationManagement.configurationDrifts.count.CountRequestBuilder::|public|url_template:str msgraph_beta.generated.admin.configurationManagement.configurationDrifts.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder msgraph_beta.generated.admin.configurationManagement.configurationDrifts.item.ConfigurationDriftItemRequestBuilder-->BaseRequestBuilder -msgraph_beta.generated.admin.configurationManagement.configurationDrifts.item.ConfigurationDriftItemRequestBuilder.ConfigurationDriftItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.admin.configurationManagement.configurationDrifts.item.ConfigurationDriftItemRequestBuilder.ConfigurationDriftItemRequestBuilderGetQueryParameters::|public|expand:list[str] msgraph_beta.generated.admin.configurationManagement.configurationDrifts.item.ConfigurationDriftItemRequestBuilder.ConfigurationDriftItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str msgraph_beta.generated.admin.configurationManagement.configurationDrifts.item.ConfigurationDriftItemRequestBuilder.ConfigurationDriftItemRequestBuilderGetQueryParameters::|public|select:list[str] msgraph_beta.generated.admin.configurationManagement.configurationDrifts.item.ConfigurationDriftItemRequestBuilder.ConfigurationDriftItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[ConfigurationDriftItemRequestBuilderGetQueryParameters] -msgraph_beta.generated.admin.configurationManagement.configurationDrifts.item.ConfigurationDriftItemRequestBuilder.ConfigurationDriftItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.admin.configurationManagement.configurationDrifts.item.ConfigurationDriftItemRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None -msgraph_beta.generated.admin.configurationManagement.configurationDrifts.item.ConfigurationDriftItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None msgraph_beta.generated.admin.configurationManagement.configurationDrifts.item.ConfigurationDriftItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ConfigurationDriftItemRequestBuilderGetQueryParameters]):ConfigurationDrift -msgraph_beta.generated.admin.configurationManagement.configurationDrifts.item.ConfigurationDriftItemRequestBuilder::|public|patch(body:ConfigurationDrift; request_configuration?:RequestConfiguration[QueryParameters]):ConfigurationDrift msgraph_beta.generated.admin.configurationManagement.configurationDrifts.item.ConfigurationDriftItemRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] msgraph_beta.generated.admin.configurationManagement.configurationDrifts.item.ConfigurationDriftItemRequestBuilder::|public|request_adapter:RequestAdapter -msgraph_beta.generated.admin.configurationManagement.configurationDrifts.item.ConfigurationDriftItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.admin.configurationManagement.configurationDrifts.item.ConfigurationDriftItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ConfigurationDriftItemRequestBuilderGetQueryParameters]):RequestInformation -msgraph_beta.generated.admin.configurationManagement.configurationDrifts.item.ConfigurationDriftItemRequestBuilder::|public|to_patch_request_information(body:ConfigurationDrift; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.admin.configurationManagement.configurationDrifts.item.ConfigurationDriftItemRequestBuilder::|public|url_template:str msgraph_beta.generated.admin.configurationManagement.configurationDrifts.item.ConfigurationDriftItemRequestBuilder::|public|with_url(raw_url:str):ConfigurationDriftItemRequestBuilder msgraph_beta.generated.admin.configurationManagement.ConfigurationManagementRequestBuilder-->BaseRequestBuilder -msgraph_beta.generated.admin.configurationManagement.ConfigurationManagementRequestBuilder.ConfigurationManagementRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] -msgraph_beta.generated.admin.configurationManagement.ConfigurationManagementRequestBuilder.ConfigurationManagementRequestBuilderGetQueryParameters::|public|expand:list[str] -msgraph_beta.generated.admin.configurationManagement.ConfigurationManagementRequestBuilder.ConfigurationManagementRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str -msgraph_beta.generated.admin.configurationManagement.ConfigurationManagementRequestBuilder.ConfigurationManagementRequestBuilderGetQueryParameters::|public|select:list[str] -msgraph_beta.generated.admin.configurationManagement.ConfigurationManagementRequestBuilder.ConfigurationManagementRequestBuilderGetRequestConfiguration-->RequestConfiguration[ConfigurationManagementRequestBuilderGetQueryParameters] -msgraph_beta.generated.admin.configurationManagement.ConfigurationManagementRequestBuilder.ConfigurationManagementRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.admin.configurationManagement.ConfigurationManagementRequestBuilder::|public|configuration_drifts:ConfigurationDriftsRequestBuilder msgraph_beta.generated.admin.configurationManagement.ConfigurationManagementRequestBuilder::|public|configuration_monitoring_results:ConfigurationMonitoringResultsRequestBuilder msgraph_beta.generated.admin.configurationManagement.ConfigurationManagementRequestBuilder::|public|configuration_monitors:ConfigurationMonitorsRequestBuilder msgraph_beta.generated.admin.configurationManagement.ConfigurationManagementRequestBuilder::|public|configuration_snapshots:ConfigurationSnapshotsRequestBuilder msgraph_beta.generated.admin.configurationManagement.ConfigurationManagementRequestBuilder::|public|configuration_snapshot_jobs:ConfigurationSnapshotJobsRequestBuilder msgraph_beta.generated.admin.configurationManagement.ConfigurationManagementRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None -msgraph_beta.generated.admin.configurationManagement.ConfigurationManagementRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None -msgraph_beta.generated.admin.configurationManagement.ConfigurationManagementRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ConfigurationManagementRequestBuilderGetQueryParameters]):ConfigurationManagement -msgraph_beta.generated.admin.configurationManagement.ConfigurationManagementRequestBuilder::|public|patch(body:ConfigurationManagement; request_configuration?:RequestConfiguration[QueryParameters]):ConfigurationManagement msgraph_beta.generated.admin.configurationManagement.ConfigurationManagementRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] msgraph_beta.generated.admin.configurationManagement.ConfigurationManagementRequestBuilder::|public|request_adapter:RequestAdapter -msgraph_beta.generated.admin.configurationManagement.ConfigurationManagementRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation -msgraph_beta.generated.admin.configurationManagement.ConfigurationManagementRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ConfigurationManagementRequestBuilderGetQueryParameters]):RequestInformation -msgraph_beta.generated.admin.configurationManagement.ConfigurationManagementRequestBuilder::|public|to_patch_request_information(body:ConfigurationManagement; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.admin.configurationManagement.ConfigurationManagementRequestBuilder::|public|url_template:str -msgraph_beta.generated.admin.configurationManagement.ConfigurationManagementRequestBuilder::|public|with_url(raw_url:str):ConfigurationManagementRequestBuilder msgraph_beta.generated.admin.configurationManagement.configurationMonitoringResults.ConfigurationMonitoringResultsRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.admin.configurationManagement.configurationMonitoringResults.ConfigurationMonitoringResultsRequestBuilder.ConfigurationMonitoringResultsRequestBuilderGetQueryParameters::|public|count:bool msgraph_beta.generated.admin.configurationManagement.configurationMonitoringResults.ConfigurationMonitoringResultsRequestBuilder.ConfigurationMonitoringResultsRequestBuilderGetQueryParameters::|public|expand:list[str] @@ -1082,16 +1060,13 @@ msgraph_beta.generated.admin.configurationManagement.configurationMonitoringResu msgraph_beta.generated.admin.configurationManagement.configurationMonitoringResults.ConfigurationMonitoringResultsRequestBuilder.ConfigurationMonitoringResultsRequestBuilderGetQueryParameters::|public|skip:int msgraph_beta.generated.admin.configurationManagement.configurationMonitoringResults.ConfigurationMonitoringResultsRequestBuilder.ConfigurationMonitoringResultsRequestBuilderGetQueryParameters::|public|top:int msgraph_beta.generated.admin.configurationManagement.configurationMonitoringResults.ConfigurationMonitoringResultsRequestBuilder.ConfigurationMonitoringResultsRequestBuilderGetRequestConfiguration-->RequestConfiguration[ConfigurationMonitoringResultsRequestBuilderGetQueryParameters] -msgraph_beta.generated.admin.configurationManagement.configurationMonitoringResults.ConfigurationMonitoringResultsRequestBuilder.ConfigurationMonitoringResultsRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.admin.configurationManagement.configurationMonitoringResults.ConfigurationMonitoringResultsRequestBuilder::|public|by_configuration_monitoring_result_id(configuration_monitoring_result_id:str):ConfigurationMonitoringResultItemRequestBuilder msgraph_beta.generated.admin.configurationManagement.configurationMonitoringResults.ConfigurationMonitoringResultsRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None msgraph_beta.generated.admin.configurationManagement.configurationMonitoringResults.ConfigurationMonitoringResultsRequestBuilder::|public|count:CountRequestBuilder msgraph_beta.generated.admin.configurationManagement.configurationMonitoringResults.ConfigurationMonitoringResultsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ConfigurationMonitoringResultsRequestBuilderGetQueryParameters]):ConfigurationMonitoringResultCollectionResponse msgraph_beta.generated.admin.configurationManagement.configurationMonitoringResults.ConfigurationMonitoringResultsRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] -msgraph_beta.generated.admin.configurationManagement.configurationMonitoringResults.ConfigurationMonitoringResultsRequestBuilder::|public|post(body:ConfigurationMonitoringResult; request_configuration?:RequestConfiguration[QueryParameters]):ConfigurationMonitoringResult msgraph_beta.generated.admin.configurationManagement.configurationMonitoringResults.ConfigurationMonitoringResultsRequestBuilder::|public|request_adapter:RequestAdapter msgraph_beta.generated.admin.configurationManagement.configurationMonitoringResults.ConfigurationMonitoringResultsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ConfigurationMonitoringResultsRequestBuilderGetQueryParameters]):RequestInformation -msgraph_beta.generated.admin.configurationManagement.configurationMonitoringResults.ConfigurationMonitoringResultsRequestBuilder::|public|to_post_request_information(body:ConfigurationMonitoringResult; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.admin.configurationManagement.configurationMonitoringResults.ConfigurationMonitoringResultsRequestBuilder::|public|url_template:str msgraph_beta.generated.admin.configurationManagement.configurationMonitoringResults.ConfigurationMonitoringResultsRequestBuilder::|public|with_url(raw_url:str):ConfigurationMonitoringResultsRequestBuilder msgraph_beta.generated.admin.configurationManagement.configurationMonitoringResults.count.CountRequestBuilder-->BaseRequestBuilder @@ -1107,21 +1082,15 @@ msgraph_beta.generated.admin.configurationManagement.configurationMonitoringResu msgraph_beta.generated.admin.configurationManagement.configurationMonitoringResults.count.CountRequestBuilder::|public|url_template:str msgraph_beta.generated.admin.configurationManagement.configurationMonitoringResults.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder msgraph_beta.generated.admin.configurationManagement.configurationMonitoringResults.item.ConfigurationMonitoringResultItemRequestBuilder-->BaseRequestBuilder -msgraph_beta.generated.admin.configurationManagement.configurationMonitoringResults.item.ConfigurationMonitoringResultItemRequestBuilder.ConfigurationMonitoringResultItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.admin.configurationManagement.configurationMonitoringResults.item.ConfigurationMonitoringResultItemRequestBuilder.ConfigurationMonitoringResultItemRequestBuilderGetQueryParameters::|public|expand:list[str] msgraph_beta.generated.admin.configurationManagement.configurationMonitoringResults.item.ConfigurationMonitoringResultItemRequestBuilder.ConfigurationMonitoringResultItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str msgraph_beta.generated.admin.configurationManagement.configurationMonitoringResults.item.ConfigurationMonitoringResultItemRequestBuilder.ConfigurationMonitoringResultItemRequestBuilderGetQueryParameters::|public|select:list[str] msgraph_beta.generated.admin.configurationManagement.configurationMonitoringResults.item.ConfigurationMonitoringResultItemRequestBuilder.ConfigurationMonitoringResultItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[ConfigurationMonitoringResultItemRequestBuilderGetQueryParameters] -msgraph_beta.generated.admin.configurationManagement.configurationMonitoringResults.item.ConfigurationMonitoringResultItemRequestBuilder.ConfigurationMonitoringResultItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.admin.configurationManagement.configurationMonitoringResults.item.ConfigurationMonitoringResultItemRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None -msgraph_beta.generated.admin.configurationManagement.configurationMonitoringResults.item.ConfigurationMonitoringResultItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None msgraph_beta.generated.admin.configurationManagement.configurationMonitoringResults.item.ConfigurationMonitoringResultItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ConfigurationMonitoringResultItemRequestBuilderGetQueryParameters]):ConfigurationMonitoringResult -msgraph_beta.generated.admin.configurationManagement.configurationMonitoringResults.item.ConfigurationMonitoringResultItemRequestBuilder::|public|patch(body:ConfigurationMonitoringResult; request_configuration?:RequestConfiguration[QueryParameters]):ConfigurationMonitoringResult msgraph_beta.generated.admin.configurationManagement.configurationMonitoringResults.item.ConfigurationMonitoringResultItemRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] msgraph_beta.generated.admin.configurationManagement.configurationMonitoringResults.item.ConfigurationMonitoringResultItemRequestBuilder::|public|request_adapter:RequestAdapter -msgraph_beta.generated.admin.configurationManagement.configurationMonitoringResults.item.ConfigurationMonitoringResultItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.admin.configurationManagement.configurationMonitoringResults.item.ConfigurationMonitoringResultItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ConfigurationMonitoringResultItemRequestBuilderGetQueryParameters]):RequestInformation -msgraph_beta.generated.admin.configurationManagement.configurationMonitoringResults.item.ConfigurationMonitoringResultItemRequestBuilder::|public|to_patch_request_information(body:ConfigurationMonitoringResult; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.admin.configurationManagement.configurationMonitoringResults.item.ConfigurationMonitoringResultItemRequestBuilder::|public|url_template:str msgraph_beta.generated.admin.configurationManagement.configurationMonitoringResults.item.ConfigurationMonitoringResultItemRequestBuilder::|public|with_url(raw_url:str):ConfigurationMonitoringResultItemRequestBuilder msgraph_beta.generated.admin.configurationManagement.configurationMonitors.ConfigurationMonitorsRequestBuilder-->BaseRequestBuilder @@ -1160,21 +1129,15 @@ msgraph_beta.generated.admin.configurationManagement.configurationMonitors.count msgraph_beta.generated.admin.configurationManagement.configurationMonitors.count.CountRequestBuilder::|public|url_template:str msgraph_beta.generated.admin.configurationManagement.configurationMonitors.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder msgraph_beta.generated.admin.configurationManagement.configurationMonitors.item.baseline.BaselineRequestBuilder-->BaseRequestBuilder -msgraph_beta.generated.admin.configurationManagement.configurationMonitors.item.baseline.BaselineRequestBuilder.BaselineRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.admin.configurationManagement.configurationMonitors.item.baseline.BaselineRequestBuilder.BaselineRequestBuilderGetQueryParameters::|public|expand:list[str] msgraph_beta.generated.admin.configurationManagement.configurationMonitors.item.baseline.BaselineRequestBuilder.BaselineRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str msgraph_beta.generated.admin.configurationManagement.configurationMonitors.item.baseline.BaselineRequestBuilder.BaselineRequestBuilderGetQueryParameters::|public|select:list[str] msgraph_beta.generated.admin.configurationManagement.configurationMonitors.item.baseline.BaselineRequestBuilder.BaselineRequestBuilderGetRequestConfiguration-->RequestConfiguration[BaselineRequestBuilderGetQueryParameters] -msgraph_beta.generated.admin.configurationManagement.configurationMonitors.item.baseline.BaselineRequestBuilder.BaselineRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.admin.configurationManagement.configurationMonitors.item.baseline.BaselineRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None -msgraph_beta.generated.admin.configurationManagement.configurationMonitors.item.baseline.BaselineRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None msgraph_beta.generated.admin.configurationManagement.configurationMonitors.item.baseline.BaselineRequestBuilder::|public|get(request_configuration?:RequestConfiguration[BaselineRequestBuilderGetQueryParameters]):ConfigurationBaseline -msgraph_beta.generated.admin.configurationManagement.configurationMonitors.item.baseline.BaselineRequestBuilder::|public|patch(body:ConfigurationBaseline; request_configuration?:RequestConfiguration[QueryParameters]):ConfigurationBaseline msgraph_beta.generated.admin.configurationManagement.configurationMonitors.item.baseline.BaselineRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] msgraph_beta.generated.admin.configurationManagement.configurationMonitors.item.baseline.BaselineRequestBuilder::|public|request_adapter:RequestAdapter -msgraph_beta.generated.admin.configurationManagement.configurationMonitors.item.baseline.BaselineRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.admin.configurationManagement.configurationMonitors.item.baseline.BaselineRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[BaselineRequestBuilderGetQueryParameters]):RequestInformation -msgraph_beta.generated.admin.configurationManagement.configurationMonitors.item.baseline.BaselineRequestBuilder::|public|to_patch_request_information(body:ConfigurationBaseline; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.admin.configurationManagement.configurationMonitors.item.baseline.BaselineRequestBuilder::|public|url_template:str msgraph_beta.generated.admin.configurationManagement.configurationMonitors.item.baseline.BaselineRequestBuilder::|public|with_url(raw_url:str):BaselineRequestBuilder msgraph_beta.generated.admin.configurationManagement.configurationMonitors.item.ConfigurationMonitorItemRequestBuilder-->BaseRequestBuilder @@ -1207,46 +1170,27 @@ msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.C msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.ConfigurationSnapshotJobsRequestBuilder.ConfigurationSnapshotJobsRequestBuilderGetQueryParameters::|public|skip:int msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.ConfigurationSnapshotJobsRequestBuilder.ConfigurationSnapshotJobsRequestBuilderGetQueryParameters::|public|top:int msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.ConfigurationSnapshotJobsRequestBuilder.ConfigurationSnapshotJobsRequestBuilderGetRequestConfiguration-->RequestConfiguration[ConfigurationSnapshotJobsRequestBuilderGetQueryParameters] -msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.ConfigurationSnapshotJobsRequestBuilder.ConfigurationSnapshotJobsRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.ConfigurationSnapshotJobsRequestBuilder::|public|by_configuration_snapshot_job_id(configuration_snapshot_job_id:str):ConfigurationSnapshotJobItemRequestBuilder msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.ConfigurationSnapshotJobsRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None -msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.ConfigurationSnapshotJobsRequestBuilder::|public|count:CountRequestBuilder msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.ConfigurationSnapshotJobsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ConfigurationSnapshotJobsRequestBuilderGetQueryParameters]):ConfigurationSnapshotJobCollectionResponse msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.ConfigurationSnapshotJobsRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] -msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.ConfigurationSnapshotJobsRequestBuilder::|public|post(body:ConfigurationSnapshotJob; request_configuration?:RequestConfiguration[QueryParameters]):ConfigurationSnapshotJob msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.ConfigurationSnapshotJobsRequestBuilder::|public|request_adapter:RequestAdapter msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.ConfigurationSnapshotJobsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ConfigurationSnapshotJobsRequestBuilderGetQueryParameters]):RequestInformation -msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.ConfigurationSnapshotJobsRequestBuilder::|public|to_post_request_information(body:ConfigurationSnapshotJob; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.ConfigurationSnapshotJobsRequestBuilder::|public|url_template:str msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.ConfigurationSnapshotJobsRequestBuilder::|public|with_url(raw_url:str):ConfigurationSnapshotJobsRequestBuilder -msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.count.CountRequestBuilder-->BaseRequestBuilder -msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str -msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str -msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str -msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] -msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None -msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int -msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.count.CountRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] -msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.count.CountRequestBuilder::|public|request_adapter:RequestAdapter -msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation -msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.count.CountRequestBuilder::|public|url_template:str -msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.item.ConfigurationSnapshotJobItemRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.item.ConfigurationSnapshotJobItemRequestBuilder.ConfigurationSnapshotJobItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.item.ConfigurationSnapshotJobItemRequestBuilder.ConfigurationSnapshotJobItemRequestBuilderGetQueryParameters::|public|expand:list[str] msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.item.ConfigurationSnapshotJobItemRequestBuilder.ConfigurationSnapshotJobItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.item.ConfigurationSnapshotJobItemRequestBuilder.ConfigurationSnapshotJobItemRequestBuilderGetQueryParameters::|public|select:list[str] msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.item.ConfigurationSnapshotJobItemRequestBuilder.ConfigurationSnapshotJobItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[ConfigurationSnapshotJobItemRequestBuilderGetQueryParameters] -msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.item.ConfigurationSnapshotJobItemRequestBuilder.ConfigurationSnapshotJobItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.item.ConfigurationSnapshotJobItemRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.item.ConfigurationSnapshotJobItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.item.ConfigurationSnapshotJobItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ConfigurationSnapshotJobItemRequestBuilderGetQueryParameters]):ConfigurationSnapshotJob -msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.item.ConfigurationSnapshotJobItemRequestBuilder::|public|patch(body:ConfigurationSnapshotJob; request_configuration?:RequestConfiguration[QueryParameters]):ConfigurationSnapshotJob msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.item.ConfigurationSnapshotJobItemRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.item.ConfigurationSnapshotJobItemRequestBuilder::|public|request_adapter:RequestAdapter msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.item.ConfigurationSnapshotJobItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.item.ConfigurationSnapshotJobItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ConfigurationSnapshotJobItemRequestBuilderGetQueryParameters]):RequestInformation -msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.item.ConfigurationSnapshotJobItemRequestBuilder::|public|to_patch_request_information(body:ConfigurationSnapshotJob; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.item.ConfigurationSnapshotJobItemRequestBuilder::|public|url_template:str msgraph_beta.generated.admin.configurationManagement.configurationSnapshotJobs.item.ConfigurationSnapshotJobItemRequestBuilder::|public|with_url(raw_url:str):ConfigurationSnapshotJobItemRequestBuilder msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.ConfigurationSnapshotsRequestBuilder-->BaseRequestBuilder @@ -1260,46 +1204,24 @@ msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.Conf msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.ConfigurationSnapshotsRequestBuilder.ConfigurationSnapshotsRequestBuilderGetQueryParameters::|public|skip:int msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.ConfigurationSnapshotsRequestBuilder.ConfigurationSnapshotsRequestBuilderGetQueryParameters::|public|top:int msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.ConfigurationSnapshotsRequestBuilder.ConfigurationSnapshotsRequestBuilderGetRequestConfiguration-->RequestConfiguration[ConfigurationSnapshotsRequestBuilderGetQueryParameters] -msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.ConfigurationSnapshotsRequestBuilder.ConfigurationSnapshotsRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.ConfigurationSnapshotsRequestBuilder::|public|by_configuration_baseline_id(configuration_baseline_id:str):ConfigurationBaselineItemRequestBuilder msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.ConfigurationSnapshotsRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None -msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.ConfigurationSnapshotsRequestBuilder::|public|count:CountRequestBuilder msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.ConfigurationSnapshotsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ConfigurationSnapshotsRequestBuilderGetQueryParameters]):ConfigurationBaselineCollectionResponse msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.ConfigurationSnapshotsRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] -msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.ConfigurationSnapshotsRequestBuilder::|public|post(body:ConfigurationBaseline; request_configuration?:RequestConfiguration[QueryParameters]):ConfigurationBaseline msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.ConfigurationSnapshotsRequestBuilder::|public|request_adapter:RequestAdapter msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.ConfigurationSnapshotsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ConfigurationSnapshotsRequestBuilderGetQueryParameters]):RequestInformation -msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.ConfigurationSnapshotsRequestBuilder::|public|to_post_request_information(body:ConfigurationBaseline; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.ConfigurationSnapshotsRequestBuilder::|public|url_template:str msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.ConfigurationSnapshotsRequestBuilder::|public|with_url(raw_url:str):ConfigurationSnapshotsRequestBuilder -msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.count.CountRequestBuilder-->BaseRequestBuilder -msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str -msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str -msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str -msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] -msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None -msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int -msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.count.CountRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] -msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.count.CountRequestBuilder::|public|request_adapter:RequestAdapter -msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation -msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.count.CountRequestBuilder::|public|url_template:str -msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.item.ConfigurationBaselineItemRequestBuilder-->BaseRequestBuilder -msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.item.ConfigurationBaselineItemRequestBuilder.ConfigurationBaselineItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.item.ConfigurationBaselineItemRequestBuilder.ConfigurationBaselineItemRequestBuilderGetQueryParameters::|public|expand:list[str] msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.item.ConfigurationBaselineItemRequestBuilder.ConfigurationBaselineItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.item.ConfigurationBaselineItemRequestBuilder.ConfigurationBaselineItemRequestBuilderGetQueryParameters::|public|select:list[str] msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.item.ConfigurationBaselineItemRequestBuilder.ConfigurationBaselineItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[ConfigurationBaselineItemRequestBuilderGetQueryParameters] -msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.item.ConfigurationBaselineItemRequestBuilder.ConfigurationBaselineItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.item.ConfigurationBaselineItemRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None -msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.item.ConfigurationBaselineItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.item.ConfigurationBaselineItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ConfigurationBaselineItemRequestBuilderGetQueryParameters]):ConfigurationBaseline -msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.item.ConfigurationBaselineItemRequestBuilder::|public|patch(body:ConfigurationBaseline; request_configuration?:RequestConfiguration[QueryParameters]):ConfigurationBaseline msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.item.ConfigurationBaselineItemRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.item.ConfigurationBaselineItemRequestBuilder::|public|request_adapter:RequestAdapter -msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.item.ConfigurationBaselineItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.item.ConfigurationBaselineItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ConfigurationBaselineItemRequestBuilderGetQueryParameters]):RequestInformation -msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.item.ConfigurationBaselineItemRequestBuilder::|public|to_patch_request_information(body:ConfigurationBaseline; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.item.ConfigurationBaselineItemRequestBuilder::|public|url_template:str msgraph_beta.generated.admin.configurationManagement.configurationSnapshots.item.ConfigurationBaselineItemRequestBuilder::|public|with_url(raw_url:str):ConfigurationBaselineItemRequestBuilder msgraph_beta.generated.admin.dynamics.DynamicsRequestBuilder-->BaseRequestBuilder @@ -38135,6 +38057,15 @@ msgraph_beta.generated.deviceManagement.comanagedDevices.item.bypassActivationLo msgraph_beta.generated.deviceManagement.comanagedDevices.item.bypassActivationLock.BypassActivationLockRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.deviceManagement.comanagedDevices.item.bypassActivationLock.BypassActivationLockRequestBuilder::|public|url_template:str msgraph_beta.generated.deviceManagement.comanagedDevices.item.bypassActivationLock.BypassActivationLockRequestBuilder::|public|with_url(raw_url:str):BypassActivationLockRequestBuilder +msgraph_beta.generated.deviceManagement.comanagedDevices.item.cancelEnhancedLogCollection.CancelEnhancedLogCollectionRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.deviceManagement.comanagedDevices.item.cancelEnhancedLogCollection.CancelEnhancedLogCollectionRequestBuilder.CancelEnhancedLogCollectionRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.deviceManagement.comanagedDevices.item.cancelEnhancedLogCollection.CancelEnhancedLogCollectionRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.deviceManagement.comanagedDevices.item.cancelEnhancedLogCollection.CancelEnhancedLogCollectionRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.deviceManagement.comanagedDevices.item.cancelEnhancedLogCollection.CancelEnhancedLogCollectionRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.deviceManagement.comanagedDevices.item.cancelEnhancedLogCollection.CancelEnhancedLogCollectionRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.deviceManagement.comanagedDevices.item.cancelEnhancedLogCollection.CancelEnhancedLogCollectionRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.deviceManagement.comanagedDevices.item.cancelEnhancedLogCollection.CancelEnhancedLogCollectionRequestBuilder::|public|url_template:str +msgraph_beta.generated.deviceManagement.comanagedDevices.item.cancelEnhancedLogCollection.CancelEnhancedLogCollectionRequestBuilder::|public|with_url(raw_url:str):CancelEnhancedLogCollectionRequestBuilder msgraph_beta.generated.deviceManagement.comanagedDevices.item.changeAssignments.ChangeAssignmentsPostRequestBody::|public|additional_data():dict[str, Any] msgraph_beta.generated.deviceManagement.comanagedDevices.item.changeAssignments.ChangeAssignmentsPostRequestBody::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.deviceManagement.comanagedDevices.item.changeAssignments.ChangeAssignmentsPostRequestBody::|public|backing_store:BackingStore @@ -38705,6 +38636,7 @@ msgraph_beta.generated.deviceManagement.comanagedDevices.item.ManagedDeviceItemR msgraph_beta.generated.deviceManagement.comanagedDevices.item.ManagedDeviceItemRequestBuilder::|public|activate_device_esim:ActivateDeviceEsimRequestBuilder msgraph_beta.generated.deviceManagement.comanagedDevices.item.ManagedDeviceItemRequestBuilder::|public|assignment_filter_evaluation_status_details:AssignmentFilterEvaluationStatusDetailsRequestBuilder msgraph_beta.generated.deviceManagement.comanagedDevices.item.ManagedDeviceItemRequestBuilder::|public|bypass_activation_lock:BypassActivationLockRequestBuilder +msgraph_beta.generated.deviceManagement.comanagedDevices.item.ManagedDeviceItemRequestBuilder::|public|cancel_enhanced_log_collection:CancelEnhancedLogCollectionRequestBuilder msgraph_beta.generated.deviceManagement.comanagedDevices.item.ManagedDeviceItemRequestBuilder::|public|change_assignments:ChangeAssignmentsRequestBuilder msgraph_beta.generated.deviceManagement.comanagedDevices.item.ManagedDeviceItemRequestBuilder::|public|clean_windows_device:CleanWindowsDeviceRequestBuilder msgraph_beta.generated.deviceManagement.comanagedDevices.item.ManagedDeviceItemRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None @@ -38766,6 +38698,7 @@ msgraph_beta.generated.deviceManagement.comanagedDevices.item.ManagedDeviceItemR msgraph_beta.generated.deviceManagement.comanagedDevices.item.ManagedDeviceItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ManagedDeviceItemRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.deviceManagement.comanagedDevices.item.ManagedDeviceItemRequestBuilder::|public|to_patch_request_information(body:ManagedDevice; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.deviceManagement.comanagedDevices.item.ManagedDeviceItemRequestBuilder::|public|trigger_configuration_manager_action:TriggerConfigurationManagerActionRequestBuilder +msgraph_beta.generated.deviceManagement.comanagedDevices.item.ManagedDeviceItemRequestBuilder::|public|trigger_enhanced_log_collection:TriggerEnhancedLogCollectionRequestBuilder msgraph_beta.generated.deviceManagement.comanagedDevices.item.ManagedDeviceItemRequestBuilder::|public|update_windows_device_account:UpdateWindowsDeviceAccountRequestBuilder msgraph_beta.generated.deviceManagement.comanagedDevices.item.ManagedDeviceItemRequestBuilder::|public|url_template:str msgraph_beta.generated.deviceManagement.comanagedDevices.item.ManagedDeviceItemRequestBuilder::|public|users:UsersRequestBuilder @@ -39271,6 +39204,25 @@ msgraph_beta.generated.deviceManagement.comanagedDevices.item.triggerConfigurati msgraph_beta.generated.deviceManagement.comanagedDevices.item.triggerConfigurationManagerAction.TriggerConfigurationManagerActionRequestBuilder::|public|to_post_request_information(body:TriggerConfigurationManagerActionPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.deviceManagement.comanagedDevices.item.triggerConfigurationManagerAction.TriggerConfigurationManagerActionRequestBuilder::|public|url_template:str msgraph_beta.generated.deviceManagement.comanagedDevices.item.triggerConfigurationManagerAction.TriggerConfigurationManagerActionRequestBuilder::|public|with_url(raw_url:str):TriggerConfigurationManagerActionRequestBuilder +msgraph_beta.generated.deviceManagement.comanagedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionPostRequestBody::|public|additional_data():dict[str, Any] +msgraph_beta.generated.deviceManagement.comanagedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionPostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.deviceManagement.comanagedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionPostRequestBody::|public|apple_care_token():str +msgraph_beta.generated.deviceManagement.comanagedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionPostRequestBody::|public|apple_care_token(value:str):None +msgraph_beta.generated.deviceManagement.comanagedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.deviceManagement.comanagedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionPostRequestBody::|public|constructor():None +msgraph_beta.generated.deviceManagement.comanagedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionPostRequestBody::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.deviceManagement.comanagedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.deviceManagement.comanagedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):TriggerEnhancedLogCollectionPostRequestBody +msgraph_beta.generated.deviceManagement.comanagedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.deviceManagement.comanagedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.deviceManagement.comanagedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionRequestBuilder.TriggerEnhancedLogCollectionRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.deviceManagement.comanagedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.deviceManagement.comanagedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.deviceManagement.comanagedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionRequestBuilder::|public|post(body:TriggerEnhancedLogCollectionPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.deviceManagement.comanagedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.deviceManagement.comanagedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionRequestBuilder::|public|to_post_request_information(body:TriggerEnhancedLogCollectionPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.deviceManagement.comanagedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionRequestBuilder::|public|url_template:str +msgraph_beta.generated.deviceManagement.comanagedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionRequestBuilder::|public|with_url(raw_url:str):TriggerEnhancedLogCollectionRequestBuilder msgraph_beta.generated.deviceManagement.comanagedDevices.item.updateWindowsDeviceAccount.UpdateWindowsDeviceAccountPostRequestBody::|public|additional_data():dict[str, Any] msgraph_beta.generated.deviceManagement.comanagedDevices.item.updateWindowsDeviceAccount.UpdateWindowsDeviceAccountPostRequestBody::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.deviceManagement.comanagedDevices.item.updateWindowsDeviceAccount.UpdateWindowsDeviceAccountPostRequestBody::|public|backing_store:BackingStore @@ -49387,6 +49339,15 @@ msgraph_beta.generated.deviceManagement.managedDevices.item.bypassActivationLock msgraph_beta.generated.deviceManagement.managedDevices.item.bypassActivationLock.BypassActivationLockRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.deviceManagement.managedDevices.item.bypassActivationLock.BypassActivationLockRequestBuilder::|public|url_template:str msgraph_beta.generated.deviceManagement.managedDevices.item.bypassActivationLock.BypassActivationLockRequestBuilder::|public|with_url(raw_url:str):BypassActivationLockRequestBuilder +msgraph_beta.generated.deviceManagement.managedDevices.item.cancelEnhancedLogCollection.CancelEnhancedLogCollectionRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.deviceManagement.managedDevices.item.cancelEnhancedLogCollection.CancelEnhancedLogCollectionRequestBuilder.CancelEnhancedLogCollectionRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.deviceManagement.managedDevices.item.cancelEnhancedLogCollection.CancelEnhancedLogCollectionRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.deviceManagement.managedDevices.item.cancelEnhancedLogCollection.CancelEnhancedLogCollectionRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.deviceManagement.managedDevices.item.cancelEnhancedLogCollection.CancelEnhancedLogCollectionRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.deviceManagement.managedDevices.item.cancelEnhancedLogCollection.CancelEnhancedLogCollectionRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.deviceManagement.managedDevices.item.cancelEnhancedLogCollection.CancelEnhancedLogCollectionRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.deviceManagement.managedDevices.item.cancelEnhancedLogCollection.CancelEnhancedLogCollectionRequestBuilder::|public|url_template:str +msgraph_beta.generated.deviceManagement.managedDevices.item.cancelEnhancedLogCollection.CancelEnhancedLogCollectionRequestBuilder::|public|with_url(raw_url:str):CancelEnhancedLogCollectionRequestBuilder msgraph_beta.generated.deviceManagement.managedDevices.item.changeAssignments.ChangeAssignmentsPostRequestBody::|public|additional_data():dict[str, Any] msgraph_beta.generated.deviceManagement.managedDevices.item.changeAssignments.ChangeAssignmentsPostRequestBody::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.deviceManagement.managedDevices.item.changeAssignments.ChangeAssignmentsPostRequestBody::|public|backing_store:BackingStore @@ -49957,6 +49918,7 @@ msgraph_beta.generated.deviceManagement.managedDevices.item.ManagedDeviceItemReq msgraph_beta.generated.deviceManagement.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|activate_device_esim:ActivateDeviceEsimRequestBuilder msgraph_beta.generated.deviceManagement.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|assignment_filter_evaluation_status_details:AssignmentFilterEvaluationStatusDetailsRequestBuilder msgraph_beta.generated.deviceManagement.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|bypass_activation_lock:BypassActivationLockRequestBuilder +msgraph_beta.generated.deviceManagement.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|cancel_enhanced_log_collection:CancelEnhancedLogCollectionRequestBuilder msgraph_beta.generated.deviceManagement.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|change_assignments:ChangeAssignmentsRequestBuilder msgraph_beta.generated.deviceManagement.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|clean_windows_device:CleanWindowsDeviceRequestBuilder msgraph_beta.generated.deviceManagement.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None @@ -50018,6 +49980,7 @@ msgraph_beta.generated.deviceManagement.managedDevices.item.ManagedDeviceItemReq msgraph_beta.generated.deviceManagement.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ManagedDeviceItemRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.deviceManagement.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|to_patch_request_information(body:ManagedDevice; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.deviceManagement.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|trigger_configuration_manager_action:TriggerConfigurationManagerActionRequestBuilder +msgraph_beta.generated.deviceManagement.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|trigger_enhanced_log_collection:TriggerEnhancedLogCollectionRequestBuilder msgraph_beta.generated.deviceManagement.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|update_windows_device_account:UpdateWindowsDeviceAccountRequestBuilder msgraph_beta.generated.deviceManagement.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|url_template:str msgraph_beta.generated.deviceManagement.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|users:UsersRequestBuilder @@ -50523,6 +50486,25 @@ msgraph_beta.generated.deviceManagement.managedDevices.item.triggerConfiguration msgraph_beta.generated.deviceManagement.managedDevices.item.triggerConfigurationManagerAction.TriggerConfigurationManagerActionRequestBuilder::|public|to_post_request_information(body:TriggerConfigurationManagerActionPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.deviceManagement.managedDevices.item.triggerConfigurationManagerAction.TriggerConfigurationManagerActionRequestBuilder::|public|url_template:str msgraph_beta.generated.deviceManagement.managedDevices.item.triggerConfigurationManagerAction.TriggerConfigurationManagerActionRequestBuilder::|public|with_url(raw_url:str):TriggerConfigurationManagerActionRequestBuilder +msgraph_beta.generated.deviceManagement.managedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionPostRequestBody::|public|additional_data():dict[str, Any] +msgraph_beta.generated.deviceManagement.managedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionPostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.deviceManagement.managedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionPostRequestBody::|public|apple_care_token():str +msgraph_beta.generated.deviceManagement.managedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionPostRequestBody::|public|apple_care_token(value:str):None +msgraph_beta.generated.deviceManagement.managedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.deviceManagement.managedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionPostRequestBody::|public|constructor():None +msgraph_beta.generated.deviceManagement.managedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionPostRequestBody::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.deviceManagement.managedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.deviceManagement.managedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):TriggerEnhancedLogCollectionPostRequestBody +msgraph_beta.generated.deviceManagement.managedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.deviceManagement.managedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.deviceManagement.managedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionRequestBuilder.TriggerEnhancedLogCollectionRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.deviceManagement.managedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.deviceManagement.managedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.deviceManagement.managedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionRequestBuilder::|public|post(body:TriggerEnhancedLogCollectionPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.deviceManagement.managedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.deviceManagement.managedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionRequestBuilder::|public|to_post_request_information(body:TriggerEnhancedLogCollectionPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.deviceManagement.managedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionRequestBuilder::|public|url_template:str +msgraph_beta.generated.deviceManagement.managedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionRequestBuilder::|public|with_url(raw_url:str):TriggerEnhancedLogCollectionRequestBuilder msgraph_beta.generated.deviceManagement.managedDevices.item.updateWindowsDeviceAccount.UpdateWindowsDeviceAccountPostRequestBody::|public|additional_data():dict[str, Any] msgraph_beta.generated.deviceManagement.managedDevices.item.updateWindowsDeviceAccount.UpdateWindowsDeviceAccountPostRequestBody::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.deviceManagement.managedDevices.item.updateWindowsDeviceAccount.UpdateWindowsDeviceAccountPostRequestBody::|public|backing_store:BackingStore @@ -52240,13 +52222,23 @@ msgraph_beta.generated.deviceManagement.remoteAssistancePartners.count.CountRequ msgraph_beta.generated.deviceManagement.remoteAssistancePartners.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.deviceManagement.remoteAssistancePartners.count.CountRequestBuilder::|public|url_template:str msgraph_beta.generated.deviceManagement.remoteAssistancePartners.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph_beta.generated.deviceManagement.remoteAssistancePartners.item.beginOnboarding.BeginOnboardingPostRequestBody::|public|additional_data():dict[str, Any] +msgraph_beta.generated.deviceManagement.remoteAssistancePartners.item.beginOnboarding.BeginOnboardingPostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.deviceManagement.remoteAssistancePartners.item.beginOnboarding.BeginOnboardingPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.deviceManagement.remoteAssistancePartners.item.beginOnboarding.BeginOnboardingPostRequestBody::|public|constructor():None +msgraph_beta.generated.deviceManagement.remoteAssistancePartners.item.beginOnboarding.BeginOnboardingPostRequestBody::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.deviceManagement.remoteAssistancePartners.item.beginOnboarding.BeginOnboardingPostRequestBody::|public|partner_domain():str +msgraph_beta.generated.deviceManagement.remoteAssistancePartners.item.beginOnboarding.BeginOnboardingPostRequestBody::|public|partner_domain(value:str):None +msgraph_beta.generated.deviceManagement.remoteAssistancePartners.item.beginOnboarding.BeginOnboardingPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.deviceManagement.remoteAssistancePartners.item.beginOnboarding.BeginOnboardingPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):BeginOnboardingPostRequestBody +msgraph_beta.generated.deviceManagement.remoteAssistancePartners.item.beginOnboarding.BeginOnboardingPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.deviceManagement.remoteAssistancePartners.item.beginOnboarding.BeginOnboardingRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.deviceManagement.remoteAssistancePartners.item.beginOnboarding.BeginOnboardingRequestBuilder.BeginOnboardingRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.deviceManagement.remoteAssistancePartners.item.beginOnboarding.BeginOnboardingRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None msgraph_beta.generated.deviceManagement.remoteAssistancePartners.item.beginOnboarding.BeginOnboardingRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] -msgraph_beta.generated.deviceManagement.remoteAssistancePartners.item.beginOnboarding.BeginOnboardingRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.deviceManagement.remoteAssistancePartners.item.beginOnboarding.BeginOnboardingRequestBuilder::|public|post(body:BeginOnboardingPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):None msgraph_beta.generated.deviceManagement.remoteAssistancePartners.item.beginOnboarding.BeginOnboardingRequestBuilder::|public|request_adapter:RequestAdapter -msgraph_beta.generated.deviceManagement.remoteAssistancePartners.item.beginOnboarding.BeginOnboardingRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.deviceManagement.remoteAssistancePartners.item.beginOnboarding.BeginOnboardingRequestBuilder::|public|to_post_request_information(body:BeginOnboardingPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.deviceManagement.remoteAssistancePartners.item.beginOnboarding.BeginOnboardingRequestBuilder::|public|url_template:str msgraph_beta.generated.deviceManagement.remoteAssistancePartners.item.beginOnboarding.BeginOnboardingRequestBuilder::|public|with_url(raw_url:str):BeginOnboardingRequestBuilder msgraph_beta.generated.deviceManagement.remoteAssistancePartners.item.disconnect.DisconnectRequestBuilder-->BaseRequestBuilder @@ -65126,6 +65118,7 @@ msgraph_beta.generated.devices.DevicesRequestBuilder::|public|get_by_ids:GetById msgraph_beta.generated.devices.DevicesRequestBuilder::|public|get_user_owned_objects:GetUserOwnedObjectsRequestBuilder msgraph_beta.generated.devices.DevicesRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] msgraph_beta.generated.devices.DevicesRequestBuilder::|public|post(body:Device; request_configuration?:RequestConfiguration[QueryParameters]):Device +msgraph_beta.generated.devices.DevicesRequestBuilder::|public|provision:ProvisionRequestBuilder msgraph_beta.generated.devices.DevicesRequestBuilder::|public|request_adapter:RequestAdapter msgraph_beta.generated.devices.DevicesRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[DevicesRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.devices.DevicesRequestBuilder::|public|to_post_request_information(body:Device; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation @@ -66313,6 +66306,25 @@ msgraph_beta.generated.devices.item.usageRights.UsageRightsRequestBuilder::|publ msgraph_beta.generated.devices.item.usageRights.UsageRightsRequestBuilder::|public|to_post_request_information(body:UsageRight; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.devices.item.usageRights.UsageRightsRequestBuilder::|public|url_template:str msgraph_beta.generated.devices.item.usageRights.UsageRightsRequestBuilder::|public|with_url(raw_url:str):UsageRightsRequestBuilder +msgraph_beta.generated.devices.provision.ProvisionPostRequestBody::|public|additional_data():dict[str, Any] +msgraph_beta.generated.devices.provision.ProvisionPostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.devices.provision.ProvisionPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.devices.provision.ProvisionPostRequestBody::|public|constructor():None +msgraph_beta.generated.devices.provision.ProvisionPostRequestBody::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.devices.provision.ProvisionPostRequestBody::|public|provisioning_blob():str +msgraph_beta.generated.devices.provision.ProvisionPostRequestBody::|public|provisioning_blob(value:str):None +msgraph_beta.generated.devices.provision.ProvisionPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.devices.provision.ProvisionPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):ProvisionPostRequestBody +msgraph_beta.generated.devices.provision.ProvisionPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.devices.provision.ProvisionRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.devices.provision.ProvisionRequestBuilder.ProvisionRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.devices.provision.ProvisionRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.devices.provision.ProvisionRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.devices.provision.ProvisionRequestBuilder::|public|post(body:ProvisionPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):ProvisionResponse +msgraph_beta.generated.devices.provision.ProvisionRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.devices.provision.ProvisionRequestBuilder::|public|to_post_request_information(body:ProvisionPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.devices.provision.ProvisionRequestBuilder::|public|url_template:str +msgraph_beta.generated.devices.provision.ProvisionRequestBuilder::|public|with_url(raw_url:str):ProvisionRequestBuilder msgraph_beta.generated.devices.validateProperties.ValidatePropertiesPostRequestBody::|public|additional_data():dict[str, Any] msgraph_beta.generated.devices.validateProperties.ValidatePropertiesPostRequestBody::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.devices.validateProperties.ValidatePropertiesPostRequestBody::|public|backing_store:BackingStore @@ -68249,6 +68261,34 @@ msgraph_beta.generated.directory.federationConfigurations.item.IdentityProviderB msgraph_beta.generated.directory.federationConfigurations.item.IdentityProviderBaseItemRequestBuilder::|public|to_patch_request_information(body:IdentityProviderBase; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.directory.federationConfigurations.item.IdentityProviderBaseItemRequestBuilder::|public|url_template:str msgraph_beta.generated.directory.federationConfigurations.item.IdentityProviderBaseItemRequestBuilder::|public|with_url(raw_url:str):IdentityProviderBaseItemRequestBuilder +msgraph_beta.generated.directory.impactedResources.addTag.AddTagPostRequestBody::|public|additional_data():dict[str, Any] +msgraph_beta.generated.directory.impactedResources.addTag.AddTagPostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.directory.impactedResources.addTag.AddTagPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.directory.impactedResources.addTag.AddTagPostRequestBody::|public|constructor():None +msgraph_beta.generated.directory.impactedResources.addTag.AddTagPostRequestBody::|public|display_name():str +msgraph_beta.generated.directory.impactedResources.addTag.AddTagPostRequestBody::|public|display_name(value:str):None +msgraph_beta.generated.directory.impactedResources.addTag.AddTagPostRequestBody::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.directory.impactedResources.addTag.AddTagPostRequestBody::|public|resource_ids():list[str] +msgraph_beta.generated.directory.impactedResources.addTag.AddTagPostRequestBody::|public|resource_ids(value:list[str]):None +msgraph_beta.generated.directory.impactedResources.addTag.AddTagPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.directory.impactedResources.addTag.AddTagPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):AddTagPostRequestBody +msgraph_beta.generated.directory.impactedResources.addTag.AddTagPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.directory.impactedResources.addTag.AddTagPostResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.directory.impactedResources.addTag.AddTagPostResponse::|public|constructor():None +msgraph_beta.generated.directory.impactedResources.addTag.AddTagPostResponse::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.directory.impactedResources.addTag.AddTagPostResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.directory.impactedResources.addTag.AddTagPostResponse::|public|value():list[ImpactedResource] +msgraph_beta.generated.directory.impactedResources.addTag.AddTagPostResponse::|public|value(value:list[ImpactedResource]):None +msgraph_beta.generated.directory.impactedResources.addTag.AddTagPostResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):AddTagPostResponse +msgraph_beta.generated.directory.impactedResources.addTag.AddTagRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.directory.impactedResources.addTag.AddTagRequestBuilder.AddTagRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.impactedResources.addTag.AddTagRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.directory.impactedResources.addTag.AddTagRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.directory.impactedResources.addTag.AddTagRequestBuilder::|public|post(body:AddTagPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):AddTagPostResponse +msgraph_beta.generated.directory.impactedResources.addTag.AddTagRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.impactedResources.addTag.AddTagRequestBuilder::|public|to_post_request_information(body:AddTagPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.directory.impactedResources.addTag.AddTagRequestBuilder::|public|url_template:str +msgraph_beta.generated.directory.impactedResources.addTag.AddTagRequestBuilder::|public|with_url(raw_url:str):AddTagRequestBuilder msgraph_beta.generated.directory.impactedResources.count.CountRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.directory.impactedResources.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str msgraph_beta.generated.directory.impactedResources.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str @@ -68273,17 +68313,56 @@ msgraph_beta.generated.directory.impactedResources.ImpactedResourcesRequestBuild msgraph_beta.generated.directory.impactedResources.ImpactedResourcesRequestBuilder.ImpactedResourcesRequestBuilderGetQueryParameters::|public|top:int msgraph_beta.generated.directory.impactedResources.ImpactedResourcesRequestBuilder.ImpactedResourcesRequestBuilderGetRequestConfiguration-->RequestConfiguration[ImpactedResourcesRequestBuilderGetQueryParameters] msgraph_beta.generated.directory.impactedResources.ImpactedResourcesRequestBuilder.ImpactedResourcesRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.impactedResources.ImpactedResourcesRequestBuilder::|public|add_tag:AddTagRequestBuilder msgraph_beta.generated.directory.impactedResources.ImpactedResourcesRequestBuilder::|public|by_impacted_resource_id(impacted_resource_id:str):ImpactedResourceItemRequestBuilder msgraph_beta.generated.directory.impactedResources.ImpactedResourcesRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None msgraph_beta.generated.directory.impactedResources.ImpactedResourcesRequestBuilder::|public|count:CountRequestBuilder msgraph_beta.generated.directory.impactedResources.ImpactedResourcesRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ImpactedResourcesRequestBuilderGetQueryParameters]):ImpactedResourceCollectionResponse msgraph_beta.generated.directory.impactedResources.ImpactedResourcesRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] msgraph_beta.generated.directory.impactedResources.ImpactedResourcesRequestBuilder::|public|post(body:ImpactedResource; request_configuration?:RequestConfiguration[QueryParameters]):ImpactedResource +msgraph_beta.generated.directory.impactedResources.ImpactedResourcesRequestBuilder::|public|remove_tag:RemoveTagRequestBuilder msgraph_beta.generated.directory.impactedResources.ImpactedResourcesRequestBuilder::|public|request_adapter:RequestAdapter msgraph_beta.generated.directory.impactedResources.ImpactedResourcesRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ImpactedResourcesRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.directory.impactedResources.ImpactedResourcesRequestBuilder::|public|to_post_request_information(body:ImpactedResource; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.directory.impactedResources.ImpactedResourcesRequestBuilder::|public|url_template:str msgraph_beta.generated.directory.impactedResources.ImpactedResourcesRequestBuilder::|public|with_url(raw_url:str):ImpactedResourcesRequestBuilder +msgraph_beta.generated.directory.impactedResources.item.acceptRisk.AcceptRiskRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.directory.impactedResources.item.acceptRisk.AcceptRiskRequestBuilder.AcceptRiskRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.impactedResources.item.acceptRisk.AcceptRiskRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.directory.impactedResources.item.acceptRisk.AcceptRiskRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.directory.impactedResources.item.acceptRisk.AcceptRiskRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):ImpactedResource +msgraph_beta.generated.directory.impactedResources.item.acceptRisk.AcceptRiskRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.impactedResources.item.acceptRisk.AcceptRiskRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.directory.impactedResources.item.acceptRisk.AcceptRiskRequestBuilder::|public|url_template:str +msgraph_beta.generated.directory.impactedResources.item.acceptRisk.AcceptRiskRequestBuilder::|public|with_url(raw_url:str):AcceptRiskRequestBuilder +msgraph_beta.generated.directory.impactedResources.item.addTag.AddTagPostRequestBody::|public|additional_data():dict[str, Any] +msgraph_beta.generated.directory.impactedResources.item.addTag.AddTagPostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.directory.impactedResources.item.addTag.AddTagPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.directory.impactedResources.item.addTag.AddTagPostRequestBody::|public|constructor():None +msgraph_beta.generated.directory.impactedResources.item.addTag.AddTagPostRequestBody::|public|display_name():str +msgraph_beta.generated.directory.impactedResources.item.addTag.AddTagPostRequestBody::|public|display_name(value:str):None +msgraph_beta.generated.directory.impactedResources.item.addTag.AddTagPostRequestBody::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.directory.impactedResources.item.addTag.AddTagPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.directory.impactedResources.item.addTag.AddTagPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):AddTagPostRequestBody +msgraph_beta.generated.directory.impactedResources.item.addTag.AddTagPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.directory.impactedResources.item.addTag.AddTagRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.directory.impactedResources.item.addTag.AddTagRequestBuilder.AddTagRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.impactedResources.item.addTag.AddTagRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.directory.impactedResources.item.addTag.AddTagRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.directory.impactedResources.item.addTag.AddTagRequestBuilder::|public|post(body:AddTagPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RecommendationTag +msgraph_beta.generated.directory.impactedResources.item.addTag.AddTagRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.impactedResources.item.addTag.AddTagRequestBuilder::|public|to_post_request_information(body:AddTagPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.directory.impactedResources.item.addTag.AddTagRequestBuilder::|public|url_template:str +msgraph_beta.generated.directory.impactedResources.item.addTag.AddTagRequestBuilder::|public|with_url(raw_url:str):AddTagRequestBuilder +msgraph_beta.generated.directory.impactedResources.item.applyAlternateMitigation.ApplyAlternateMitigationRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.directory.impactedResources.item.applyAlternateMitigation.ApplyAlternateMitigationRequestBuilder.ApplyAlternateMitigationRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.impactedResources.item.applyAlternateMitigation.ApplyAlternateMitigationRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.directory.impactedResources.item.applyAlternateMitigation.ApplyAlternateMitigationRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.directory.impactedResources.item.applyAlternateMitigation.ApplyAlternateMitigationRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):ImpactedResource +msgraph_beta.generated.directory.impactedResources.item.applyAlternateMitigation.ApplyAlternateMitigationRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.impactedResources.item.applyAlternateMitigation.ApplyAlternateMitigationRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.directory.impactedResources.item.applyAlternateMitigation.ApplyAlternateMitigationRequestBuilder::|public|url_template:str +msgraph_beta.generated.directory.impactedResources.item.applyAlternateMitigation.ApplyAlternateMitigationRequestBuilder::|public|with_url(raw_url:str):ApplyAlternateMitigationRequestBuilder msgraph_beta.generated.directory.impactedResources.item.complete.CompleteRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.directory.impactedResources.item.complete.CompleteRequestBuilder.CompleteRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.directory.impactedResources.item.complete.CompleteRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None @@ -68319,21 +68398,36 @@ msgraph_beta.generated.directory.impactedResources.item.ImpactedResourceItemRequ msgraph_beta.generated.directory.impactedResources.item.ImpactedResourceItemRequestBuilder.ImpactedResourceItemRequestBuilderGetQueryParameters::|public|select:list[str] msgraph_beta.generated.directory.impactedResources.item.ImpactedResourceItemRequestBuilder.ImpactedResourceItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[ImpactedResourceItemRequestBuilderGetQueryParameters] msgraph_beta.generated.directory.impactedResources.item.ImpactedResourceItemRequestBuilder.ImpactedResourceItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|accept_risk:AcceptRiskRequestBuilder +msgraph_beta.generated.directory.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|add_tag:AddTagRequestBuilder +msgraph_beta.generated.directory.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|apply_alternate_mitigation:ApplyAlternateMitigationRequestBuilder msgraph_beta.generated.directory.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|complete:CompleteRequestBuilder msgraph_beta.generated.directory.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None msgraph_beta.generated.directory.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None msgraph_beta.generated.directory.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|dismiss:DismissRequestBuilder msgraph_beta.generated.directory.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ImpactedResourceItemRequestBuilderGetQueryParameters]):ImpactedResource +msgraph_beta.generated.directory.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|mark_planned:MarkPlannedRequestBuilder msgraph_beta.generated.directory.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|patch(body:ImpactedResource; request_configuration?:RequestConfiguration[QueryParameters]):ImpactedResource msgraph_beta.generated.directory.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] msgraph_beta.generated.directory.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|postpone:PostponeRequestBuilder msgraph_beta.generated.directory.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|reactivate:ReactivateRequestBuilder +msgraph_beta.generated.directory.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|remove_tag:RemoveTagRequestBuilder msgraph_beta.generated.directory.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|tags:TagsRequestBuilder msgraph_beta.generated.directory.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.directory.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ImpactedResourceItemRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.directory.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|to_patch_request_information(body:ImpactedResource; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.directory.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|url_template:str msgraph_beta.generated.directory.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|with_url(raw_url:str):ImpactedResourceItemRequestBuilder +msgraph_beta.generated.directory.impactedResources.item.markPlanned.MarkPlannedRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.directory.impactedResources.item.markPlanned.MarkPlannedRequestBuilder.MarkPlannedRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.impactedResources.item.markPlanned.MarkPlannedRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.directory.impactedResources.item.markPlanned.MarkPlannedRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.directory.impactedResources.item.markPlanned.MarkPlannedRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):ImpactedResource +msgraph_beta.generated.directory.impactedResources.item.markPlanned.MarkPlannedRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.impactedResources.item.markPlanned.MarkPlannedRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.directory.impactedResources.item.markPlanned.MarkPlannedRequestBuilder::|public|url_template:str +msgraph_beta.generated.directory.impactedResources.item.markPlanned.MarkPlannedRequestBuilder::|public|with_url(raw_url:str):MarkPlannedRequestBuilder msgraph_beta.generated.directory.impactedResources.item.postpone.PostponePostRequestBody::|public|additional_data():dict[str, Any] msgraph_beta.generated.directory.impactedResources.item.postpone.PostponePostRequestBody::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.directory.impactedResources.item.postpone.PostponePostRequestBody::|public|backing_store:BackingStore @@ -68362,6 +68456,106 @@ msgraph_beta.generated.directory.impactedResources.item.reactivate.ReactivateReq msgraph_beta.generated.directory.impactedResources.item.reactivate.ReactivateRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.directory.impactedResources.item.reactivate.ReactivateRequestBuilder::|public|url_template:str msgraph_beta.generated.directory.impactedResources.item.reactivate.ReactivateRequestBuilder::|public|with_url(raw_url:str):ReactivateRequestBuilder +msgraph_beta.generated.directory.impactedResources.item.removeTag.RemoveTagPostRequestBody::|public|additional_data():dict[str, Any] +msgraph_beta.generated.directory.impactedResources.item.removeTag.RemoveTagPostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.directory.impactedResources.item.removeTag.RemoveTagPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.directory.impactedResources.item.removeTag.RemoveTagPostRequestBody::|public|constructor():None +msgraph_beta.generated.directory.impactedResources.item.removeTag.RemoveTagPostRequestBody::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.directory.impactedResources.item.removeTag.RemoveTagPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.directory.impactedResources.item.removeTag.RemoveTagPostRequestBody::|public|tag_id():str +msgraph_beta.generated.directory.impactedResources.item.removeTag.RemoveTagPostRequestBody::|public|tag_id(value:str):None +msgraph_beta.generated.directory.impactedResources.item.removeTag.RemoveTagPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):RemoveTagPostRequestBody +msgraph_beta.generated.directory.impactedResources.item.removeTag.RemoveTagPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.directory.impactedResources.item.removeTag.RemoveTagRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.directory.impactedResources.item.removeTag.RemoveTagRequestBuilder.RemoveTagRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.impactedResources.item.removeTag.RemoveTagRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.directory.impactedResources.item.removeTag.RemoveTagRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.directory.impactedResources.item.removeTag.RemoveTagRequestBuilder::|public|post(body:RemoveTagPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):ImpactedResource +msgraph_beta.generated.directory.impactedResources.item.removeTag.RemoveTagRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.impactedResources.item.removeTag.RemoveTagRequestBuilder::|public|to_post_request_information(body:RemoveTagPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.directory.impactedResources.item.removeTag.RemoveTagRequestBuilder::|public|url_template:str +msgraph_beta.generated.directory.impactedResources.item.removeTag.RemoveTagRequestBuilder::|public|with_url(raw_url:str):RemoveTagRequestBuilder +msgraph_beta.generated.directory.impactedResources.item.tags.count.CountRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.directory.impactedResources.item.tags.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.directory.impactedResources.item.tags.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.directory.impactedResources.item.tags.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.directory.impactedResources.item.tags.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph_beta.generated.directory.impactedResources.item.tags.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.directory.impactedResources.item.tags.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph_beta.generated.directory.impactedResources.item.tags.count.CountRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.directory.impactedResources.item.tags.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.impactedResources.item.tags.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.directory.impactedResources.item.tags.count.CountRequestBuilder::|public|url_template:str +msgraph_beta.generated.directory.impactedResources.item.tags.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph_beta.generated.directory.impactedResources.item.tags.item.RecommendationTagItemRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.directory.impactedResources.item.tags.item.RecommendationTagItemRequestBuilder.RecommendationTagItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.impactedResources.item.tags.item.RecommendationTagItemRequestBuilder.RecommendationTagItemRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.directory.impactedResources.item.tags.item.RecommendationTagItemRequestBuilder.RecommendationTagItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.directory.impactedResources.item.tags.item.RecommendationTagItemRequestBuilder.RecommendationTagItemRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.directory.impactedResources.item.tags.item.RecommendationTagItemRequestBuilder.RecommendationTagItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[RecommendationTagItemRequestBuilderGetQueryParameters] +msgraph_beta.generated.directory.impactedResources.item.tags.item.RecommendationTagItemRequestBuilder.RecommendationTagItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.impactedResources.item.tags.item.RecommendationTagItemRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.directory.impactedResources.item.tags.item.RecommendationTagItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.directory.impactedResources.item.tags.item.RecommendationTagItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[RecommendationTagItemRequestBuilderGetQueryParameters]):RecommendationTag +msgraph_beta.generated.directory.impactedResources.item.tags.item.RecommendationTagItemRequestBuilder::|public|patch(body:RecommendationTag; request_configuration?:RequestConfiguration[QueryParameters]):RecommendationTag +msgraph_beta.generated.directory.impactedResources.item.tags.item.RecommendationTagItemRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.directory.impactedResources.item.tags.item.RecommendationTagItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.impactedResources.item.tags.item.RecommendationTagItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.directory.impactedResources.item.tags.item.RecommendationTagItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[RecommendationTagItemRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.directory.impactedResources.item.tags.item.RecommendationTagItemRequestBuilder::|public|to_patch_request_information(body:RecommendationTag; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.directory.impactedResources.item.tags.item.RecommendationTagItemRequestBuilder::|public|url_template:str +msgraph_beta.generated.directory.impactedResources.item.tags.item.RecommendationTagItemRequestBuilder::|public|with_url(raw_url:str):RecommendationTagItemRequestBuilder +msgraph_beta.generated.directory.impactedResources.item.tags.TagsRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.directory.impactedResources.item.tags.TagsRequestBuilder.TagsRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.directory.impactedResources.item.tags.TagsRequestBuilder.TagsRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.directory.impactedResources.item.tags.TagsRequestBuilder.TagsRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.directory.impactedResources.item.tags.TagsRequestBuilder.TagsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.directory.impactedResources.item.tags.TagsRequestBuilder.TagsRequestBuilderGetQueryParameters::|public|orderby:list[str] +msgraph_beta.generated.directory.impactedResources.item.tags.TagsRequestBuilder.TagsRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.directory.impactedResources.item.tags.TagsRequestBuilder.TagsRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.directory.impactedResources.item.tags.TagsRequestBuilder.TagsRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.directory.impactedResources.item.tags.TagsRequestBuilder.TagsRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.directory.impactedResources.item.tags.TagsRequestBuilder.TagsRequestBuilderGetRequestConfiguration-->RequestConfiguration[TagsRequestBuilderGetQueryParameters] +msgraph_beta.generated.directory.impactedResources.item.tags.TagsRequestBuilder.TagsRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.impactedResources.item.tags.TagsRequestBuilder::|public|by_recommendation_tag_id(recommendation_tag_id:str):RecommendationTagItemRequestBuilder +msgraph_beta.generated.directory.impactedResources.item.tags.TagsRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.directory.impactedResources.item.tags.TagsRequestBuilder::|public|count:CountRequestBuilder +msgraph_beta.generated.directory.impactedResources.item.tags.TagsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[TagsRequestBuilderGetQueryParameters]):RecommendationTagCollectionResponse +msgraph_beta.generated.directory.impactedResources.item.tags.TagsRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.directory.impactedResources.item.tags.TagsRequestBuilder::|public|post(body:RecommendationTag; request_configuration?:RequestConfiguration[QueryParameters]):RecommendationTag +msgraph_beta.generated.directory.impactedResources.item.tags.TagsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.impactedResources.item.tags.TagsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[TagsRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.directory.impactedResources.item.tags.TagsRequestBuilder::|public|to_post_request_information(body:RecommendationTag; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.directory.impactedResources.item.tags.TagsRequestBuilder::|public|url_template:str +msgraph_beta.generated.directory.impactedResources.item.tags.TagsRequestBuilder::|public|with_url(raw_url:str):TagsRequestBuilder +msgraph_beta.generated.directory.impactedResources.removeTag.RemoveTagPostRequestBody::|public|additional_data():dict[str, Any] +msgraph_beta.generated.directory.impactedResources.removeTag.RemoveTagPostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.directory.impactedResources.removeTag.RemoveTagPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.directory.impactedResources.removeTag.RemoveTagPostRequestBody::|public|constructor():None +msgraph_beta.generated.directory.impactedResources.removeTag.RemoveTagPostRequestBody::|public|display_name():str +msgraph_beta.generated.directory.impactedResources.removeTag.RemoveTagPostRequestBody::|public|display_name(value:str):None +msgraph_beta.generated.directory.impactedResources.removeTag.RemoveTagPostRequestBody::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.directory.impactedResources.removeTag.RemoveTagPostRequestBody::|public|resource_ids():list[str] +msgraph_beta.generated.directory.impactedResources.removeTag.RemoveTagPostRequestBody::|public|resource_ids(value:list[str]):None +msgraph_beta.generated.directory.impactedResources.removeTag.RemoveTagPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.directory.impactedResources.removeTag.RemoveTagPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):RemoveTagPostRequestBody +msgraph_beta.generated.directory.impactedResources.removeTag.RemoveTagPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.directory.impactedResources.removeTag.RemoveTagPostResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.directory.impactedResources.removeTag.RemoveTagPostResponse::|public|constructor():None +msgraph_beta.generated.directory.impactedResources.removeTag.RemoveTagPostResponse::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.directory.impactedResources.removeTag.RemoveTagPostResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.directory.impactedResources.removeTag.RemoveTagPostResponse::|public|value():list[ImpactedResource] +msgraph_beta.generated.directory.impactedResources.removeTag.RemoveTagPostResponse::|public|value(value:list[ImpactedResource]):None +msgraph_beta.generated.directory.impactedResources.removeTag.RemoveTagPostResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):RemoveTagPostResponse +msgraph_beta.generated.directory.impactedResources.removeTag.RemoveTagRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.directory.impactedResources.removeTag.RemoveTagRequestBuilder.RemoveTagRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.impactedResources.removeTag.RemoveTagRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.directory.impactedResources.removeTag.RemoveTagRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.directory.impactedResources.removeTag.RemoveTagRequestBuilder::|public|post(body:RemoveTagPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RemoveTagPostResponse +msgraph_beta.generated.directory.impactedResources.removeTag.RemoveTagRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.impactedResources.removeTag.RemoveTagRequestBuilder::|public|to_post_request_information(body:RemoveTagPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.directory.impactedResources.removeTag.RemoveTagRequestBuilder::|public|url_template:str +msgraph_beta.generated.directory.impactedResources.removeTag.RemoveTagRequestBuilder::|public|with_url(raw_url:str):RemoveTagRequestBuilder msgraph_beta.generated.directory.inboundSharedUserProfiles.count.CountRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.directory.inboundSharedUserProfiles.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str msgraph_beta.generated.directory.inboundSharedUserProfiles.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str @@ -68846,6 +69040,43 @@ msgraph_beta.generated.directory.recommendations.count.CountRequestBuilder::|pub msgraph_beta.generated.directory.recommendations.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.directory.recommendations.count.CountRequestBuilder::|public|url_template:str msgraph_beta.generated.directory.recommendations.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph_beta.generated.directory.recommendations.item.acceptRisk.AcceptRiskRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.directory.recommendations.item.acceptRisk.AcceptRiskRequestBuilder.AcceptRiskRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.recommendations.item.acceptRisk.AcceptRiskRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.directory.recommendations.item.acceptRisk.AcceptRiskRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.directory.recommendations.item.acceptRisk.AcceptRiskRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):Recommendation +msgraph_beta.generated.directory.recommendations.item.acceptRisk.AcceptRiskRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.recommendations.item.acceptRisk.AcceptRiskRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.directory.recommendations.item.acceptRisk.AcceptRiskRequestBuilder::|public|url_template:str +msgraph_beta.generated.directory.recommendations.item.acceptRisk.AcceptRiskRequestBuilder::|public|with_url(raw_url:str):AcceptRiskRequestBuilder +msgraph_beta.generated.directory.recommendations.item.addTag.AddTagPostRequestBody::|public|additional_data():dict[str, Any] +msgraph_beta.generated.directory.recommendations.item.addTag.AddTagPostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.directory.recommendations.item.addTag.AddTagPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.directory.recommendations.item.addTag.AddTagPostRequestBody::|public|constructor():None +msgraph_beta.generated.directory.recommendations.item.addTag.AddTagPostRequestBody::|public|display_name():str +msgraph_beta.generated.directory.recommendations.item.addTag.AddTagPostRequestBody::|public|display_name(value:str):None +msgraph_beta.generated.directory.recommendations.item.addTag.AddTagPostRequestBody::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.directory.recommendations.item.addTag.AddTagPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.directory.recommendations.item.addTag.AddTagPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):AddTagPostRequestBody +msgraph_beta.generated.directory.recommendations.item.addTag.AddTagPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.directory.recommendations.item.addTag.AddTagRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.directory.recommendations.item.addTag.AddTagRequestBuilder.AddTagRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.recommendations.item.addTag.AddTagRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.directory.recommendations.item.addTag.AddTagRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.directory.recommendations.item.addTag.AddTagRequestBuilder::|public|post(body:AddTagPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RecommendationTag +msgraph_beta.generated.directory.recommendations.item.addTag.AddTagRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.recommendations.item.addTag.AddTagRequestBuilder::|public|to_post_request_information(body:AddTagPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.directory.recommendations.item.addTag.AddTagRequestBuilder::|public|url_template:str +msgraph_beta.generated.directory.recommendations.item.addTag.AddTagRequestBuilder::|public|with_url(raw_url:str):AddTagRequestBuilder +msgraph_beta.generated.directory.recommendations.item.applyAlternateMitigation.ApplyAlternateMitigationRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.directory.recommendations.item.applyAlternateMitigation.ApplyAlternateMitigationRequestBuilder.ApplyAlternateMitigationRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.recommendations.item.applyAlternateMitigation.ApplyAlternateMitigationRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.directory.recommendations.item.applyAlternateMitigation.ApplyAlternateMitigationRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.directory.recommendations.item.applyAlternateMitigation.ApplyAlternateMitigationRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):Recommendation +msgraph_beta.generated.directory.recommendations.item.applyAlternateMitigation.ApplyAlternateMitigationRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.recommendations.item.applyAlternateMitigation.ApplyAlternateMitigationRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.directory.recommendations.item.applyAlternateMitigation.ApplyAlternateMitigationRequestBuilder::|public|url_template:str +msgraph_beta.generated.directory.recommendations.item.applyAlternateMitigation.ApplyAlternateMitigationRequestBuilder::|public|with_url(raw_url:str):ApplyAlternateMitigationRequestBuilder msgraph_beta.generated.directory.recommendations.item.complete.CompleteRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.directory.recommendations.item.complete.CompleteRequestBuilder.CompleteRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.directory.recommendations.item.complete.CompleteRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None @@ -68874,6 +69105,34 @@ msgraph_beta.generated.directory.recommendations.item.dismiss.DismissRequestBuil msgraph_beta.generated.directory.recommendations.item.dismiss.DismissRequestBuilder::|public|to_post_request_information(body:DismissPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.directory.recommendations.item.dismiss.DismissRequestBuilder::|public|url_template:str msgraph_beta.generated.directory.recommendations.item.dismiss.DismissRequestBuilder::|public|with_url(raw_url:str):DismissRequestBuilder +msgraph_beta.generated.directory.recommendations.item.impactedResources.addTag.AddTagPostRequestBody::|public|additional_data():dict[str, Any] +msgraph_beta.generated.directory.recommendations.item.impactedResources.addTag.AddTagPostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.directory.recommendations.item.impactedResources.addTag.AddTagPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.directory.recommendations.item.impactedResources.addTag.AddTagPostRequestBody::|public|constructor():None +msgraph_beta.generated.directory.recommendations.item.impactedResources.addTag.AddTagPostRequestBody::|public|display_name():str +msgraph_beta.generated.directory.recommendations.item.impactedResources.addTag.AddTagPostRequestBody::|public|display_name(value:str):None +msgraph_beta.generated.directory.recommendations.item.impactedResources.addTag.AddTagPostRequestBody::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.directory.recommendations.item.impactedResources.addTag.AddTagPostRequestBody::|public|resource_ids():list[str] +msgraph_beta.generated.directory.recommendations.item.impactedResources.addTag.AddTagPostRequestBody::|public|resource_ids(value:list[str]):None +msgraph_beta.generated.directory.recommendations.item.impactedResources.addTag.AddTagPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.directory.recommendations.item.impactedResources.addTag.AddTagPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):AddTagPostRequestBody +msgraph_beta.generated.directory.recommendations.item.impactedResources.addTag.AddTagPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.directory.recommendations.item.impactedResources.addTag.AddTagPostResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.directory.recommendations.item.impactedResources.addTag.AddTagPostResponse::|public|constructor():None +msgraph_beta.generated.directory.recommendations.item.impactedResources.addTag.AddTagPostResponse::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.directory.recommendations.item.impactedResources.addTag.AddTagPostResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.directory.recommendations.item.impactedResources.addTag.AddTagPostResponse::|public|value():list[ImpactedResource] +msgraph_beta.generated.directory.recommendations.item.impactedResources.addTag.AddTagPostResponse::|public|value(value:list[ImpactedResource]):None +msgraph_beta.generated.directory.recommendations.item.impactedResources.addTag.AddTagPostResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):AddTagPostResponse +msgraph_beta.generated.directory.recommendations.item.impactedResources.addTag.AddTagRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.directory.recommendations.item.impactedResources.addTag.AddTagRequestBuilder.AddTagRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.recommendations.item.impactedResources.addTag.AddTagRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.directory.recommendations.item.impactedResources.addTag.AddTagRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.directory.recommendations.item.impactedResources.addTag.AddTagRequestBuilder::|public|post(body:AddTagPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):AddTagPostResponse +msgraph_beta.generated.directory.recommendations.item.impactedResources.addTag.AddTagRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.recommendations.item.impactedResources.addTag.AddTagRequestBuilder::|public|to_post_request_information(body:AddTagPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.directory.recommendations.item.impactedResources.addTag.AddTagRequestBuilder::|public|url_template:str +msgraph_beta.generated.directory.recommendations.item.impactedResources.addTag.AddTagRequestBuilder::|public|with_url(raw_url:str):AddTagRequestBuilder msgraph_beta.generated.directory.recommendations.item.impactedResources.count.CountRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.directory.recommendations.item.impactedResources.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str msgraph_beta.generated.directory.recommendations.item.impactedResources.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str @@ -68898,17 +69157,56 @@ msgraph_beta.generated.directory.recommendations.item.impactedResources.Impacted msgraph_beta.generated.directory.recommendations.item.impactedResources.ImpactedResourcesRequestBuilder.ImpactedResourcesRequestBuilderGetQueryParameters::|public|top:int msgraph_beta.generated.directory.recommendations.item.impactedResources.ImpactedResourcesRequestBuilder.ImpactedResourcesRequestBuilderGetRequestConfiguration-->RequestConfiguration[ImpactedResourcesRequestBuilderGetQueryParameters] msgraph_beta.generated.directory.recommendations.item.impactedResources.ImpactedResourcesRequestBuilder.ImpactedResourcesRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.recommendations.item.impactedResources.ImpactedResourcesRequestBuilder::|public|add_tag:AddTagRequestBuilder msgraph_beta.generated.directory.recommendations.item.impactedResources.ImpactedResourcesRequestBuilder::|public|by_impacted_resource_id(impacted_resource_id:str):ImpactedResourceItemRequestBuilder msgraph_beta.generated.directory.recommendations.item.impactedResources.ImpactedResourcesRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None msgraph_beta.generated.directory.recommendations.item.impactedResources.ImpactedResourcesRequestBuilder::|public|count:CountRequestBuilder msgraph_beta.generated.directory.recommendations.item.impactedResources.ImpactedResourcesRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ImpactedResourcesRequestBuilderGetQueryParameters]):ImpactedResourceCollectionResponse msgraph_beta.generated.directory.recommendations.item.impactedResources.ImpactedResourcesRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] msgraph_beta.generated.directory.recommendations.item.impactedResources.ImpactedResourcesRequestBuilder::|public|post(body:ImpactedResource; request_configuration?:RequestConfiguration[QueryParameters]):ImpactedResource +msgraph_beta.generated.directory.recommendations.item.impactedResources.ImpactedResourcesRequestBuilder::|public|remove_tag:RemoveTagRequestBuilder msgraph_beta.generated.directory.recommendations.item.impactedResources.ImpactedResourcesRequestBuilder::|public|request_adapter:RequestAdapter msgraph_beta.generated.directory.recommendations.item.impactedResources.ImpactedResourcesRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ImpactedResourcesRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.directory.recommendations.item.impactedResources.ImpactedResourcesRequestBuilder::|public|to_post_request_information(body:ImpactedResource; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.directory.recommendations.item.impactedResources.ImpactedResourcesRequestBuilder::|public|url_template:str msgraph_beta.generated.directory.recommendations.item.impactedResources.ImpactedResourcesRequestBuilder::|public|with_url(raw_url:str):ImpactedResourcesRequestBuilder +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.acceptRisk.AcceptRiskRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.acceptRisk.AcceptRiskRequestBuilder.AcceptRiskRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.acceptRisk.AcceptRiskRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.acceptRisk.AcceptRiskRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.acceptRisk.AcceptRiskRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):ImpactedResource +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.acceptRisk.AcceptRiskRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.acceptRisk.AcceptRiskRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.acceptRisk.AcceptRiskRequestBuilder::|public|url_template:str +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.acceptRisk.AcceptRiskRequestBuilder::|public|with_url(raw_url:str):AcceptRiskRequestBuilder +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.addTag.AddTagPostRequestBody::|public|additional_data():dict[str, Any] +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.addTag.AddTagPostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.addTag.AddTagPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.addTag.AddTagPostRequestBody::|public|constructor():None +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.addTag.AddTagPostRequestBody::|public|display_name():str +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.addTag.AddTagPostRequestBody::|public|display_name(value:str):None +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.addTag.AddTagPostRequestBody::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.addTag.AddTagPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.addTag.AddTagPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):AddTagPostRequestBody +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.addTag.AddTagPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.addTag.AddTagRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.addTag.AddTagRequestBuilder.AddTagRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.addTag.AddTagRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.addTag.AddTagRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.addTag.AddTagRequestBuilder::|public|post(body:AddTagPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RecommendationTag +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.addTag.AddTagRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.addTag.AddTagRequestBuilder::|public|to_post_request_information(body:AddTagPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.addTag.AddTagRequestBuilder::|public|url_template:str +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.addTag.AddTagRequestBuilder::|public|with_url(raw_url:str):AddTagRequestBuilder +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.applyAlternateMitigation.ApplyAlternateMitigationRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.applyAlternateMitigation.ApplyAlternateMitigationRequestBuilder.ApplyAlternateMitigationRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.applyAlternateMitigation.ApplyAlternateMitigationRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.applyAlternateMitigation.ApplyAlternateMitigationRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.applyAlternateMitigation.ApplyAlternateMitigationRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):ImpactedResource +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.applyAlternateMitigation.ApplyAlternateMitigationRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.applyAlternateMitigation.ApplyAlternateMitigationRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.applyAlternateMitigation.ApplyAlternateMitigationRequestBuilder::|public|url_template:str +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.applyAlternateMitigation.ApplyAlternateMitigationRequestBuilder::|public|with_url(raw_url:str):ApplyAlternateMitigationRequestBuilder msgraph_beta.generated.directory.recommendations.item.impactedResources.item.complete.CompleteRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.directory.recommendations.item.impactedResources.item.complete.CompleteRequestBuilder.CompleteRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.directory.recommendations.item.impactedResources.item.complete.CompleteRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None @@ -68944,21 +69242,36 @@ msgraph_beta.generated.directory.recommendations.item.impactedResources.item.Imp msgraph_beta.generated.directory.recommendations.item.impactedResources.item.ImpactedResourceItemRequestBuilder.ImpactedResourceItemRequestBuilderGetQueryParameters::|public|select:list[str] msgraph_beta.generated.directory.recommendations.item.impactedResources.item.ImpactedResourceItemRequestBuilder.ImpactedResourceItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[ImpactedResourceItemRequestBuilderGetQueryParameters] msgraph_beta.generated.directory.recommendations.item.impactedResources.item.ImpactedResourceItemRequestBuilder.ImpactedResourceItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|accept_risk:AcceptRiskRequestBuilder +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|add_tag:AddTagRequestBuilder +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|apply_alternate_mitigation:ApplyAlternateMitigationRequestBuilder msgraph_beta.generated.directory.recommendations.item.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|complete:CompleteRequestBuilder msgraph_beta.generated.directory.recommendations.item.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None msgraph_beta.generated.directory.recommendations.item.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None msgraph_beta.generated.directory.recommendations.item.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|dismiss:DismissRequestBuilder msgraph_beta.generated.directory.recommendations.item.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ImpactedResourceItemRequestBuilderGetQueryParameters]):ImpactedResource +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|mark_planned:MarkPlannedRequestBuilder msgraph_beta.generated.directory.recommendations.item.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|patch(body:ImpactedResource; request_configuration?:RequestConfiguration[QueryParameters]):ImpactedResource msgraph_beta.generated.directory.recommendations.item.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] msgraph_beta.generated.directory.recommendations.item.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|postpone:PostponeRequestBuilder msgraph_beta.generated.directory.recommendations.item.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|reactivate:ReactivateRequestBuilder +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|remove_tag:RemoveTagRequestBuilder msgraph_beta.generated.directory.recommendations.item.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|tags:TagsRequestBuilder msgraph_beta.generated.directory.recommendations.item.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.directory.recommendations.item.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ImpactedResourceItemRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.directory.recommendations.item.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|to_patch_request_information(body:ImpactedResource; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.directory.recommendations.item.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|url_template:str msgraph_beta.generated.directory.recommendations.item.impactedResources.item.ImpactedResourceItemRequestBuilder::|public|with_url(raw_url:str):ImpactedResourceItemRequestBuilder +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.markPlanned.MarkPlannedRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.markPlanned.MarkPlannedRequestBuilder.MarkPlannedRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.markPlanned.MarkPlannedRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.markPlanned.MarkPlannedRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.markPlanned.MarkPlannedRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):ImpactedResource +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.markPlanned.MarkPlannedRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.markPlanned.MarkPlannedRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.markPlanned.MarkPlannedRequestBuilder::|public|url_template:str +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.markPlanned.MarkPlannedRequestBuilder::|public|with_url(raw_url:str):MarkPlannedRequestBuilder msgraph_beta.generated.directory.recommendations.item.impactedResources.item.postpone.PostponePostRequestBody::|public|additional_data():dict[str, Any] msgraph_beta.generated.directory.recommendations.item.impactedResources.item.postpone.PostponePostRequestBody::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.directory.recommendations.item.impactedResources.item.postpone.PostponePostRequestBody::|public|backing_store:BackingStore @@ -68987,6 +69300,115 @@ msgraph_beta.generated.directory.recommendations.item.impactedResources.item.rea msgraph_beta.generated.directory.recommendations.item.impactedResources.item.reactivate.ReactivateRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.directory.recommendations.item.impactedResources.item.reactivate.ReactivateRequestBuilder::|public|url_template:str msgraph_beta.generated.directory.recommendations.item.impactedResources.item.reactivate.ReactivateRequestBuilder::|public|with_url(raw_url:str):ReactivateRequestBuilder +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.removeTag.RemoveTagPostRequestBody::|public|additional_data():dict[str, Any] +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.removeTag.RemoveTagPostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.removeTag.RemoveTagPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.removeTag.RemoveTagPostRequestBody::|public|constructor():None +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.removeTag.RemoveTagPostRequestBody::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.removeTag.RemoveTagPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.removeTag.RemoveTagPostRequestBody::|public|tag_id():str +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.removeTag.RemoveTagPostRequestBody::|public|tag_id(value:str):None +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.removeTag.RemoveTagPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):RemoveTagPostRequestBody +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.removeTag.RemoveTagPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.removeTag.RemoveTagRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.removeTag.RemoveTagRequestBuilder.RemoveTagRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.removeTag.RemoveTagRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.removeTag.RemoveTagRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.removeTag.RemoveTagRequestBuilder::|public|post(body:RemoveTagPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):ImpactedResource +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.removeTag.RemoveTagRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.removeTag.RemoveTagRequestBuilder::|public|to_post_request_information(body:RemoveTagPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.removeTag.RemoveTagRequestBuilder::|public|url_template:str +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.removeTag.RemoveTagRequestBuilder::|public|with_url(raw_url:str):RemoveTagRequestBuilder +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.count.CountRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.count.CountRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.count.CountRequestBuilder::|public|url_template:str +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.item.RecommendationTagItemRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.item.RecommendationTagItemRequestBuilder.RecommendationTagItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.item.RecommendationTagItemRequestBuilder.RecommendationTagItemRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.item.RecommendationTagItemRequestBuilder.RecommendationTagItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.item.RecommendationTagItemRequestBuilder.RecommendationTagItemRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.item.RecommendationTagItemRequestBuilder.RecommendationTagItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[RecommendationTagItemRequestBuilderGetQueryParameters] +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.item.RecommendationTagItemRequestBuilder.RecommendationTagItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.item.RecommendationTagItemRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.item.RecommendationTagItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.item.RecommendationTagItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[RecommendationTagItemRequestBuilderGetQueryParameters]):RecommendationTag +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.item.RecommendationTagItemRequestBuilder::|public|patch(body:RecommendationTag; request_configuration?:RequestConfiguration[QueryParameters]):RecommendationTag +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.item.RecommendationTagItemRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.item.RecommendationTagItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.item.RecommendationTagItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.item.RecommendationTagItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[RecommendationTagItemRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.item.RecommendationTagItemRequestBuilder::|public|to_patch_request_information(body:RecommendationTag; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.item.RecommendationTagItemRequestBuilder::|public|url_template:str +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.item.RecommendationTagItemRequestBuilder::|public|with_url(raw_url:str):RecommendationTagItemRequestBuilder +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.TagsRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.TagsRequestBuilder.TagsRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.TagsRequestBuilder.TagsRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.TagsRequestBuilder.TagsRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.TagsRequestBuilder.TagsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.TagsRequestBuilder.TagsRequestBuilderGetQueryParameters::|public|orderby:list[str] +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.TagsRequestBuilder.TagsRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.TagsRequestBuilder.TagsRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.TagsRequestBuilder.TagsRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.TagsRequestBuilder.TagsRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.TagsRequestBuilder.TagsRequestBuilderGetRequestConfiguration-->RequestConfiguration[TagsRequestBuilderGetQueryParameters] +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.TagsRequestBuilder.TagsRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.TagsRequestBuilder::|public|by_recommendation_tag_id(recommendation_tag_id:str):RecommendationTagItemRequestBuilder +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.TagsRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.TagsRequestBuilder::|public|count:CountRequestBuilder +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.TagsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[TagsRequestBuilderGetQueryParameters]):RecommendationTagCollectionResponse +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.TagsRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.TagsRequestBuilder::|public|post(body:RecommendationTag; request_configuration?:RequestConfiguration[QueryParameters]):RecommendationTag +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.TagsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.TagsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[TagsRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.TagsRequestBuilder::|public|to_post_request_information(body:RecommendationTag; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.TagsRequestBuilder::|public|url_template:str +msgraph_beta.generated.directory.recommendations.item.impactedResources.item.tags.TagsRequestBuilder::|public|with_url(raw_url:str):TagsRequestBuilder +msgraph_beta.generated.directory.recommendations.item.impactedResources.removeTag.RemoveTagPostRequestBody::|public|additional_data():dict[str, Any] +msgraph_beta.generated.directory.recommendations.item.impactedResources.removeTag.RemoveTagPostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.directory.recommendations.item.impactedResources.removeTag.RemoveTagPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.directory.recommendations.item.impactedResources.removeTag.RemoveTagPostRequestBody::|public|constructor():None +msgraph_beta.generated.directory.recommendations.item.impactedResources.removeTag.RemoveTagPostRequestBody::|public|display_name():str +msgraph_beta.generated.directory.recommendations.item.impactedResources.removeTag.RemoveTagPostRequestBody::|public|display_name(value:str):None +msgraph_beta.generated.directory.recommendations.item.impactedResources.removeTag.RemoveTagPostRequestBody::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.directory.recommendations.item.impactedResources.removeTag.RemoveTagPostRequestBody::|public|resource_ids():list[str] +msgraph_beta.generated.directory.recommendations.item.impactedResources.removeTag.RemoveTagPostRequestBody::|public|resource_ids(value:list[str]):None +msgraph_beta.generated.directory.recommendations.item.impactedResources.removeTag.RemoveTagPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.directory.recommendations.item.impactedResources.removeTag.RemoveTagPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):RemoveTagPostRequestBody +msgraph_beta.generated.directory.recommendations.item.impactedResources.removeTag.RemoveTagPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.directory.recommendations.item.impactedResources.removeTag.RemoveTagPostResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.directory.recommendations.item.impactedResources.removeTag.RemoveTagPostResponse::|public|constructor():None +msgraph_beta.generated.directory.recommendations.item.impactedResources.removeTag.RemoveTagPostResponse::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.directory.recommendations.item.impactedResources.removeTag.RemoveTagPostResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.directory.recommendations.item.impactedResources.removeTag.RemoveTagPostResponse::|public|value():list[ImpactedResource] +msgraph_beta.generated.directory.recommendations.item.impactedResources.removeTag.RemoveTagPostResponse::|public|value(value:list[ImpactedResource]):None +msgraph_beta.generated.directory.recommendations.item.impactedResources.removeTag.RemoveTagPostResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):RemoveTagPostResponse +msgraph_beta.generated.directory.recommendations.item.impactedResources.removeTag.RemoveTagRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.directory.recommendations.item.impactedResources.removeTag.RemoveTagRequestBuilder.RemoveTagRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.recommendations.item.impactedResources.removeTag.RemoveTagRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.directory.recommendations.item.impactedResources.removeTag.RemoveTagRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.directory.recommendations.item.impactedResources.removeTag.RemoveTagRequestBuilder::|public|post(body:RemoveTagPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RemoveTagPostResponse +msgraph_beta.generated.directory.recommendations.item.impactedResources.removeTag.RemoveTagRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.recommendations.item.impactedResources.removeTag.RemoveTagRequestBuilder::|public|to_post_request_information(body:RemoveTagPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.directory.recommendations.item.impactedResources.removeTag.RemoveTagRequestBuilder::|public|url_template:str +msgraph_beta.generated.directory.recommendations.item.impactedResources.removeTag.RemoveTagRequestBuilder::|public|with_url(raw_url:str):RemoveTagRequestBuilder +msgraph_beta.generated.directory.recommendations.item.markPlanned.MarkPlannedRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.directory.recommendations.item.markPlanned.MarkPlannedRequestBuilder.MarkPlannedRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.recommendations.item.markPlanned.MarkPlannedRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.directory.recommendations.item.markPlanned.MarkPlannedRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.directory.recommendations.item.markPlanned.MarkPlannedRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):Recommendation +msgraph_beta.generated.directory.recommendations.item.markPlanned.MarkPlannedRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.recommendations.item.markPlanned.MarkPlannedRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.directory.recommendations.item.markPlanned.MarkPlannedRequestBuilder::|public|url_template:str +msgraph_beta.generated.directory.recommendations.item.markPlanned.MarkPlannedRequestBuilder::|public|with_url(raw_url:str):MarkPlannedRequestBuilder msgraph_beta.generated.directory.recommendations.item.postpone.PostponePostRequestBody::|public|additional_data():dict[str, Any] msgraph_beta.generated.directory.recommendations.item.postpone.PostponePostRequestBody::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.directory.recommendations.item.postpone.PostponePostRequestBody::|public|backing_store:BackingStore @@ -69022,22 +69444,100 @@ msgraph_beta.generated.directory.recommendations.item.RecommendationItemRequestB msgraph_beta.generated.directory.recommendations.item.RecommendationItemRequestBuilder.RecommendationItemRequestBuilderGetQueryParameters::|public|select:list[str] msgraph_beta.generated.directory.recommendations.item.RecommendationItemRequestBuilder.RecommendationItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[RecommendationItemRequestBuilderGetQueryParameters] msgraph_beta.generated.directory.recommendations.item.RecommendationItemRequestBuilder.RecommendationItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.recommendations.item.RecommendationItemRequestBuilder::|public|accept_risk:AcceptRiskRequestBuilder +msgraph_beta.generated.directory.recommendations.item.RecommendationItemRequestBuilder::|public|add_tag:AddTagRequestBuilder +msgraph_beta.generated.directory.recommendations.item.RecommendationItemRequestBuilder::|public|apply_alternate_mitigation:ApplyAlternateMitigationRequestBuilder msgraph_beta.generated.directory.recommendations.item.RecommendationItemRequestBuilder::|public|complete:CompleteRequestBuilder msgraph_beta.generated.directory.recommendations.item.RecommendationItemRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None msgraph_beta.generated.directory.recommendations.item.RecommendationItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None msgraph_beta.generated.directory.recommendations.item.RecommendationItemRequestBuilder::|public|dismiss:DismissRequestBuilder msgraph_beta.generated.directory.recommendations.item.RecommendationItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[RecommendationItemRequestBuilderGetQueryParameters]):Recommendation msgraph_beta.generated.directory.recommendations.item.RecommendationItemRequestBuilder::|public|impacted_resources:ImpactedResourcesRequestBuilder +msgraph_beta.generated.directory.recommendations.item.RecommendationItemRequestBuilder::|public|mark_planned:MarkPlannedRequestBuilder msgraph_beta.generated.directory.recommendations.item.RecommendationItemRequestBuilder::|public|patch(body:Recommendation; request_configuration?:RequestConfiguration[QueryParameters]):Recommendation msgraph_beta.generated.directory.recommendations.item.RecommendationItemRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] msgraph_beta.generated.directory.recommendations.item.RecommendationItemRequestBuilder::|public|postpone:PostponeRequestBuilder msgraph_beta.generated.directory.recommendations.item.RecommendationItemRequestBuilder::|public|reactivate:ReactivateRequestBuilder +msgraph_beta.generated.directory.recommendations.item.RecommendationItemRequestBuilder::|public|remove_tag:RemoveTagRequestBuilder msgraph_beta.generated.directory.recommendations.item.RecommendationItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.recommendations.item.RecommendationItemRequestBuilder::|public|tags:TagsRequestBuilder msgraph_beta.generated.directory.recommendations.item.RecommendationItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.directory.recommendations.item.RecommendationItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[RecommendationItemRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.directory.recommendations.item.RecommendationItemRequestBuilder::|public|to_patch_request_information(body:Recommendation; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.directory.recommendations.item.RecommendationItemRequestBuilder::|public|url_template:str msgraph_beta.generated.directory.recommendations.item.RecommendationItemRequestBuilder::|public|with_url(raw_url:str):RecommendationItemRequestBuilder +msgraph_beta.generated.directory.recommendations.item.removeTag.RemoveTagPostRequestBody::|public|additional_data():dict[str, Any] +msgraph_beta.generated.directory.recommendations.item.removeTag.RemoveTagPostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.directory.recommendations.item.removeTag.RemoveTagPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.directory.recommendations.item.removeTag.RemoveTagPostRequestBody::|public|constructor():None +msgraph_beta.generated.directory.recommendations.item.removeTag.RemoveTagPostRequestBody::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.directory.recommendations.item.removeTag.RemoveTagPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.directory.recommendations.item.removeTag.RemoveTagPostRequestBody::|public|tag_id():str +msgraph_beta.generated.directory.recommendations.item.removeTag.RemoveTagPostRequestBody::|public|tag_id(value:str):None +msgraph_beta.generated.directory.recommendations.item.removeTag.RemoveTagPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):RemoveTagPostRequestBody +msgraph_beta.generated.directory.recommendations.item.removeTag.RemoveTagPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.directory.recommendations.item.removeTag.RemoveTagRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.directory.recommendations.item.removeTag.RemoveTagRequestBuilder.RemoveTagRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.recommendations.item.removeTag.RemoveTagRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.directory.recommendations.item.removeTag.RemoveTagRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.directory.recommendations.item.removeTag.RemoveTagRequestBuilder::|public|post(body:RemoveTagPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):Recommendation +msgraph_beta.generated.directory.recommendations.item.removeTag.RemoveTagRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.recommendations.item.removeTag.RemoveTagRequestBuilder::|public|to_post_request_information(body:RemoveTagPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.directory.recommendations.item.removeTag.RemoveTagRequestBuilder::|public|url_template:str +msgraph_beta.generated.directory.recommendations.item.removeTag.RemoveTagRequestBuilder::|public|with_url(raw_url:str):RemoveTagRequestBuilder +msgraph_beta.generated.directory.recommendations.item.tags.count.CountRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.directory.recommendations.item.tags.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.directory.recommendations.item.tags.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.directory.recommendations.item.tags.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.directory.recommendations.item.tags.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph_beta.generated.directory.recommendations.item.tags.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.directory.recommendations.item.tags.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph_beta.generated.directory.recommendations.item.tags.count.CountRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.directory.recommendations.item.tags.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.recommendations.item.tags.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.directory.recommendations.item.tags.count.CountRequestBuilder::|public|url_template:str +msgraph_beta.generated.directory.recommendations.item.tags.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph_beta.generated.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder.RecommendationTagItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder.RecommendationTagItemRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder.RecommendationTagItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder.RecommendationTagItemRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder.RecommendationTagItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[RecommendationTagItemRequestBuilderGetQueryParameters] +msgraph_beta.generated.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder.RecommendationTagItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[RecommendationTagItemRequestBuilderGetQueryParameters]):RecommendationTag +msgraph_beta.generated.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder::|public|patch(body:RecommendationTag; request_configuration?:RequestConfiguration[QueryParameters]):RecommendationTag +msgraph_beta.generated.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[RecommendationTagItemRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder::|public|to_patch_request_information(body:RecommendationTag; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder::|public|url_template:str +msgraph_beta.generated.directory.recommendations.item.tags.item.RecommendationTagItemRequestBuilder::|public|with_url(raw_url:str):RecommendationTagItemRequestBuilder +msgraph_beta.generated.directory.recommendations.item.tags.TagsRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.directory.recommendations.item.tags.TagsRequestBuilder.TagsRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.directory.recommendations.item.tags.TagsRequestBuilder.TagsRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.directory.recommendations.item.tags.TagsRequestBuilder.TagsRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.directory.recommendations.item.tags.TagsRequestBuilder.TagsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.directory.recommendations.item.tags.TagsRequestBuilder.TagsRequestBuilderGetQueryParameters::|public|orderby:list[str] +msgraph_beta.generated.directory.recommendations.item.tags.TagsRequestBuilder.TagsRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.directory.recommendations.item.tags.TagsRequestBuilder.TagsRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.directory.recommendations.item.tags.TagsRequestBuilder.TagsRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.directory.recommendations.item.tags.TagsRequestBuilder.TagsRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.directory.recommendations.item.tags.TagsRequestBuilder.TagsRequestBuilderGetRequestConfiguration-->RequestConfiguration[TagsRequestBuilderGetQueryParameters] +msgraph_beta.generated.directory.recommendations.item.tags.TagsRequestBuilder.TagsRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.recommendations.item.tags.TagsRequestBuilder::|public|by_recommendation_tag_id(recommendation_tag_id:str):RecommendationTagItemRequestBuilder +msgraph_beta.generated.directory.recommendations.item.tags.TagsRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.directory.recommendations.item.tags.TagsRequestBuilder::|public|count:CountRequestBuilder +msgraph_beta.generated.directory.recommendations.item.tags.TagsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[TagsRequestBuilderGetQueryParameters]):RecommendationTagCollectionResponse +msgraph_beta.generated.directory.recommendations.item.tags.TagsRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.directory.recommendations.item.tags.TagsRequestBuilder::|public|post(body:RecommendationTag; request_configuration?:RequestConfiguration[QueryParameters]):RecommendationTag +msgraph_beta.generated.directory.recommendations.item.tags.TagsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.recommendations.item.tags.TagsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[TagsRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.directory.recommendations.item.tags.TagsRequestBuilder::|public|to_post_request_information(body:RecommendationTag; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.directory.recommendations.item.tags.TagsRequestBuilder::|public|url_template:str +msgraph_beta.generated.directory.recommendations.item.tags.TagsRequestBuilder::|public|with_url(raw_url:str):TagsRequestBuilder msgraph_beta.generated.directory.recommendations.RecommendationsRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.directory.recommendations.RecommendationsRequestBuilder.RecommendationsRequestBuilderGetQueryParameters::|public|count:bool msgraph_beta.generated.directory.recommendations.RecommendationsRequestBuilder.RecommendationsRequestBuilderGetQueryParameters::|public|expand:list[str] @@ -69764,35 +70264,35 @@ msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.Gove msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.GovernancePolicyTemplatesRequestBuilder.GovernancePolicyTemplatesRequestBuilderGetQueryParameters::|public|top:int msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.GovernancePolicyTemplatesRequestBuilder.GovernancePolicyTemplatesRequestBuilderGetRequestConfiguration-->RequestConfiguration[GovernancePolicyTemplatesRequestBuilderGetQueryParameters] msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.GovernancePolicyTemplatesRequestBuilder.GovernancePolicyTemplatesRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] -msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.GovernancePolicyTemplatesRequestBuilder::|public|by_governance_policy_template_id(governance_policy_template_id:str):GovernancePolicyTemplateItemRequestBuilder +msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.GovernancePolicyTemplatesRequestBuilder::|public|by_tenant_governance_policy_template_id(tenant_governance_policy_template_id:str):TenantGovernancePolicyTemplateItemRequestBuilder msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.GovernancePolicyTemplatesRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.GovernancePolicyTemplatesRequestBuilder::|public|count:CountRequestBuilder -msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.GovernancePolicyTemplatesRequestBuilder::|public|get(request_configuration?:RequestConfiguration[GovernancePolicyTemplatesRequestBuilderGetQueryParameters]):GovernancePolicyTemplateCollectionResponse +msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.GovernancePolicyTemplatesRequestBuilder::|public|get(request_configuration?:RequestConfiguration[GovernancePolicyTemplatesRequestBuilderGetQueryParameters]):TenantGovernancePolicyTemplateCollectionResponse msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.GovernancePolicyTemplatesRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] -msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.GovernancePolicyTemplatesRequestBuilder::|public|post(body:GovernancePolicyTemplate; request_configuration?:RequestConfiguration[QueryParameters]):GovernancePolicyTemplate +msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.GovernancePolicyTemplatesRequestBuilder::|public|post(body:TenantGovernancePolicyTemplate; request_configuration?:RequestConfiguration[QueryParameters]):TenantGovernancePolicyTemplate msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.GovernancePolicyTemplatesRequestBuilder::|public|request_adapter:RequestAdapter msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.GovernancePolicyTemplatesRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[GovernancePolicyTemplatesRequestBuilderGetQueryParameters]):RequestInformation -msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.GovernancePolicyTemplatesRequestBuilder::|public|to_post_request_information(body:GovernancePolicyTemplate; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.GovernancePolicyTemplatesRequestBuilder::|public|to_post_request_information(body:TenantGovernancePolicyTemplate; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.GovernancePolicyTemplatesRequestBuilder::|public|url_template:str msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.GovernancePolicyTemplatesRequestBuilder::|public|with_url(raw_url:str):GovernancePolicyTemplatesRequestBuilder -msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.item.GovernancePolicyTemplateItemRequestBuilder-->BaseRequestBuilder -msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.item.GovernancePolicyTemplateItemRequestBuilder.GovernancePolicyTemplateItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] -msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.item.GovernancePolicyTemplateItemRequestBuilder.GovernancePolicyTemplateItemRequestBuilderGetQueryParameters::|public|expand:list[str] -msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.item.GovernancePolicyTemplateItemRequestBuilder.GovernancePolicyTemplateItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str -msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.item.GovernancePolicyTemplateItemRequestBuilder.GovernancePolicyTemplateItemRequestBuilderGetQueryParameters::|public|select:list[str] -msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.item.GovernancePolicyTemplateItemRequestBuilder.GovernancePolicyTemplateItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[GovernancePolicyTemplateItemRequestBuilderGetQueryParameters] -msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.item.GovernancePolicyTemplateItemRequestBuilder.GovernancePolicyTemplateItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] -msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.item.GovernancePolicyTemplateItemRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None -msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.item.GovernancePolicyTemplateItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None -msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.item.GovernancePolicyTemplateItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[GovernancePolicyTemplateItemRequestBuilderGetQueryParameters]):GovernancePolicyTemplate -msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.item.GovernancePolicyTemplateItemRequestBuilder::|public|patch(body:GovernancePolicyTemplate; request_configuration?:RequestConfiguration[QueryParameters]):GovernancePolicyTemplate -msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.item.GovernancePolicyTemplateItemRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] -msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.item.GovernancePolicyTemplateItemRequestBuilder::|public|request_adapter:RequestAdapter -msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.item.GovernancePolicyTemplateItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation -msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.item.GovernancePolicyTemplateItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[GovernancePolicyTemplateItemRequestBuilderGetQueryParameters]):RequestInformation -msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.item.GovernancePolicyTemplateItemRequestBuilder::|public|to_patch_request_information(body:GovernancePolicyTemplate; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation -msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.item.GovernancePolicyTemplateItemRequestBuilder::|public|url_template:str -msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.item.GovernancePolicyTemplateItemRequestBuilder::|public|with_url(raw_url:str):GovernancePolicyTemplateItemRequestBuilder +msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder.TenantGovernancePolicyTemplateItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder.TenantGovernancePolicyTemplateItemRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder.TenantGovernancePolicyTemplateItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder.TenantGovernancePolicyTemplateItemRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder.TenantGovernancePolicyTemplateItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[TenantGovernancePolicyTemplateItemRequestBuilderGetQueryParameters] +msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder.TenantGovernancePolicyTemplateItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[TenantGovernancePolicyTemplateItemRequestBuilderGetQueryParameters]):TenantGovernancePolicyTemplate +msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder::|public|patch(body:TenantGovernancePolicyTemplate; request_configuration?:RequestConfiguration[QueryParameters]):TenantGovernancePolicyTemplate +msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[TenantGovernancePolicyTemplateItemRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder::|public|to_patch_request_information(body:TenantGovernancePolicyTemplate; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder::|public|url_template:str +msgraph_beta.generated.directory.tenantGovernance.governancePolicyTemplates.item.TenantGovernancePolicyTemplateItemRequestBuilder::|public|with_url(raw_url:str):TenantGovernancePolicyTemplateItemRequestBuilder msgraph_beta.generated.directory.tenantGovernance.governanceRelationships.count.CountRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.directory.tenantGovernance.governanceRelationships.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str msgraph_beta.generated.directory.tenantGovernance.governanceRelationships.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str @@ -69887,7 +70387,7 @@ msgraph_beta.generated.directory.tenantGovernance.governanceRequests.item.govern msgraph_beta.generated.directory.tenantGovernance.governanceRequests.item.governancePolicyTemplate.GovernancePolicyTemplateRequestBuilder.GovernancePolicyTemplateRequestBuilderGetQueryParameters::|public|select:list[str] msgraph_beta.generated.directory.tenantGovernance.governanceRequests.item.governancePolicyTemplate.GovernancePolicyTemplateRequestBuilder.GovernancePolicyTemplateRequestBuilderGetRequestConfiguration-->RequestConfiguration[GovernancePolicyTemplateRequestBuilderGetQueryParameters] msgraph_beta.generated.directory.tenantGovernance.governanceRequests.item.governancePolicyTemplate.GovernancePolicyTemplateRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None -msgraph_beta.generated.directory.tenantGovernance.governanceRequests.item.governancePolicyTemplate.GovernancePolicyTemplateRequestBuilder::|public|get(request_configuration?:RequestConfiguration[GovernancePolicyTemplateRequestBuilderGetQueryParameters]):GovernancePolicyTemplate +msgraph_beta.generated.directory.tenantGovernance.governanceRequests.item.governancePolicyTemplate.GovernancePolicyTemplateRequestBuilder::|public|get(request_configuration?:RequestConfiguration[GovernancePolicyTemplateRequestBuilderGetQueryParameters]):TenantGovernancePolicyTemplate msgraph_beta.generated.directory.tenantGovernance.governanceRequests.item.governancePolicyTemplate.GovernancePolicyTemplateRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] msgraph_beta.generated.directory.tenantGovernance.governanceRequests.item.governancePolicyTemplate.GovernancePolicyTemplateRequestBuilder::|public|request_adapter:RequestAdapter msgraph_beta.generated.directory.tenantGovernance.governanceRequests.item.governancePolicyTemplate.GovernancePolicyTemplateRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[GovernancePolicyTemplateRequestBuilderGetQueryParameters]):RequestInformation @@ -70007,24 +70507,24 @@ msgraph_beta.generated.directory.tenantGovernance.relatedTenants.item.RelatedTen msgraph_beta.generated.directory.tenantGovernance.relatedTenants.item.RelatedTenantItemRequestBuilder::|public|to_patch_request_information(body:RelatedTenant; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.directory.tenantGovernance.relatedTenants.item.RelatedTenantItemRequestBuilder::|public|url_template:str msgraph_beta.generated.directory.tenantGovernance.relatedTenants.item.RelatedTenantItemRequestBuilder::|public|with_url(raw_url:str):RelatedTenantItemRequestBuilder -msgraph_beta.generated.directory.tenantGovernance.relatedTenants.microsoftGraphTenantGovernanceServicesRefresh.MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder-->BaseRequestBuilder -msgraph_beta.generated.directory.tenantGovernance.relatedTenants.microsoftGraphTenantGovernanceServicesRefresh.MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder.MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] -msgraph_beta.generated.directory.tenantGovernance.relatedTenants.microsoftGraphTenantGovernanceServicesRefresh.MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None -msgraph_beta.generated.directory.tenantGovernance.relatedTenants.microsoftGraphTenantGovernanceServicesRefresh.MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] -msgraph_beta.generated.directory.tenantGovernance.relatedTenants.microsoftGraphTenantGovernanceServicesRefresh.MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):None -msgraph_beta.generated.directory.tenantGovernance.relatedTenants.microsoftGraphTenantGovernanceServicesRefresh.MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder::|public|request_adapter:RequestAdapter -msgraph_beta.generated.directory.tenantGovernance.relatedTenants.microsoftGraphTenantGovernanceServicesRefresh.MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation -msgraph_beta.generated.directory.tenantGovernance.relatedTenants.microsoftGraphTenantGovernanceServicesRefresh.MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder::|public|url_template:str -msgraph_beta.generated.directory.tenantGovernance.relatedTenants.microsoftGraphTenantGovernanceServicesRefresh.MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder::|public|with_url(raw_url:str):MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder -msgraph_beta.generated.directory.tenantGovernance.relatedTenants.microsoftGraphTenantGovernanceServicesRefreshStatus.MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder-->BaseRequestBuilder -msgraph_beta.generated.directory.tenantGovernance.relatedTenants.microsoftGraphTenantGovernanceServicesRefreshStatus.MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder.MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilderGetRequestConfiguration-->RequestConfiguration[QueryParameters] -msgraph_beta.generated.directory.tenantGovernance.relatedTenants.microsoftGraphTenantGovernanceServicesRefreshStatus.MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None -msgraph_beta.generated.directory.tenantGovernance.relatedTenants.microsoftGraphTenantGovernanceServicesRefreshStatus.MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder::|public|get(request_configuration?:RequestConfiguration[QueryParameters]):RelatedTenantsRefreshStatus -msgraph_beta.generated.directory.tenantGovernance.relatedTenants.microsoftGraphTenantGovernanceServicesRefreshStatus.MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] -msgraph_beta.generated.directory.tenantGovernance.relatedTenants.microsoftGraphTenantGovernanceServicesRefreshStatus.MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder::|public|request_adapter:RequestAdapter -msgraph_beta.generated.directory.tenantGovernance.relatedTenants.microsoftGraphTenantGovernanceServicesRefreshStatus.MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation -msgraph_beta.generated.directory.tenantGovernance.relatedTenants.microsoftGraphTenantGovernanceServicesRefreshStatus.MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder::|public|url_template:str -msgraph_beta.generated.directory.tenantGovernance.relatedTenants.microsoftGraphTenantGovernanceServicesRefreshStatus.MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder::|public|with_url(raw_url:str):MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder +msgraph_beta.generated.directory.tenantGovernance.relatedTenants.refresh.RefreshRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.directory.tenantGovernance.relatedTenants.refresh.RefreshRequestBuilder.RefreshRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.tenantGovernance.relatedTenants.refresh.RefreshRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.directory.tenantGovernance.relatedTenants.refresh.RefreshRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.directory.tenantGovernance.relatedTenants.refresh.RefreshRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.directory.tenantGovernance.relatedTenants.refresh.RefreshRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.tenantGovernance.relatedTenants.refresh.RefreshRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.directory.tenantGovernance.relatedTenants.refresh.RefreshRequestBuilder::|public|url_template:str +msgraph_beta.generated.directory.tenantGovernance.relatedTenants.refresh.RefreshRequestBuilder::|public|with_url(raw_url:str):RefreshRequestBuilder +msgraph_beta.generated.directory.tenantGovernance.relatedTenants.refreshStatus.RefreshStatusRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.directory.tenantGovernance.relatedTenants.refreshStatus.RefreshStatusRequestBuilder.RefreshStatusRequestBuilderGetRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.tenantGovernance.relatedTenants.refreshStatus.RefreshStatusRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.directory.tenantGovernance.relatedTenants.refreshStatus.RefreshStatusRequestBuilder::|public|get(request_configuration?:RequestConfiguration[QueryParameters]):RelatedTenantsRefreshStatus +msgraph_beta.generated.directory.tenantGovernance.relatedTenants.refreshStatus.RefreshStatusRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.directory.tenantGovernance.relatedTenants.refreshStatus.RefreshStatusRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.tenantGovernance.relatedTenants.refreshStatus.RefreshStatusRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.directory.tenantGovernance.relatedTenants.refreshStatus.RefreshStatusRequestBuilder::|public|url_template:str +msgraph_beta.generated.directory.tenantGovernance.relatedTenants.refreshStatus.RefreshStatusRequestBuilder::|public|with_url(raw_url:str):RefreshStatusRequestBuilder msgraph_beta.generated.directory.tenantGovernance.relatedTenants.RelatedTenantsRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.directory.tenantGovernance.relatedTenants.RelatedTenantsRequestBuilder.RelatedTenantsRequestBuilderGetQueryParameters::|public|count:bool msgraph_beta.generated.directory.tenantGovernance.relatedTenants.RelatedTenantsRequestBuilder.RelatedTenantsRequestBuilderGetQueryParameters::|public|expand:list[str] @@ -70041,24 +70541,24 @@ msgraph_beta.generated.directory.tenantGovernance.relatedTenants.RelatedTenantsR msgraph_beta.generated.directory.tenantGovernance.relatedTenants.RelatedTenantsRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None msgraph_beta.generated.directory.tenantGovernance.relatedTenants.RelatedTenantsRequestBuilder::|public|count:CountRequestBuilder msgraph_beta.generated.directory.tenantGovernance.relatedTenants.RelatedTenantsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[RelatedTenantsRequestBuilderGetQueryParameters]):RelatedTenantCollectionResponse -msgraph_beta.generated.directory.tenantGovernance.relatedTenants.RelatedTenantsRequestBuilder::|public|microsoft_graph_tenant_governance_services_refresh:MicrosoftGraphTenantGovernanceServicesRefreshRequestBuilder -msgraph_beta.generated.directory.tenantGovernance.relatedTenants.RelatedTenantsRequestBuilder::|public|microsoft_graph_tenant_governance_services_refresh_status:MicrosoftGraphTenantGovernanceServicesRefreshStatusRequestBuilder msgraph_beta.generated.directory.tenantGovernance.relatedTenants.RelatedTenantsRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] msgraph_beta.generated.directory.tenantGovernance.relatedTenants.RelatedTenantsRequestBuilder::|public|post(body:RelatedTenant; request_configuration?:RequestConfiguration[QueryParameters]):RelatedTenant +msgraph_beta.generated.directory.tenantGovernance.relatedTenants.RelatedTenantsRequestBuilder::|public|refresh:RefreshRequestBuilder +msgraph_beta.generated.directory.tenantGovernance.relatedTenants.RelatedTenantsRequestBuilder::|public|refresh_status:RefreshStatusRequestBuilder msgraph_beta.generated.directory.tenantGovernance.relatedTenants.RelatedTenantsRequestBuilder::|public|request_adapter:RequestAdapter msgraph_beta.generated.directory.tenantGovernance.relatedTenants.RelatedTenantsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[RelatedTenantsRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.directory.tenantGovernance.relatedTenants.RelatedTenantsRequestBuilder::|public|to_post_request_information(body:RelatedTenant; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.directory.tenantGovernance.relatedTenants.RelatedTenantsRequestBuilder::|public|url_template:str msgraph_beta.generated.directory.tenantGovernance.relatedTenants.RelatedTenantsRequestBuilder::|public|with_url(raw_url:str):RelatedTenantsRequestBuilder -msgraph_beta.generated.directory.tenantGovernance.settings.microsoftGraphTenantGovernanceServicesEnableRelatedTenants.MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder-->BaseRequestBuilder -msgraph_beta.generated.directory.tenantGovernance.settings.microsoftGraphTenantGovernanceServicesEnableRelatedTenants.MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder.MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] -msgraph_beta.generated.directory.tenantGovernance.settings.microsoftGraphTenantGovernanceServicesEnableRelatedTenants.MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None -msgraph_beta.generated.directory.tenantGovernance.settings.microsoftGraphTenantGovernanceServicesEnableRelatedTenants.MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] -msgraph_beta.generated.directory.tenantGovernance.settings.microsoftGraphTenantGovernanceServicesEnableRelatedTenants.MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):None -msgraph_beta.generated.directory.tenantGovernance.settings.microsoftGraphTenantGovernanceServicesEnableRelatedTenants.MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder::|public|request_adapter:RequestAdapter -msgraph_beta.generated.directory.tenantGovernance.settings.microsoftGraphTenantGovernanceServicesEnableRelatedTenants.MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation -msgraph_beta.generated.directory.tenantGovernance.settings.microsoftGraphTenantGovernanceServicesEnableRelatedTenants.MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder::|public|url_template:str -msgraph_beta.generated.directory.tenantGovernance.settings.microsoftGraphTenantGovernanceServicesEnableRelatedTenants.MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder::|public|with_url(raw_url:str):MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder +msgraph_beta.generated.directory.tenantGovernance.settings.enableRelatedTenants.EnableRelatedTenantsRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.directory.tenantGovernance.settings.enableRelatedTenants.EnableRelatedTenantsRequestBuilder.EnableRelatedTenantsRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.directory.tenantGovernance.settings.enableRelatedTenants.EnableRelatedTenantsRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.directory.tenantGovernance.settings.enableRelatedTenants.EnableRelatedTenantsRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.directory.tenantGovernance.settings.enableRelatedTenants.EnableRelatedTenantsRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.directory.tenantGovernance.settings.enableRelatedTenants.EnableRelatedTenantsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.directory.tenantGovernance.settings.enableRelatedTenants.EnableRelatedTenantsRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.directory.tenantGovernance.settings.enableRelatedTenants.EnableRelatedTenantsRequestBuilder::|public|url_template:str +msgraph_beta.generated.directory.tenantGovernance.settings.enableRelatedTenants.EnableRelatedTenantsRequestBuilder::|public|with_url(raw_url:str):EnableRelatedTenantsRequestBuilder msgraph_beta.generated.directory.tenantGovernance.settings.SettingsRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.directory.tenantGovernance.settings.SettingsRequestBuilder.SettingsRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.directory.tenantGovernance.settings.SettingsRequestBuilder.SettingsRequestBuilderGetQueryParameters::|public|expand:list[str] @@ -70068,8 +70568,8 @@ msgraph_beta.generated.directory.tenantGovernance.settings.SettingsRequestBuilde msgraph_beta.generated.directory.tenantGovernance.settings.SettingsRequestBuilder.SettingsRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.directory.tenantGovernance.settings.SettingsRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None msgraph_beta.generated.directory.tenantGovernance.settings.SettingsRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.directory.tenantGovernance.settings.SettingsRequestBuilder::|public|enable_related_tenants:EnableRelatedTenantsRequestBuilder msgraph_beta.generated.directory.tenantGovernance.settings.SettingsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[SettingsRequestBuilderGetQueryParameters]):TenantGovernanceSetting -msgraph_beta.generated.directory.tenantGovernance.settings.SettingsRequestBuilder::|public|microsoft_graph_tenant_governance_services_enable_related_tenants:MicrosoftGraphTenantGovernanceServicesEnableRelatedTenantsRequestBuilder msgraph_beta.generated.directory.tenantGovernance.settings.SettingsRequestBuilder::|public|patch(body:TenantGovernanceSetting; request_configuration?:RequestConfiguration[QueryParameters]):TenantGovernanceSetting msgraph_beta.generated.directory.tenantGovernance.settings.SettingsRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] msgraph_beta.generated.directory.tenantGovernance.settings.SettingsRequestBuilder::|public|request_adapter:RequestAdapter @@ -72702,6 +73202,8 @@ msgraph_beta.generated.drives.item.items.item.archive.ArchiveRequestBuilder::|pu msgraph_beta.generated.drives.item.items.item.archive.ArchiveRequestBuilder::|public|with_url(raw_url:str):ArchiveRequestBuilder msgraph_beta.generated.drives.item.items.item.assignSensitivityLabel.AssignSensitivityLabelPostRequestBody::|public|additional_data():dict[str, Any] msgraph_beta.generated.drives.item.items.item.assignSensitivityLabel.AssignSensitivityLabelPostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.drives.item.items.item.assignSensitivityLabel.AssignSensitivityLabelPostRequestBody::|public|applied_by_user():UserIdentity +msgraph_beta.generated.drives.item.items.item.assignSensitivityLabel.AssignSensitivityLabelPostRequestBody::|public|applied_by_user(value:UserIdentity):None msgraph_beta.generated.drives.item.items.item.assignSensitivityLabel.AssignSensitivityLabelPostRequestBody::|public|assignment_method():SensitivityLabelAssignmentMethod msgraph_beta.generated.drives.item.items.item.assignSensitivityLabel.AssignSensitivityLabelPostRequestBody::|public|assignment_method(value:SensitivityLabelAssignmentMethod):None msgraph_beta.generated.drives.item.items.item.assignSensitivityLabel.AssignSensitivityLabelPostRequestBody::|public|backing_store:BackingStore @@ -101621,7 +102123,6 @@ msgraph_beta.generated.employeeExperience.communities.CommunitiesRequestBuilder. msgraph_beta.generated.employeeExperience.communities.CommunitiesRequestBuilder.CommunitiesRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.employeeExperience.communities.CommunitiesRequestBuilder::|public|by_community_id(community_id:str):CommunityItemRequestBuilder msgraph_beta.generated.employeeExperience.communities.CommunitiesRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None -msgraph_beta.generated.employeeExperience.communities.CommunitiesRequestBuilder::|public|count:CountRequestBuilder msgraph_beta.generated.employeeExperience.communities.CommunitiesRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CommunitiesRequestBuilderGetQueryParameters]):CommunityCollectionResponse msgraph_beta.generated.employeeExperience.communities.CommunitiesRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] msgraph_beta.generated.employeeExperience.communities.CommunitiesRequestBuilder::|public|post(body:Community; request_configuration?:RequestConfiguration[QueryParameters]):Community @@ -101630,18 +102131,6 @@ msgraph_beta.generated.employeeExperience.communities.CommunitiesRequestBuilder: msgraph_beta.generated.employeeExperience.communities.CommunitiesRequestBuilder::|public|to_post_request_information(body:Community; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.employeeExperience.communities.CommunitiesRequestBuilder::|public|url_template:str msgraph_beta.generated.employeeExperience.communities.CommunitiesRequestBuilder::|public|with_url(raw_url:str):CommunitiesRequestBuilder -msgraph_beta.generated.employeeExperience.communities.count.CountRequestBuilder-->BaseRequestBuilder -msgraph_beta.generated.employeeExperience.communities.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str -msgraph_beta.generated.employeeExperience.communities.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str -msgraph_beta.generated.employeeExperience.communities.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str -msgraph_beta.generated.employeeExperience.communities.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] -msgraph_beta.generated.employeeExperience.communities.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None -msgraph_beta.generated.employeeExperience.communities.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int -msgraph_beta.generated.employeeExperience.communities.count.CountRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] -msgraph_beta.generated.employeeExperience.communities.count.CountRequestBuilder::|public|request_adapter:RequestAdapter -msgraph_beta.generated.employeeExperience.communities.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation -msgraph_beta.generated.employeeExperience.communities.count.CountRequestBuilder::|public|url_template:str -msgraph_beta.generated.employeeExperience.communities.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder msgraph_beta.generated.employeeExperience.communities.item.CommunityItemRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.employeeExperience.communities.item.CommunityItemRequestBuilder.CommunityItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.employeeExperience.communities.item.CommunityItemRequestBuilder.CommunityItemRequestBuilderGetQueryParameters::|public|expand:list[str] @@ -101832,18 +102321,6 @@ msgraph_beta.generated.employeeExperience.EmployeeExperienceRequestBuilder::|pub msgraph_beta.generated.employeeExperience.EmployeeExperienceRequestBuilder::|public|to_patch_request_information(body:EmployeeExperience; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.employeeExperience.EmployeeExperienceRequestBuilder::|public|url_template:str msgraph_beta.generated.employeeExperience.EmployeeExperienceRequestBuilder::|public|with_url(raw_url:str):EmployeeExperienceRequestBuilder -msgraph_beta.generated.employeeExperience.engagementAsyncOperations.count.CountRequestBuilder-->BaseRequestBuilder -msgraph_beta.generated.employeeExperience.engagementAsyncOperations.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str -msgraph_beta.generated.employeeExperience.engagementAsyncOperations.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str -msgraph_beta.generated.employeeExperience.engagementAsyncOperations.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str -msgraph_beta.generated.employeeExperience.engagementAsyncOperations.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] -msgraph_beta.generated.employeeExperience.engagementAsyncOperations.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None -msgraph_beta.generated.employeeExperience.engagementAsyncOperations.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int -msgraph_beta.generated.employeeExperience.engagementAsyncOperations.count.CountRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] -msgraph_beta.generated.employeeExperience.engagementAsyncOperations.count.CountRequestBuilder::|public|request_adapter:RequestAdapter -msgraph_beta.generated.employeeExperience.engagementAsyncOperations.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation -msgraph_beta.generated.employeeExperience.engagementAsyncOperations.count.CountRequestBuilder::|public|url_template:str -msgraph_beta.generated.employeeExperience.engagementAsyncOperations.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder msgraph_beta.generated.employeeExperience.engagementAsyncOperations.EngagementAsyncOperationsRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.employeeExperience.engagementAsyncOperations.EngagementAsyncOperationsRequestBuilder.EngagementAsyncOperationsRequestBuilderGetQueryParameters::|public|count:bool msgraph_beta.generated.employeeExperience.engagementAsyncOperations.EngagementAsyncOperationsRequestBuilder.EngagementAsyncOperationsRequestBuilderGetQueryParameters::|public|expand:list[str] @@ -101855,34 +102332,24 @@ msgraph_beta.generated.employeeExperience.engagementAsyncOperations.EngagementAs msgraph_beta.generated.employeeExperience.engagementAsyncOperations.EngagementAsyncOperationsRequestBuilder.EngagementAsyncOperationsRequestBuilderGetQueryParameters::|public|skip:int msgraph_beta.generated.employeeExperience.engagementAsyncOperations.EngagementAsyncOperationsRequestBuilder.EngagementAsyncOperationsRequestBuilderGetQueryParameters::|public|top:int msgraph_beta.generated.employeeExperience.engagementAsyncOperations.EngagementAsyncOperationsRequestBuilder.EngagementAsyncOperationsRequestBuilderGetRequestConfiguration-->RequestConfiguration[EngagementAsyncOperationsRequestBuilderGetQueryParameters] -msgraph_beta.generated.employeeExperience.engagementAsyncOperations.EngagementAsyncOperationsRequestBuilder.EngagementAsyncOperationsRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.employeeExperience.engagementAsyncOperations.EngagementAsyncOperationsRequestBuilder::|public|by_engagement_async_operation_id(engagement_async_operation_id:str):EngagementAsyncOperationItemRequestBuilder msgraph_beta.generated.employeeExperience.engagementAsyncOperations.EngagementAsyncOperationsRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None -msgraph_beta.generated.employeeExperience.engagementAsyncOperations.EngagementAsyncOperationsRequestBuilder::|public|count:CountRequestBuilder msgraph_beta.generated.employeeExperience.engagementAsyncOperations.EngagementAsyncOperationsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[EngagementAsyncOperationsRequestBuilderGetQueryParameters]):EngagementAsyncOperationCollectionResponse msgraph_beta.generated.employeeExperience.engagementAsyncOperations.EngagementAsyncOperationsRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] -msgraph_beta.generated.employeeExperience.engagementAsyncOperations.EngagementAsyncOperationsRequestBuilder::|public|post(body:EngagementAsyncOperation; request_configuration?:RequestConfiguration[QueryParameters]):EngagementAsyncOperation msgraph_beta.generated.employeeExperience.engagementAsyncOperations.EngagementAsyncOperationsRequestBuilder::|public|request_adapter:RequestAdapter msgraph_beta.generated.employeeExperience.engagementAsyncOperations.EngagementAsyncOperationsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[EngagementAsyncOperationsRequestBuilderGetQueryParameters]):RequestInformation -msgraph_beta.generated.employeeExperience.engagementAsyncOperations.EngagementAsyncOperationsRequestBuilder::|public|to_post_request_information(body:EngagementAsyncOperation; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.employeeExperience.engagementAsyncOperations.EngagementAsyncOperationsRequestBuilder::|public|url_template:str msgraph_beta.generated.employeeExperience.engagementAsyncOperations.EngagementAsyncOperationsRequestBuilder::|public|with_url(raw_url:str):EngagementAsyncOperationsRequestBuilder msgraph_beta.generated.employeeExperience.engagementAsyncOperations.item.EngagementAsyncOperationItemRequestBuilder-->BaseRequestBuilder -msgraph_beta.generated.employeeExperience.engagementAsyncOperations.item.EngagementAsyncOperationItemRequestBuilder.EngagementAsyncOperationItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.employeeExperience.engagementAsyncOperations.item.EngagementAsyncOperationItemRequestBuilder.EngagementAsyncOperationItemRequestBuilderGetQueryParameters::|public|expand:list[str] msgraph_beta.generated.employeeExperience.engagementAsyncOperations.item.EngagementAsyncOperationItemRequestBuilder.EngagementAsyncOperationItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str msgraph_beta.generated.employeeExperience.engagementAsyncOperations.item.EngagementAsyncOperationItemRequestBuilder.EngagementAsyncOperationItemRequestBuilderGetQueryParameters::|public|select:list[str] msgraph_beta.generated.employeeExperience.engagementAsyncOperations.item.EngagementAsyncOperationItemRequestBuilder.EngagementAsyncOperationItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[EngagementAsyncOperationItemRequestBuilderGetQueryParameters] -msgraph_beta.generated.employeeExperience.engagementAsyncOperations.item.EngagementAsyncOperationItemRequestBuilder.EngagementAsyncOperationItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.employeeExperience.engagementAsyncOperations.item.EngagementAsyncOperationItemRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None -msgraph_beta.generated.employeeExperience.engagementAsyncOperations.item.EngagementAsyncOperationItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None msgraph_beta.generated.employeeExperience.engagementAsyncOperations.item.EngagementAsyncOperationItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[EngagementAsyncOperationItemRequestBuilderGetQueryParameters]):EngagementAsyncOperation -msgraph_beta.generated.employeeExperience.engagementAsyncOperations.item.EngagementAsyncOperationItemRequestBuilder::|public|patch(body:EngagementAsyncOperation; request_configuration?:RequestConfiguration[QueryParameters]):EngagementAsyncOperation msgraph_beta.generated.employeeExperience.engagementAsyncOperations.item.EngagementAsyncOperationItemRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] msgraph_beta.generated.employeeExperience.engagementAsyncOperations.item.EngagementAsyncOperationItemRequestBuilder::|public|request_adapter:RequestAdapter -msgraph_beta.generated.employeeExperience.engagementAsyncOperations.item.EngagementAsyncOperationItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.employeeExperience.engagementAsyncOperations.item.EngagementAsyncOperationItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[EngagementAsyncOperationItemRequestBuilderGetQueryParameters]):RequestInformation -msgraph_beta.generated.employeeExperience.engagementAsyncOperations.item.EngagementAsyncOperationItemRequestBuilder::|public|to_patch_request_information(body:EngagementAsyncOperation; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.employeeExperience.engagementAsyncOperations.item.EngagementAsyncOperationItemRequestBuilder::|public|url_template:str msgraph_beta.generated.employeeExperience.engagementAsyncOperations.item.EngagementAsyncOperationItemRequestBuilder::|public|with_url(raw_url:str):EngagementAsyncOperationItemRequestBuilder msgraph_beta.generated.employeeExperience.goals.exportJobs.count.CountRequestBuilder-->BaseRequestBuilder @@ -102243,35 +102710,17 @@ msgraph_beta.generated.employeeExperience.learningProviders.LearningProvidersReq msgraph_beta.generated.employeeExperience.learningProviders.LearningProvidersRequestBuilder::|public|to_post_request_information(body:LearningProvider; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.employeeExperience.learningProviders.LearningProvidersRequestBuilder::|public|url_template:str msgraph_beta.generated.employeeExperience.learningProviders.LearningProvidersRequestBuilder::|public|with_url(raw_url:str):LearningProvidersRequestBuilder -msgraph_beta.generated.employeeExperience.roles.count.CountRequestBuilder-->BaseRequestBuilder -msgraph_beta.generated.employeeExperience.roles.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str -msgraph_beta.generated.employeeExperience.roles.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str -msgraph_beta.generated.employeeExperience.roles.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str -msgraph_beta.generated.employeeExperience.roles.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] -msgraph_beta.generated.employeeExperience.roles.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None -msgraph_beta.generated.employeeExperience.roles.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int -msgraph_beta.generated.employeeExperience.roles.count.CountRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] -msgraph_beta.generated.employeeExperience.roles.count.CountRequestBuilder::|public|request_adapter:RequestAdapter -msgraph_beta.generated.employeeExperience.roles.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation -msgraph_beta.generated.employeeExperience.roles.count.CountRequestBuilder::|public|url_template:str -msgraph_beta.generated.employeeExperience.roles.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder msgraph_beta.generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilder-->BaseRequestBuilder -msgraph_beta.generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilder.EngagementRoleItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilder.EngagementRoleItemRequestBuilderGetQueryParameters::|public|expand:list[str] msgraph_beta.generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilder.EngagementRoleItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str msgraph_beta.generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilder.EngagementRoleItemRequestBuilderGetQueryParameters::|public|select:list[str] msgraph_beta.generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilder.EngagementRoleItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[EngagementRoleItemRequestBuilderGetQueryParameters] -msgraph_beta.generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilder.EngagementRoleItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None -msgraph_beta.generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None msgraph_beta.generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[EngagementRoleItemRequestBuilderGetQueryParameters]):EngagementRole msgraph_beta.generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilder::|public|members:MembersRequestBuilder -msgraph_beta.generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilder::|public|patch(body:EngagementRole; request_configuration?:RequestConfiguration[QueryParameters]):EngagementRole msgraph_beta.generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] msgraph_beta.generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilder::|public|request_adapter:RequestAdapter -msgraph_beta.generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[EngagementRoleItemRequestBuilderGetQueryParameters]):RequestInformation -msgraph_beta.generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilder::|public|to_patch_request_information(body:EngagementRole; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilder::|public|url_template:str msgraph_beta.generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilder::|public|with_url(raw_url:str):EngagementRoleItemRequestBuilder msgraph_beta.generated.employeeExperience.roles.item.members.count.CountRequestBuilder-->BaseRequestBuilder @@ -102292,16 +102741,13 @@ msgraph_beta.generated.employeeExperience.roles.item.members.item.EngagementRole msgraph_beta.generated.employeeExperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder.EngagementRoleMemberItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str msgraph_beta.generated.employeeExperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder.EngagementRoleMemberItemRequestBuilderGetQueryParameters::|public|select:list[str] msgraph_beta.generated.employeeExperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder.EngagementRoleMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[EngagementRoleMemberItemRequestBuilderGetQueryParameters] -msgraph_beta.generated.employeeExperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder.EngagementRoleMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.employeeExperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None msgraph_beta.generated.employeeExperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None msgraph_beta.generated.employeeExperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[EngagementRoleMemberItemRequestBuilderGetQueryParameters]):EngagementRoleMember -msgraph_beta.generated.employeeExperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|patch(body:EngagementRoleMember; request_configuration?:RequestConfiguration[QueryParameters]):EngagementRoleMember msgraph_beta.generated.employeeExperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] msgraph_beta.generated.employeeExperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|request_adapter:RequestAdapter msgraph_beta.generated.employeeExperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.employeeExperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[EngagementRoleMemberItemRequestBuilderGetQueryParameters]):RequestInformation -msgraph_beta.generated.employeeExperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|to_patch_request_information(body:EngagementRoleMember; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.employeeExperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|url_template:str msgraph_beta.generated.employeeExperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|user:UserRequestBuilder msgraph_beta.generated.employeeExperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|with_url(raw_url:str):EngagementRoleMemberItemRequestBuilder @@ -102399,16 +102845,12 @@ msgraph_beta.generated.employeeExperience.roles.RolesRequestBuilder.RolesRequest msgraph_beta.generated.employeeExperience.roles.RolesRequestBuilder.RolesRequestBuilderGetQueryParameters::|public|skip:int msgraph_beta.generated.employeeExperience.roles.RolesRequestBuilder.RolesRequestBuilderGetQueryParameters::|public|top:int msgraph_beta.generated.employeeExperience.roles.RolesRequestBuilder.RolesRequestBuilderGetRequestConfiguration-->RequestConfiguration[RolesRequestBuilderGetQueryParameters] -msgraph_beta.generated.employeeExperience.roles.RolesRequestBuilder.RolesRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.employeeExperience.roles.RolesRequestBuilder::|public|by_engagement_role_id(engagement_role_id:str):EngagementRoleItemRequestBuilder msgraph_beta.generated.employeeExperience.roles.RolesRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None -msgraph_beta.generated.employeeExperience.roles.RolesRequestBuilder::|public|count:CountRequestBuilder msgraph_beta.generated.employeeExperience.roles.RolesRequestBuilder::|public|get(request_configuration?:RequestConfiguration[RolesRequestBuilderGetQueryParameters]):EngagementRoleCollectionResponse msgraph_beta.generated.employeeExperience.roles.RolesRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] -msgraph_beta.generated.employeeExperience.roles.RolesRequestBuilder::|public|post(body:EngagementRole; request_configuration?:RequestConfiguration[QueryParameters]):EngagementRole msgraph_beta.generated.employeeExperience.roles.RolesRequestBuilder::|public|request_adapter:RequestAdapter msgraph_beta.generated.employeeExperience.roles.RolesRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[RolesRequestBuilderGetQueryParameters]):RequestInformation -msgraph_beta.generated.employeeExperience.roles.RolesRequestBuilder::|public|to_post_request_information(body:EngagementRole; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.employeeExperience.roles.RolesRequestBuilder::|public|url_template:str msgraph_beta.generated.employeeExperience.roles.RolesRequestBuilder::|public|with_url(raw_url:str):RolesRequestBuilder msgraph_beta.generated.external.authorizationSystems.AuthorizationSystemsRequestBuilder-->BaseRequestBuilder @@ -162089,6 +162531,7 @@ msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.Delete msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.DeletedItemsRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.DeletedItemsRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.DeletedItemsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[DeletedItemsRequestBuilderGetQueryParameters]):DeletedItemContainer +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.DeletedItemsRequestBuilder::|public|lifecycle_policies:LifecyclePoliciesRequestBuilder msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.DeletedItemsRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.DeletedItemsRequestBuilder::|public|request_adapter:RequestAdapter msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.DeletedItemsRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation @@ -162096,6 +162539,234 @@ msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.Delete msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.DeletedItemsRequestBuilder::|public|url_template:str msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.DeletedItemsRequestBuilder::|public|with_url(raw_url:str):DeletedItemsRequestBuilder msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.DeletedItemsRequestBuilder::|public|workflows:WorkflowsRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.count.CountRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.count.CountRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.count.CountRequestBuilder::|public|url_template:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.createdBy.CreatedByRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.createdBy.CreatedByRequestBuilder.CreatedByRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.createdBy.CreatedByRequestBuilder.CreatedByRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.createdBy.CreatedByRequestBuilder.CreatedByRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.createdBy.CreatedByRequestBuilder.CreatedByRequestBuilderGetRequestConfiguration-->RequestConfiguration[CreatedByRequestBuilderGetQueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.createdBy.CreatedByRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.createdBy.CreatedByRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CreatedByRequestBuilderGetQueryParameters]):DirectoryObject +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.createdBy.CreatedByRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.createdBy.CreatedByRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.createdBy.CreatedByRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CreatedByRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.createdBy.CreatedByRequestBuilder::|public|url_template:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.createdBy.CreatedByRequestBuilder::|public|with_url(raw_url:str):CreatedByRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.lastModifiedBy.LastModifiedByRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.lastModifiedBy.LastModifiedByRequestBuilder.LastModifiedByRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.lastModifiedBy.LastModifiedByRequestBuilder.LastModifiedByRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.lastModifiedBy.LastModifiedByRequestBuilder.LastModifiedByRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.lastModifiedBy.LastModifiedByRequestBuilder.LastModifiedByRequestBuilderGetRequestConfiguration-->RequestConfiguration[LastModifiedByRequestBuilderGetQueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.lastModifiedBy.LastModifiedByRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.lastModifiedBy.LastModifiedByRequestBuilder::|public|get(request_configuration?:RequestConfiguration[LastModifiedByRequestBuilderGetQueryParameters]):DirectoryObject +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.lastModifiedBy.LastModifiedByRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.lastModifiedBy.LastModifiedByRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.lastModifiedBy.LastModifiedByRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[LastModifiedByRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.lastModifiedBy.LastModifiedByRequestBuilder::|public|url_template:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.lastModifiedBy.LastModifiedByRequestBuilder::|public|with_url(raw_url:str):LastModifiedByRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.LifecyclePolicyItemRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[LifecyclePolicyItemRequestBuilderGetQueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.LifecyclePolicyItemRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.LifecyclePolicyItemRequestBuilder::|public|created_by:CreatedByRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.LifecyclePolicyItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.LifecyclePolicyItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[LifecyclePolicyItemRequestBuilderGetQueryParameters]):LifecyclePolicy +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.LifecyclePolicyItemRequestBuilder::|public|last_modified_by:LastModifiedByRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.LifecyclePolicyItemRequestBuilder::|public|microsoft_graph_identity_governance_restore:MicrosoftGraphIdentityGovernanceRestoreRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.LifecyclePolicyItemRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.LifecyclePolicyItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.LifecyclePolicyItemRequestBuilder::|public|rules:RulesRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.LifecyclePolicyItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.LifecyclePolicyItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[LifecyclePolicyItemRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.LifecyclePolicyItemRequestBuilder::|public|url_template:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.LifecyclePolicyItemRequestBuilder::|public|versions:VersionsRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.LifecyclePolicyItemRequestBuilder::|public|with_url(raw_url:str):LifecyclePolicyItemRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.microsoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.microsoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.MicrosoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.microsoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.microsoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.microsoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):LifecyclePolicy +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.microsoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.microsoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.microsoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|url_template:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.microsoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|with_url(raw_url:str):MicrosoftGraphIdentityGovernanceRestoreRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder.LifecyclePolicyRuleItemRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder.LifecyclePolicyRuleItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder.LifecyclePolicyRuleItemRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder.LifecyclePolicyRuleItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[LifecyclePolicyRuleItemRequestBuilderGetQueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[LifecyclePolicyRuleItemRequestBuilderGetQueryParameters]):LifecyclePolicyRule +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[LifecyclePolicyRuleItemRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|url_template:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|with_url(raw_url:str):LifecyclePolicyRuleItemRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.rules.RulesRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.rules.RulesRequestBuilder.RulesRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.rules.RulesRequestBuilder.RulesRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.rules.RulesRequestBuilder.RulesRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.rules.RulesRequestBuilder.RulesRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.rules.RulesRequestBuilder.RulesRequestBuilderGetQueryParameters::|public|orderby:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.rules.RulesRequestBuilder.RulesRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.rules.RulesRequestBuilder.RulesRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.rules.RulesRequestBuilder.RulesRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.rules.RulesRequestBuilder.RulesRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.rules.RulesRequestBuilder.RulesRequestBuilderGetRequestConfiguration-->RequestConfiguration[RulesRequestBuilderGetQueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.rules.RulesRequestBuilder::|public|by_lifecycle_policy_rule_id(lifecycle_policy_rule_id:str):LifecyclePolicyRuleItemRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.rules.RulesRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.rules.RulesRequestBuilder::|public|get(request_configuration?:RequestConfiguration[RulesRequestBuilderGetQueryParameters]):LifecyclePolicyRuleCollectionResponse +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.rules.RulesRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.rules.RulesRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.rules.RulesRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[RulesRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.rules.RulesRequestBuilder::|public|url_template:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.rules.RulesRequestBuilder::|public|with_url(raw_url:str):RulesRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.createdBy.CreatedByRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.createdBy.CreatedByRequestBuilder.CreatedByRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.createdBy.CreatedByRequestBuilder.CreatedByRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.createdBy.CreatedByRequestBuilder.CreatedByRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.createdBy.CreatedByRequestBuilder.CreatedByRequestBuilderGetRequestConfiguration-->RequestConfiguration[CreatedByRequestBuilderGetQueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.createdBy.CreatedByRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.createdBy.CreatedByRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CreatedByRequestBuilderGetQueryParameters]):DirectoryObject +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.createdBy.CreatedByRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.createdBy.CreatedByRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.createdBy.CreatedByRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CreatedByRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.createdBy.CreatedByRequestBuilder::|public|url_template:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.createdBy.CreatedByRequestBuilder::|public|with_url(raw_url:str):CreatedByRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.lastModifiedBy.LastModifiedByRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.lastModifiedBy.LastModifiedByRequestBuilder.LastModifiedByRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.lastModifiedBy.LastModifiedByRequestBuilder.LastModifiedByRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.lastModifiedBy.LastModifiedByRequestBuilder.LastModifiedByRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.lastModifiedBy.LastModifiedByRequestBuilder.LastModifiedByRequestBuilderGetRequestConfiguration-->RequestConfiguration[LastModifiedByRequestBuilderGetQueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.lastModifiedBy.LastModifiedByRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.lastModifiedBy.LastModifiedByRequestBuilder::|public|get(request_configuration?:RequestConfiguration[LastModifiedByRequestBuilderGetQueryParameters]):DirectoryObject +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.lastModifiedBy.LastModifiedByRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.lastModifiedBy.LastModifiedByRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.lastModifiedBy.LastModifiedByRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[LastModifiedByRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.lastModifiedBy.LastModifiedByRequestBuilder::|public|url_template:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.lastModifiedBy.LastModifiedByRequestBuilder::|public|with_url(raw_url:str):LastModifiedByRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.LifecyclePolicyItemRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[LifecyclePolicyItemRequestBuilderGetQueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|created_by:CreatedByRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[LifecyclePolicyItemRequestBuilderGetQueryParameters]):LifecyclePolicy +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|last_modified_by:LastModifiedByRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|microsoft_graph_identity_governance_restore:MicrosoftGraphIdentityGovernanceRestoreRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|rules:RulesRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[LifecyclePolicyItemRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|url_template:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|with_url(raw_url:str):LifecyclePolicyItemRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.microsoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.microsoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.MicrosoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.microsoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.microsoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.microsoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):LifecyclePolicy +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.microsoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.microsoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.microsoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|url_template:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.microsoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|with_url(raw_url:str):MicrosoftGraphIdentityGovernanceRestoreRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.count.CountRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.count.CountRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.count.CountRequestBuilder::|public|url_template:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder.LifecyclePolicyRuleItemRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder.LifecyclePolicyRuleItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder.LifecyclePolicyRuleItemRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder.LifecyclePolicyRuleItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[LifecyclePolicyRuleItemRequestBuilderGetQueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[LifecyclePolicyRuleItemRequestBuilderGetQueryParameters]):LifecyclePolicyRule +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[LifecyclePolicyRuleItemRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|url_template:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|with_url(raw_url:str):LifecyclePolicyRuleItemRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.RulesRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.RulesRequestBuilder.RulesRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.RulesRequestBuilder.RulesRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.RulesRequestBuilder.RulesRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.RulesRequestBuilder.RulesRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.RulesRequestBuilder.RulesRequestBuilderGetQueryParameters::|public|orderby:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.RulesRequestBuilder.RulesRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.RulesRequestBuilder.RulesRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.RulesRequestBuilder.RulesRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.RulesRequestBuilder.RulesRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.RulesRequestBuilder.RulesRequestBuilderGetRequestConfiguration-->RequestConfiguration[RulesRequestBuilderGetQueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.RulesRequestBuilder::|public|by_lifecycle_policy_rule_id(lifecycle_policy_rule_id:str):LifecyclePolicyRuleItemRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.RulesRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.RulesRequestBuilder::|public|count:CountRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.RulesRequestBuilder::|public|get(request_configuration?:RequestConfiguration[RulesRequestBuilderGetQueryParameters]):LifecyclePolicyRuleCollectionResponse +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.RulesRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.RulesRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.RulesRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[RulesRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.RulesRequestBuilder::|public|url_template:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.item.rules.RulesRequestBuilder::|public|with_url(raw_url:str):RulesRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.VersionsRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.VersionsRequestBuilder.VersionsRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.VersionsRequestBuilder.VersionsRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.VersionsRequestBuilder.VersionsRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.VersionsRequestBuilder.VersionsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.VersionsRequestBuilder.VersionsRequestBuilderGetQueryParameters::|public|orderby:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.VersionsRequestBuilder.VersionsRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.VersionsRequestBuilder.VersionsRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.VersionsRequestBuilder.VersionsRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.VersionsRequestBuilder.VersionsRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.VersionsRequestBuilder.VersionsRequestBuilderGetRequestConfiguration-->RequestConfiguration[VersionsRequestBuilderGetQueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.VersionsRequestBuilder::|public|by_lifecycle_policy_id1(lifecycle_policy_id1:str):LifecyclePolicyItemRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.VersionsRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.VersionsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[VersionsRequestBuilderGetQueryParameters]):LifecyclePolicyCollectionResponse +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.VersionsRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.VersionsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.VersionsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[VersionsRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.VersionsRequestBuilder::|public|url_template:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.item.versions.VersionsRequestBuilder::|public|with_url(raw_url:str):VersionsRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.LifecyclePoliciesRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.LifecyclePoliciesRequestBuilder.LifecyclePoliciesRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.LifecyclePoliciesRequestBuilder.LifecyclePoliciesRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.LifecyclePoliciesRequestBuilder.LifecyclePoliciesRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.LifecyclePoliciesRequestBuilder.LifecyclePoliciesRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.LifecyclePoliciesRequestBuilder.LifecyclePoliciesRequestBuilderGetQueryParameters::|public|orderby:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.LifecyclePoliciesRequestBuilder.LifecyclePoliciesRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.LifecyclePoliciesRequestBuilder.LifecyclePoliciesRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.LifecyclePoliciesRequestBuilder.LifecyclePoliciesRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.LifecyclePoliciesRequestBuilder.LifecyclePoliciesRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.LifecyclePoliciesRequestBuilder.LifecyclePoliciesRequestBuilderGetRequestConfiguration-->RequestConfiguration[LifecyclePoliciesRequestBuilderGetQueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.LifecyclePoliciesRequestBuilder::|public|by_lifecycle_policy_id(lifecycle_policy_id:str):LifecyclePolicyItemRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.LifecyclePoliciesRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.LifecyclePoliciesRequestBuilder::|public|count:CountRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.LifecyclePoliciesRequestBuilder::|public|get(request_configuration?:RequestConfiguration[LifecyclePoliciesRequestBuilderGetQueryParameters]):LifecyclePolicyCollectionResponse +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.LifecyclePoliciesRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.LifecyclePoliciesRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.LifecyclePoliciesRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[LifecyclePoliciesRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.LifecyclePoliciesRequestBuilder::|public|url_template:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.lifecyclePolicies.LifecyclePoliciesRequestBuilder::|public|with_url(raw_url:str):LifecyclePoliciesRequestBuilder msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.count.CountRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str @@ -162792,6 +163463,15 @@ msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workfl msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.runs.item.subjectProcessingResults.item.taskProcessingResults.TaskProcessingResultsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[TaskProcessingResultsRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.runs.item.subjectProcessingResults.item.taskProcessingResults.TaskProcessingResultsRequestBuilder::|public|url_template:str msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.runs.item.subjectProcessingResults.item.taskProcessingResults.TaskProcessingResultsRequestBuilder::|public|with_url(raw_url:str):TaskProcessingResultsRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.runs.item.subjectProcessingResults.microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.runs.item.subjectProcessingResults.microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.runs.item.subjectProcessingResults.microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter; end_date_time?:datetime.datetime; start_date_time?:datetime.datetime):None +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.runs.item.subjectProcessingResults.microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|get(request_configuration?:RequestConfiguration[QueryParameters]):SubjectSummary +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.runs.item.subjectProcessingResults.microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.runs.item.subjectProcessingResults.microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.runs.item.subjectProcessingResults.microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.runs.item.subjectProcessingResults.microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|url_template:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.runs.item.subjectProcessingResults.microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|with_url(raw_url:str):MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.runs.item.subjectProcessingResults.SubjectProcessingResultsRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.runs.item.subjectProcessingResults.SubjectProcessingResultsRequestBuilder.SubjectProcessingResultsRequestBuilderGetQueryParameters::|public|count:bool msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.runs.item.subjectProcessingResults.SubjectProcessingResultsRequestBuilder.SubjectProcessingResultsRequestBuilderGetQueryParameters::|public|expand:list[str] @@ -162807,6 +163487,7 @@ msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workfl msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.runs.item.subjectProcessingResults.SubjectProcessingResultsRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.runs.item.subjectProcessingResults.SubjectProcessingResultsRequestBuilder::|public|count:CountRequestBuilder msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.runs.item.subjectProcessingResults.SubjectProcessingResultsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[SubjectProcessingResultsRequestBuilderGetQueryParameters]):SubjectProcessingResultCollectionResponse +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.runs.item.subjectProcessingResults.SubjectProcessingResultsRequestBuilder::|public|microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time(end_date_time:datetime.datetime; start_date_time:datetime.datetime):MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.runs.item.subjectProcessingResults.SubjectProcessingResultsRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.runs.item.subjectProcessingResults.SubjectProcessingResultsRequestBuilder::|public|request_adapter:RequestAdapter msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.runs.item.subjectProcessingResults.SubjectProcessingResultsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[SubjectProcessingResultsRequestBuilderGetQueryParameters]):RequestInformation @@ -163499,6 +164180,15 @@ msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workfl msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.subjectProcessingResults.item.taskProcessingResults.TaskProcessingResultsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[TaskProcessingResultsRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.subjectProcessingResults.item.taskProcessingResults.TaskProcessingResultsRequestBuilder::|public|url_template:str msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.subjectProcessingResults.item.taskProcessingResults.TaskProcessingResultsRequestBuilder::|public|with_url(raw_url:str):TaskProcessingResultsRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.subjectProcessingResults.microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.subjectProcessingResults.microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.subjectProcessingResults.microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter; end_date_time?:datetime.datetime; start_date_time?:datetime.datetime):None +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.subjectProcessingResults.microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|get(request_configuration?:RequestConfiguration[QueryParameters]):SubjectSummary +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.subjectProcessingResults.microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.subjectProcessingResults.microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.subjectProcessingResults.microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.subjectProcessingResults.microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|url_template:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.subjectProcessingResults.microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|with_url(raw_url:str):MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.subjectProcessingResults.SubjectProcessingResultsRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.subjectProcessingResults.SubjectProcessingResultsRequestBuilder.SubjectProcessingResultsRequestBuilderGetQueryParameters::|public|count:bool msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.subjectProcessingResults.SubjectProcessingResultsRequestBuilder.SubjectProcessingResultsRequestBuilderGetQueryParameters::|public|expand:list[str] @@ -163514,6 +164204,7 @@ msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workfl msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.subjectProcessingResults.SubjectProcessingResultsRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.subjectProcessingResults.SubjectProcessingResultsRequestBuilder::|public|count:CountRequestBuilder msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.subjectProcessingResults.SubjectProcessingResultsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[SubjectProcessingResultsRequestBuilderGetQueryParameters]):SubjectProcessingResultCollectionResponse +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.subjectProcessingResults.SubjectProcessingResultsRequestBuilder::|public|microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time(end_date_time:datetime.datetime; start_date_time:datetime.datetime):MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.subjectProcessingResults.SubjectProcessingResultsRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.subjectProcessingResults.SubjectProcessingResultsRequestBuilder::|public|request_adapter:RequestAdapter msgraph_beta.generated.identityGovernance.lifecycleWorkflows.deletedItems.workflows.item.subjectProcessingResults.SubjectProcessingResultsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[SubjectProcessingResultsRequestBuilderGetQueryParameters]):RequestInformation @@ -164788,6 +165479,284 @@ msgraph_beta.generated.identityGovernance.lifecycleWorkflows.insights.microsoftG msgraph_beta.generated.identityGovernance.lifecycleWorkflows.insights.microsoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.identityGovernance.lifecycleWorkflows.insights.microsoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|url_template:str msgraph_beta.generated.identityGovernance.lifecycleWorkflows.insights.microsoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|with_url(raw_url:str):MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.count.CountRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.count.CountRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.count.CountRequestBuilder::|public|url_template:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.createdBy.CreatedByRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.createdBy.CreatedByRequestBuilder.CreatedByRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.createdBy.CreatedByRequestBuilder.CreatedByRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.createdBy.CreatedByRequestBuilder.CreatedByRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.createdBy.CreatedByRequestBuilder.CreatedByRequestBuilderGetRequestConfiguration-->RequestConfiguration[CreatedByRequestBuilderGetQueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.createdBy.CreatedByRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.createdBy.CreatedByRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CreatedByRequestBuilderGetQueryParameters]):DirectoryObject +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.createdBy.CreatedByRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.createdBy.CreatedByRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.createdBy.CreatedByRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CreatedByRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.createdBy.CreatedByRequestBuilder::|public|url_template:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.createdBy.CreatedByRequestBuilder::|public|with_url(raw_url:str):CreatedByRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.lastModifiedBy.LastModifiedByRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.lastModifiedBy.LastModifiedByRequestBuilder.LastModifiedByRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.lastModifiedBy.LastModifiedByRequestBuilder.LastModifiedByRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.lastModifiedBy.LastModifiedByRequestBuilder.LastModifiedByRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.lastModifiedBy.LastModifiedByRequestBuilder.LastModifiedByRequestBuilderGetRequestConfiguration-->RequestConfiguration[LastModifiedByRequestBuilderGetQueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.lastModifiedBy.LastModifiedByRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.lastModifiedBy.LastModifiedByRequestBuilder::|public|get(request_configuration?:RequestConfiguration[LastModifiedByRequestBuilderGetQueryParameters]):DirectoryObject +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.lastModifiedBy.LastModifiedByRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.lastModifiedBy.LastModifiedByRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.lastModifiedBy.LastModifiedByRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[LastModifiedByRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.lastModifiedBy.LastModifiedByRequestBuilder::|public|url_template:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.lastModifiedBy.LastModifiedByRequestBuilder::|public|with_url(raw_url:str):LastModifiedByRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.LifecyclePolicyItemRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[LifecyclePolicyItemRequestBuilderGetQueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.LifecyclePolicyItemRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.LifecyclePolicyItemRequestBuilder::|public|created_by:CreatedByRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.LifecyclePolicyItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.LifecyclePolicyItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[LifecyclePolicyItemRequestBuilderGetQueryParameters]):LifecyclePolicy +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.LifecyclePolicyItemRequestBuilder::|public|last_modified_by:LastModifiedByRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.LifecyclePolicyItemRequestBuilder::|public|microsoft_graph_identity_governance_restore:MicrosoftGraphIdentityGovernanceRestoreRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.LifecyclePolicyItemRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.LifecyclePolicyItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.LifecyclePolicyItemRequestBuilder::|public|rules:RulesRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.LifecyclePolicyItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.LifecyclePolicyItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[LifecyclePolicyItemRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.LifecyclePolicyItemRequestBuilder::|public|url_template:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.LifecyclePolicyItemRequestBuilder::|public|versions:VersionsRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.LifecyclePolicyItemRequestBuilder::|public|with_url(raw_url:str):LifecyclePolicyItemRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.microsoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.microsoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.MicrosoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.microsoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.microsoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.microsoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):LifecyclePolicy +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.microsoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.microsoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.microsoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|url_template:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.microsoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|with_url(raw_url:str):MicrosoftGraphIdentityGovernanceRestoreRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder.LifecyclePolicyRuleItemRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder.LifecyclePolicyRuleItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder.LifecyclePolicyRuleItemRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder.LifecyclePolicyRuleItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[LifecyclePolicyRuleItemRequestBuilderGetQueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[LifecyclePolicyRuleItemRequestBuilderGetQueryParameters]):LifecyclePolicyRule +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[LifecyclePolicyRuleItemRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|url_template:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|with_url(raw_url:str):LifecyclePolicyRuleItemRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.rules.RulesRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.rules.RulesRequestBuilder.RulesRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.rules.RulesRequestBuilder.RulesRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.rules.RulesRequestBuilder.RulesRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.rules.RulesRequestBuilder.RulesRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.rules.RulesRequestBuilder.RulesRequestBuilderGetQueryParameters::|public|orderby:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.rules.RulesRequestBuilder.RulesRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.rules.RulesRequestBuilder.RulesRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.rules.RulesRequestBuilder.RulesRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.rules.RulesRequestBuilder.RulesRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.rules.RulesRequestBuilder.RulesRequestBuilderGetRequestConfiguration-->RequestConfiguration[RulesRequestBuilderGetQueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.rules.RulesRequestBuilder::|public|by_lifecycle_policy_rule_id(lifecycle_policy_rule_id:str):LifecyclePolicyRuleItemRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.rules.RulesRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.rules.RulesRequestBuilder::|public|get(request_configuration?:RequestConfiguration[RulesRequestBuilderGetQueryParameters]):LifecyclePolicyRuleCollectionResponse +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.rules.RulesRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.rules.RulesRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.rules.RulesRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[RulesRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.rules.RulesRequestBuilder::|public|url_template:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.rules.RulesRequestBuilder::|public|with_url(raw_url:str):RulesRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.createdBy.CreatedByRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.createdBy.CreatedByRequestBuilder.CreatedByRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.createdBy.CreatedByRequestBuilder.CreatedByRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.createdBy.CreatedByRequestBuilder.CreatedByRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.createdBy.CreatedByRequestBuilder.CreatedByRequestBuilderGetRequestConfiguration-->RequestConfiguration[CreatedByRequestBuilderGetQueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.createdBy.CreatedByRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.createdBy.CreatedByRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CreatedByRequestBuilderGetQueryParameters]):DirectoryObject +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.createdBy.CreatedByRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.createdBy.CreatedByRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.createdBy.CreatedByRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CreatedByRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.createdBy.CreatedByRequestBuilder::|public|url_template:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.createdBy.CreatedByRequestBuilder::|public|with_url(raw_url:str):CreatedByRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.lastModifiedBy.LastModifiedByRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.lastModifiedBy.LastModifiedByRequestBuilder.LastModifiedByRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.lastModifiedBy.LastModifiedByRequestBuilder.LastModifiedByRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.lastModifiedBy.LastModifiedByRequestBuilder.LastModifiedByRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.lastModifiedBy.LastModifiedByRequestBuilder.LastModifiedByRequestBuilderGetRequestConfiguration-->RequestConfiguration[LastModifiedByRequestBuilderGetQueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.lastModifiedBy.LastModifiedByRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.lastModifiedBy.LastModifiedByRequestBuilder::|public|get(request_configuration?:RequestConfiguration[LastModifiedByRequestBuilderGetQueryParameters]):DirectoryObject +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.lastModifiedBy.LastModifiedByRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.lastModifiedBy.LastModifiedByRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.lastModifiedBy.LastModifiedByRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[LastModifiedByRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.lastModifiedBy.LastModifiedByRequestBuilder::|public|url_template:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.lastModifiedBy.LastModifiedByRequestBuilder::|public|with_url(raw_url:str):LastModifiedByRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.LifecyclePolicyItemRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[LifecyclePolicyItemRequestBuilderGetQueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|created_by:CreatedByRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[LifecyclePolicyItemRequestBuilderGetQueryParameters]):LifecyclePolicy +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|last_modified_by:LastModifiedByRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|microsoft_graph_identity_governance_restore:MicrosoftGraphIdentityGovernanceRestoreRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|rules:RulesRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[LifecyclePolicyItemRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|url_template:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.LifecyclePolicyItemRequestBuilder::|public|with_url(raw_url:str):LifecyclePolicyItemRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.microsoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.microsoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.MicrosoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.microsoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.microsoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.microsoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):LifecyclePolicy +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.microsoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.microsoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.microsoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|url_template:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.microsoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder::|public|with_url(raw_url:str):MicrosoftGraphIdentityGovernanceRestoreRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.count.CountRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.count.CountRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.count.CountRequestBuilder::|public|url_template:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder.LifecyclePolicyRuleItemRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder.LifecyclePolicyRuleItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder.LifecyclePolicyRuleItemRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder.LifecyclePolicyRuleItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[LifecyclePolicyRuleItemRequestBuilderGetQueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[LifecyclePolicyRuleItemRequestBuilderGetQueryParameters]):LifecyclePolicyRule +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[LifecyclePolicyRuleItemRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|url_template:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.item.LifecyclePolicyRuleItemRequestBuilder::|public|with_url(raw_url:str):LifecyclePolicyRuleItemRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.RulesRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.RulesRequestBuilder.RulesRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.RulesRequestBuilder.RulesRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.RulesRequestBuilder.RulesRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.RulesRequestBuilder.RulesRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.RulesRequestBuilder.RulesRequestBuilderGetQueryParameters::|public|orderby:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.RulesRequestBuilder.RulesRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.RulesRequestBuilder.RulesRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.RulesRequestBuilder.RulesRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.RulesRequestBuilder.RulesRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.RulesRequestBuilder.RulesRequestBuilderGetRequestConfiguration-->RequestConfiguration[RulesRequestBuilderGetQueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.RulesRequestBuilder::|public|by_lifecycle_policy_rule_id(lifecycle_policy_rule_id:str):LifecyclePolicyRuleItemRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.RulesRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.RulesRequestBuilder::|public|count:CountRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.RulesRequestBuilder::|public|get(request_configuration?:RequestConfiguration[RulesRequestBuilderGetQueryParameters]):LifecyclePolicyRuleCollectionResponse +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.RulesRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.RulesRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.RulesRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[RulesRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.RulesRequestBuilder::|public|url_template:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.item.rules.RulesRequestBuilder::|public|with_url(raw_url:str):RulesRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.VersionsRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.VersionsRequestBuilder.VersionsRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.VersionsRequestBuilder.VersionsRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.VersionsRequestBuilder.VersionsRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.VersionsRequestBuilder.VersionsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.VersionsRequestBuilder.VersionsRequestBuilderGetQueryParameters::|public|orderby:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.VersionsRequestBuilder.VersionsRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.VersionsRequestBuilder.VersionsRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.VersionsRequestBuilder.VersionsRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.VersionsRequestBuilder.VersionsRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.VersionsRequestBuilder.VersionsRequestBuilderGetRequestConfiguration-->RequestConfiguration[VersionsRequestBuilderGetQueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.VersionsRequestBuilder::|public|by_lifecycle_policy_id1(lifecycle_policy_id1:str):LifecyclePolicyItemRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.VersionsRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.VersionsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[VersionsRequestBuilderGetQueryParameters]):LifecyclePolicyCollectionResponse +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.VersionsRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.VersionsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.VersionsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[VersionsRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.VersionsRequestBuilder::|public|url_template:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.item.versions.VersionsRequestBuilder::|public|with_url(raw_url:str):VersionsRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.LifecyclePoliciesRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.LifecyclePoliciesRequestBuilder.LifecyclePoliciesRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.LifecyclePoliciesRequestBuilder.LifecyclePoliciesRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.LifecyclePoliciesRequestBuilder.LifecyclePoliciesRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.LifecyclePoliciesRequestBuilder.LifecyclePoliciesRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.LifecyclePoliciesRequestBuilder.LifecyclePoliciesRequestBuilderGetQueryParameters::|public|orderby:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.LifecyclePoliciesRequestBuilder.LifecyclePoliciesRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.LifecyclePoliciesRequestBuilder.LifecyclePoliciesRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.LifecyclePoliciesRequestBuilder.LifecyclePoliciesRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.LifecyclePoliciesRequestBuilder.LifecyclePoliciesRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.LifecyclePoliciesRequestBuilder.LifecyclePoliciesRequestBuilderGetRequestConfiguration-->RequestConfiguration[LifecyclePoliciesRequestBuilderGetQueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.LifecyclePoliciesRequestBuilder.LifecyclePoliciesRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.LifecyclePoliciesRequestBuilder::|public|by_lifecycle_policy_id(lifecycle_policy_id:str):LifecyclePolicyItemRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.LifecyclePoliciesRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.LifecyclePoliciesRequestBuilder::|public|count:CountRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.LifecyclePoliciesRequestBuilder::|public|get(request_configuration?:RequestConfiguration[LifecyclePoliciesRequestBuilderGetQueryParameters]):LifecyclePolicyCollectionResponse +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.LifecyclePoliciesRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.LifecyclePoliciesRequestBuilder::|public|post(body:LifecyclePolicy; request_configuration?:RequestConfiguration[QueryParameters]):LifecyclePolicy +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.LifecyclePoliciesRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.LifecyclePoliciesRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[LifecyclePoliciesRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.LifecyclePoliciesRequestBuilder::|public|to_post_request_information(body:LifecyclePolicy; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.LifecyclePoliciesRequestBuilder::|public|url_template:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicies.LifecyclePoliciesRequestBuilder::|public|with_url(raw_url:str):LifecyclePoliciesRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.count.CountRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.count.CountRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.count.CountRequestBuilder::|public|url_template:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.item.LifecyclePolicyPriorityConfigurationItemRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.item.LifecyclePolicyPriorityConfigurationItemRequestBuilder.LifecyclePolicyPriorityConfigurationItemRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.item.LifecyclePolicyPriorityConfigurationItemRequestBuilder.LifecyclePolicyPriorityConfigurationItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.item.LifecyclePolicyPriorityConfigurationItemRequestBuilder.LifecyclePolicyPriorityConfigurationItemRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.item.LifecyclePolicyPriorityConfigurationItemRequestBuilder.LifecyclePolicyPriorityConfigurationItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[LifecyclePolicyPriorityConfigurationItemRequestBuilderGetQueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.item.LifecyclePolicyPriorityConfigurationItemRequestBuilder.LifecyclePolicyPriorityConfigurationItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.item.LifecyclePolicyPriorityConfigurationItemRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.item.LifecyclePolicyPriorityConfigurationItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[LifecyclePolicyPriorityConfigurationItemRequestBuilderGetQueryParameters]):LifecyclePolicyPriorityConfiguration +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.item.LifecyclePolicyPriorityConfigurationItemRequestBuilder::|public|patch(body:LifecyclePolicyPriorityConfiguration; request_configuration?:RequestConfiguration[QueryParameters]):LifecyclePolicyPriorityConfiguration +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.item.LifecyclePolicyPriorityConfigurationItemRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.item.LifecyclePolicyPriorityConfigurationItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.item.LifecyclePolicyPriorityConfigurationItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[LifecyclePolicyPriorityConfigurationItemRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.item.LifecyclePolicyPriorityConfigurationItemRequestBuilder::|public|to_patch_request_information(body:LifecyclePolicyPriorityConfiguration; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.item.LifecyclePolicyPriorityConfigurationItemRequestBuilder::|public|url_template:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.item.LifecyclePolicyPriorityConfigurationItemRequestBuilder::|public|with_url(raw_url:str):LifecyclePolicyPriorityConfigurationItemRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder.LifecyclePolicyPriorityConfigurationsRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder.LifecyclePolicyPriorityConfigurationsRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder.LifecyclePolicyPriorityConfigurationsRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder.LifecyclePolicyPriorityConfigurationsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder.LifecyclePolicyPriorityConfigurationsRequestBuilderGetQueryParameters::|public|orderby:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder.LifecyclePolicyPriorityConfigurationsRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder.LifecyclePolicyPriorityConfigurationsRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder.LifecyclePolicyPriorityConfigurationsRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder.LifecyclePolicyPriorityConfigurationsRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder.LifecyclePolicyPriorityConfigurationsRequestBuilderGetRequestConfiguration-->RequestConfiguration[LifecyclePolicyPriorityConfigurationsRequestBuilderGetQueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder::|public|by_lifecycle_policy_priority_configuration_id(lifecycle_policy_priority_configuration_id:str):LifecyclePolicyPriorityConfigurationItemRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder::|public|count:CountRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[LifecyclePolicyPriorityConfigurationsRequestBuilderGetQueryParameters]):LifecyclePolicyPriorityConfigurationCollectionResponse +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[LifecyclePolicyPriorityConfigurationsRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder::|public|url_template:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.lifecyclePolicyPriorityConfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder::|public|with_url(raw_url:str):LifecyclePolicyPriorityConfigurationsRequestBuilder msgraph_beta.generated.identityGovernance.lifecycleWorkflows.LifecycleWorkflowsRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.identityGovernance.lifecycleWorkflows.LifecycleWorkflowsRequestBuilder.LifecycleWorkflowsRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.identityGovernance.lifecycleWorkflows.LifecycleWorkflowsRequestBuilder.LifecycleWorkflowsRequestBuilderGetQueryParameters::|public|expand:list[str] @@ -164801,6 +165770,8 @@ msgraph_beta.generated.identityGovernance.lifecycleWorkflows.LifecycleWorkflowsR msgraph_beta.generated.identityGovernance.lifecycleWorkflows.LifecycleWorkflowsRequestBuilder::|public|deleted_items:DeletedItemsRequestBuilder msgraph_beta.generated.identityGovernance.lifecycleWorkflows.LifecycleWorkflowsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[LifecycleWorkflowsRequestBuilderGetQueryParameters]):LifecycleWorkflowsContainer msgraph_beta.generated.identityGovernance.lifecycleWorkflows.LifecycleWorkflowsRequestBuilder::|public|insights:InsightsRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.LifecycleWorkflowsRequestBuilder::|public|lifecycle_policies:LifecyclePoliciesRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.LifecycleWorkflowsRequestBuilder::|public|lifecycle_policy_priority_configurations:LifecyclePolicyPriorityConfigurationsRequestBuilder msgraph_beta.generated.identityGovernance.lifecycleWorkflows.LifecycleWorkflowsRequestBuilder::|public|patch(body:LifecycleWorkflowsContainer; request_configuration?:RequestConfiguration[QueryParameters]):LifecycleWorkflowsContainer msgraph_beta.generated.identityGovernance.lifecycleWorkflows.LifecycleWorkflowsRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] msgraph_beta.generated.identityGovernance.lifecycleWorkflows.LifecycleWorkflowsRequestBuilder::|public|request_adapter:RequestAdapter @@ -165568,6 +166539,15 @@ msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.runs msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.runs.item.subjectProcessingResults.item.taskProcessingResults.TaskProcessingResultsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[TaskProcessingResultsRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.runs.item.subjectProcessingResults.item.taskProcessingResults.TaskProcessingResultsRequestBuilder::|public|url_template:str msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.runs.item.subjectProcessingResults.item.taskProcessingResults.TaskProcessingResultsRequestBuilder::|public|with_url(raw_url:str):TaskProcessingResultsRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.runs.item.subjectProcessingResults.microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.runs.item.subjectProcessingResults.microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.runs.item.subjectProcessingResults.microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter; end_date_time?:datetime.datetime; start_date_time?:datetime.datetime):None +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.runs.item.subjectProcessingResults.microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|get(request_configuration?:RequestConfiguration[QueryParameters]):SubjectSummary +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.runs.item.subjectProcessingResults.microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.runs.item.subjectProcessingResults.microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.runs.item.subjectProcessingResults.microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.runs.item.subjectProcessingResults.microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|url_template:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.runs.item.subjectProcessingResults.microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|with_url(raw_url:str):MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.runs.item.subjectProcessingResults.SubjectProcessingResultsRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.runs.item.subjectProcessingResults.SubjectProcessingResultsRequestBuilder.SubjectProcessingResultsRequestBuilderGetQueryParameters::|public|count:bool msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.runs.item.subjectProcessingResults.SubjectProcessingResultsRequestBuilder.SubjectProcessingResultsRequestBuilderGetQueryParameters::|public|expand:list[str] @@ -165583,6 +166563,7 @@ msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.runs msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.runs.item.subjectProcessingResults.SubjectProcessingResultsRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.runs.item.subjectProcessingResults.SubjectProcessingResultsRequestBuilder::|public|count:CountRequestBuilder msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.runs.item.subjectProcessingResults.SubjectProcessingResultsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[SubjectProcessingResultsRequestBuilderGetQueryParameters]):SubjectProcessingResultCollectionResponse +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.runs.item.subjectProcessingResults.SubjectProcessingResultsRequestBuilder::|public|microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time(end_date_time:datetime.datetime; start_date_time:datetime.datetime):MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.runs.item.subjectProcessingResults.SubjectProcessingResultsRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.runs.item.subjectProcessingResults.SubjectProcessingResultsRequestBuilder::|public|request_adapter:RequestAdapter msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.runs.item.subjectProcessingResults.SubjectProcessingResultsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[SubjectProcessingResultsRequestBuilderGetQueryParameters]):RequestInformation @@ -166275,6 +167256,15 @@ msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.subj msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.subjectProcessingResults.item.taskProcessingResults.TaskProcessingResultsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[TaskProcessingResultsRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.subjectProcessingResults.item.taskProcessingResults.TaskProcessingResultsRequestBuilder::|public|url_template:str msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.subjectProcessingResults.item.taskProcessingResults.TaskProcessingResultsRequestBuilder::|public|with_url(raw_url:str):TaskProcessingResultsRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.subjectProcessingResults.microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.subjectProcessingResults.microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.subjectProcessingResults.microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter; end_date_time?:datetime.datetime; start_date_time?:datetime.datetime):None +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.subjectProcessingResults.microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|get(request_configuration?:RequestConfiguration[QueryParameters]):SubjectSummary +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.subjectProcessingResults.microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.subjectProcessingResults.microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.subjectProcessingResults.microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.subjectProcessingResults.microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|url_template:str +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.subjectProcessingResults.microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|with_url(raw_url:str):MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.subjectProcessingResults.SubjectProcessingResultsRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.subjectProcessingResults.SubjectProcessingResultsRequestBuilder.SubjectProcessingResultsRequestBuilderGetQueryParameters::|public|count:bool msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.subjectProcessingResults.SubjectProcessingResultsRequestBuilder.SubjectProcessingResultsRequestBuilderGetQueryParameters::|public|expand:list[str] @@ -166290,6 +167280,7 @@ msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.subj msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.subjectProcessingResults.SubjectProcessingResultsRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.subjectProcessingResults.SubjectProcessingResultsRequestBuilder::|public|count:CountRequestBuilder msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.subjectProcessingResults.SubjectProcessingResultsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[SubjectProcessingResultsRequestBuilderGetQueryParameters]):SubjectProcessingResultCollectionResponse +msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.subjectProcessingResults.SubjectProcessingResultsRequestBuilder::|public|microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time(end_date_time:datetime.datetime; start_date_time:datetime.datetime):MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.subjectProcessingResults.SubjectProcessingResultsRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.subjectProcessingResults.SubjectProcessingResultsRequestBuilder::|public|request_adapter:RequestAdapter msgraph_beta.generated.identityGovernance.lifecycleWorkflows.workflows.item.subjectProcessingResults.SubjectProcessingResultsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[SubjectProcessingResultsRequestBuilderGetQueryParameters]):RequestInformation @@ -172707,6 +173698,8 @@ msgraph_beta.generated.models.AccessPackageAssignmentRequest::|public|is_validat msgraph_beta.generated.models.AccessPackageAssignmentRequest::|public|justification():str msgraph_beta.generated.models.AccessPackageAssignmentRequest::|public|justification(value:str):None msgraph_beta.generated.models.AccessPackageAssignmentRequest::|public|odata_type:str +msgraph_beta.generated.models.AccessPackageAssignmentRequest::|public|parameters():AccessPackageAssignmentRequestParameters +msgraph_beta.generated.models.AccessPackageAssignmentRequest::|public|parameters(value:AccessPackageAssignmentRequestParameters):None msgraph_beta.generated.models.AccessPackageAssignmentRequest::|public|requestor():AccessPackageSubject msgraph_beta.generated.models.AccessPackageAssignmentRequest::|public|requestor(value:AccessPackageSubject):None msgraph_beta.generated.models.AccessPackageAssignmentRequest::|public|request_state():str @@ -172742,6 +173735,18 @@ msgraph_beta.generated.models.AccessPackageAssignmentRequestCollectionResponse:: msgraph_beta.generated.models.AccessPackageAssignmentRequestCollectionResponse::|public|value():list[AccessPackageAssignmentRequest] msgraph_beta.generated.models.AccessPackageAssignmentRequestCollectionResponse::|public|value(value:list[AccessPackageAssignmentRequest]):None msgraph_beta.generated.models.AccessPackageAssignmentRequestCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):AccessPackageAssignmentRequestCollectionResponse +msgraph_beta.generated.models.AccessPackageAssignmentRequestParameters::|public|additional_data():dict[str, Any] +msgraph_beta.generated.models.AccessPackageAssignmentRequestParameters::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.AccessPackageAssignmentRequestParameters::|public|backing_store:BackingStore +msgraph_beta.generated.models.AccessPackageAssignmentRequestParameters::|public|bypass_approval():bool +msgraph_beta.generated.models.AccessPackageAssignmentRequestParameters::|public|bypass_approval(value:bool):None +msgraph_beta.generated.models.AccessPackageAssignmentRequestParameters::|public|constructor():None +msgraph_beta.generated.models.AccessPackageAssignmentRequestParameters::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.AccessPackageAssignmentRequestParameters::|public|odata_type():str +msgraph_beta.generated.models.AccessPackageAssignmentRequestParameters::|public|odata_type(value:str):None +msgraph_beta.generated.models.AccessPackageAssignmentRequestParameters::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.AccessPackageAssignmentRequestParameters::|static|public|create_from_discriminator_value(parse_node:ParseNode):AccessPackageAssignmentRequestParameters +msgraph_beta.generated.models.AccessPackageAssignmentRequestParameters~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.AccessPackageAssignmentRequestRequirements::|public|additional_data():dict[str, Any] msgraph_beta.generated.models.AccessPackageAssignmentRequestRequirements::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.models.AccessPackageAssignmentRequestRequirements::|public|backing_store:BackingStore @@ -175012,6 +176017,30 @@ msgraph_beta.generated.models.Agent::|public|get_field_deserializers():dict[str, msgraph_beta.generated.models.Agent::|public|odata_type:str msgraph_beta.generated.models.Agent::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.Agent::|static|public|create_from_discriminator_value(parse_node:ParseNode):Agent +msgraph_beta.generated.models.AgentBlueprintApiBasedEndpointConfigurationDetails::|public|additional_data():dict[str, Any] +msgraph_beta.generated.models.AgentBlueprintApiBasedEndpointConfigurationDetails::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.AgentBlueprintApiBasedEndpointConfigurationDetails::|public|backing_store:BackingStore +msgraph_beta.generated.models.AgentBlueprintApiBasedEndpointConfigurationDetails::|public|callback_uri():str +msgraph_beta.generated.models.AgentBlueprintApiBasedEndpointConfigurationDetails::|public|callback_uri(value:str):None +msgraph_beta.generated.models.AgentBlueprintApiBasedEndpointConfigurationDetails::|public|constructor():None +msgraph_beta.generated.models.AgentBlueprintApiBasedEndpointConfigurationDetails::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.AgentBlueprintApiBasedEndpointConfigurationDetails::|public|odata_type():str +msgraph_beta.generated.models.AgentBlueprintApiBasedEndpointConfigurationDetails::|public|odata_type(value:str):None +msgraph_beta.generated.models.AgentBlueprintApiBasedEndpointConfigurationDetails::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.AgentBlueprintApiBasedEndpointConfigurationDetails::|static|public|create_from_discriminator_value(parse_node:ParseNode):AgentBlueprintApiBasedEndpointConfigurationDetails +msgraph_beta.generated.models.AgentBlueprintApiBasedEndpointConfigurationDetails~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.AgentBlueprintBotBasedEndpointConfigurationDetails::|public|additional_data():dict[str, Any] +msgraph_beta.generated.models.AgentBlueprintBotBasedEndpointConfigurationDetails::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.AgentBlueprintBotBasedEndpointConfigurationDetails::|public|backing_store:BackingStore +msgraph_beta.generated.models.AgentBlueprintBotBasedEndpointConfigurationDetails::|public|bot_id():str +msgraph_beta.generated.models.AgentBlueprintBotBasedEndpointConfigurationDetails::|public|bot_id(value:str):None +msgraph_beta.generated.models.AgentBlueprintBotBasedEndpointConfigurationDetails::|public|constructor():None +msgraph_beta.generated.models.AgentBlueprintBotBasedEndpointConfigurationDetails::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.AgentBlueprintBotBasedEndpointConfigurationDetails::|public|odata_type():str +msgraph_beta.generated.models.AgentBlueprintBotBasedEndpointConfigurationDetails::|public|odata_type(value:str):None +msgraph_beta.generated.models.AgentBlueprintBotBasedEndpointConfigurationDetails::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.AgentBlueprintBotBasedEndpointConfigurationDetails::|static|public|create_from_discriminator_value(parse_node:ParseNode):AgentBlueprintBotBasedEndpointConfigurationDetails +msgraph_beta.generated.models.AgentBlueprintBotBasedEndpointConfigurationDetails~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.AgentCapabilities::|public|additional_data():dict[str, Any] msgraph_beta.generated.models.AgentCapabilities::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.models.AgentCapabilities::|public|backing_store:BackingStore @@ -175137,6 +176166,49 @@ msgraph_beta.generated.models.AgentCollectionResponse::|public|serialize(writer: msgraph_beta.generated.models.AgentCollectionResponse::|public|value():list[Agent] msgraph_beta.generated.models.AgentCollectionResponse::|public|value(value:list[Agent]):None msgraph_beta.generated.models.AgentCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):AgentCollectionResponse +msgraph_beta.generated.models.AgentCommunicationConfiguration-->Entity +msgraph_beta.generated.models.AgentCommunicationConfiguration::|public|constructor():None +msgraph_beta.generated.models.AgentCommunicationConfiguration::|public|endpoint_configuration():AgentEndpointConfiguration +msgraph_beta.generated.models.AgentCommunicationConfiguration::|public|endpoint_configuration(value:AgentEndpointConfiguration):None +msgraph_beta.generated.models.AgentCommunicationConfiguration::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.AgentCommunicationConfiguration::|public|is_overridable_at_agent_id_level():bool +msgraph_beta.generated.models.AgentCommunicationConfiguration::|public|is_overridable_at_agent_id_level(value:bool):None +msgraph_beta.generated.models.AgentCommunicationConfiguration::|public|odata_type:str +msgraph_beta.generated.models.AgentCommunicationConfiguration::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.AgentCommunicationConfiguration::|public|teamwork_configuration():AgentTeamworkConfiguration +msgraph_beta.generated.models.AgentCommunicationConfiguration::|public|teamwork_configuration(value:AgentTeamworkConfiguration):None +msgraph_beta.generated.models.AgentCommunicationConfiguration::|static|public|create_from_discriminator_value(parse_node:ParseNode):AgentCommunicationConfiguration +msgraph_beta.generated.models.AgentConversationConfiguration::|public|additional_data():dict[str, Any] +msgraph_beta.generated.models.AgentConversationConfiguration::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.AgentConversationConfiguration::|public|backing_store:BackingStore +msgraph_beta.generated.models.AgentConversationConfiguration::|public|constructor():None +msgraph_beta.generated.models.AgentConversationConfiguration::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.AgentConversationConfiguration::|public|message_notification_mode():AgentMessageNotificationMode +msgraph_beta.generated.models.AgentConversationConfiguration::|public|message_notification_mode(value:AgentMessageNotificationMode):None +msgraph_beta.generated.models.AgentConversationConfiguration::|public|odata_type():str +msgraph_beta.generated.models.AgentConversationConfiguration::|public|odata_type(value:str):None +msgraph_beta.generated.models.AgentConversationConfiguration::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.AgentConversationConfiguration::|static|public|create_from_discriminator_value(parse_node:ParseNode):AgentConversationConfiguration +msgraph_beta.generated.models.AgentConversationConfiguration~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.AgentEndpointConfiguration::|public|additional_data():dict[str, Any] +msgraph_beta.generated.models.AgentEndpointConfiguration::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.AgentEndpointConfiguration::|public|api_based():AgentBlueprintApiBasedEndpointConfigurationDetails +msgraph_beta.generated.models.AgentEndpointConfiguration::|public|api_based(value:AgentBlueprintApiBasedEndpointConfigurationDetails):None +msgraph_beta.generated.models.AgentEndpointConfiguration::|public|backing_store:BackingStore +msgraph_beta.generated.models.AgentEndpointConfiguration::|public|bot_based():AgentBlueprintBotBasedEndpointConfigurationDetails +msgraph_beta.generated.models.AgentEndpointConfiguration::|public|bot_based(value:AgentBlueprintBotBasedEndpointConfigurationDetails):None +msgraph_beta.generated.models.AgentEndpointConfiguration::|public|configuration_type():AgentEndpointConfigurationType +msgraph_beta.generated.models.AgentEndpointConfiguration::|public|configuration_type(value:AgentEndpointConfigurationType):None +msgraph_beta.generated.models.AgentEndpointConfiguration::|public|constructor():None +msgraph_beta.generated.models.AgentEndpointConfiguration::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.AgentEndpointConfiguration::|public|odata_type():str +msgraph_beta.generated.models.AgentEndpointConfiguration::|public|odata_type(value:str):None +msgraph_beta.generated.models.AgentEndpointConfiguration::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.AgentEndpointConfiguration::|static|public|create_from_discriminator_value(parse_node:ParseNode):AgentEndpointConfiguration +msgraph_beta.generated.models.AgentEndpointConfigurationType::0000-ApiBased +msgraph_beta.generated.models.AgentEndpointConfigurationType::0001-BotBased +msgraph_beta.generated.models.AgentEndpointConfigurationType::0002-UnknownFutureValue +msgraph_beta.generated.models.AgentEndpointConfiguration~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.AgentExtension::|public|additional_data():dict[str, Any] msgraph_beta.generated.models.AgentExtension::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.models.AgentExtension::|public|backing_store:BackingStore @@ -175192,6 +176264,8 @@ msgraph_beta.generated.models.agentic.AgentType::0005-UnknownFutureValue msgraph_beta.generated.models.AgentIdentity-->ServicePrincipal msgraph_beta.generated.models.AgentIdentity::|public|agent_identity_blueprint_id():str msgraph_beta.generated.models.AgentIdentity::|public|agent_identity_blueprint_id(value:str):None +msgraph_beta.generated.models.AgentIdentity::|public|communication_configuration():AgentCommunicationConfiguration +msgraph_beta.generated.models.AgentIdentity::|public|communication_configuration(value:AgentCommunicationConfiguration):None msgraph_beta.generated.models.AgentIdentity::|public|constructor():None msgraph_beta.generated.models.AgentIdentity::|public|created_date_time():datetime.datetime msgraph_beta.generated.models.AgentIdentity::|public|created_date_time(value:datetime.datetime):None @@ -175200,12 +176274,16 @@ msgraph_beta.generated.models.AgentIdentity::|public|inherited_app_role_assignme msgraph_beta.generated.models.AgentIdentity::|public|inherited_app_role_assignments(value:list[AppRoleAssignment]):None msgraph_beta.generated.models.AgentIdentity::|public|inherited_oauth2_permission_grants():list[OAuth2PermissionGrant] msgraph_beta.generated.models.AgentIdentity::|public|inherited_oauth2_permission_grants(value:list[OAuth2PermissionGrant]):None +msgraph_beta.generated.models.AgentIdentity::|public|manager_applications():list[UUID] +msgraph_beta.generated.models.AgentIdentity::|public|manager_applications(value:list[UUID]):None msgraph_beta.generated.models.AgentIdentity::|public|odata_type:str msgraph_beta.generated.models.AgentIdentity::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.AgentIdentity::|public|sponsors():list[DirectoryObject] msgraph_beta.generated.models.AgentIdentity::|public|sponsors(value:list[DirectoryObject]):None msgraph_beta.generated.models.AgentIdentity::|static|public|create_from_discriminator_value(parse_node:ParseNode):AgentIdentity msgraph_beta.generated.models.AgentIdentityBlueprint-->Application +msgraph_beta.generated.models.AgentIdentityBlueprint::|public|communication_configuration():AgentCommunicationConfiguration +msgraph_beta.generated.models.AgentIdentityBlueprint::|public|communication_configuration(value:AgentCommunicationConfiguration):None msgraph_beta.generated.models.AgentIdentityBlueprint::|public|constructor():None msgraph_beta.generated.models.AgentIdentityBlueprint::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] msgraph_beta.generated.models.AgentIdentityBlueprint::|public|inheritable_permissions():list[InheritablePermission] @@ -175218,6 +176296,8 @@ msgraph_beta.generated.models.AgentIdentityBlueprint::|static|public|create_from msgraph_beta.generated.models.AgentIdentityBlueprintPrincipal-->ServicePrincipal msgraph_beta.generated.models.AgentIdentityBlueprintPrincipal::|public|constructor():None msgraph_beta.generated.models.AgentIdentityBlueprintPrincipal::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.AgentIdentityBlueprintPrincipal::|public|manager_applications():list[UUID] +msgraph_beta.generated.models.AgentIdentityBlueprintPrincipal::|public|manager_applications(value:list[UUID]):None msgraph_beta.generated.models.AgentIdentityBlueprintPrincipal::|public|odata_type:str msgraph_beta.generated.models.AgentIdentityBlueprintPrincipal::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.AgentIdentityBlueprintPrincipal::|public|sponsors():list[DirectoryObject] @@ -175228,6 +176308,7 @@ msgraph_beta.generated.models.AgentIdentityType::0001-AgentUser msgraph_beta.generated.models.AgentIdentityType::0002-UnknownFutureValue msgraph_beta.generated.models.AgentIdentityType::0003-AgentIdentityBlueprintPrincipal msgraph_beta.generated.models.AgentIdentityType::0004-User +msgraph_beta.generated.models.AgentIdentityType::0005-DiscoveredAgentIdentity msgraph_beta.generated.models.AgentIdRiskLevel::0000-None_ msgraph_beta.generated.models.AgentIdRiskLevel::0001-Low msgraph_beta.generated.models.AgentIdRiskLevel::0002-Medium @@ -175294,6 +176375,9 @@ msgraph_beta.generated.models.AgentInterface::|public|url():str msgraph_beta.generated.models.AgentInterface::|public|url(value:str):None msgraph_beta.generated.models.AgentInterface::|static|public|create_from_discriminator_value(parse_node:ParseNode):AgentInterface msgraph_beta.generated.models.AgentInterface~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.AgentMessageNotificationMode::0000-AtMentionedMessagesOnly +msgraph_beta.generated.models.AgentMessageNotificationMode::0001-AllMessages +msgraph_beta.generated.models.AgentMessageNotificationMode::0002-UnknownFutureValue msgraph_beta.generated.models.AgentProvider::|public|additional_data():dict[str, Any] msgraph_beta.generated.models.AgentProvider::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.models.AgentProvider::|public|backing_store:BackingStore @@ -175445,6 +176529,24 @@ msgraph_beta.generated.models.AgentSkill::|static|public|create_from_discriminat msgraph_beta.generated.models.AgentSkill~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.AgentStatus::0000-Active msgraph_beta.generated.models.AgentStatus::0001-Inactive +msgraph_beta.generated.models.AgentTeamworkConfiguration::|public|additional_data():dict[str, Any] +msgraph_beta.generated.models.AgentTeamworkConfiguration::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.AgentTeamworkConfiguration::|public|backing_store:BackingStore +msgraph_beta.generated.models.AgentTeamworkConfiguration::|public|channel_configuration():AgentConversationConfiguration +msgraph_beta.generated.models.AgentTeamworkConfiguration::|public|channel_configuration(value:AgentConversationConfiguration):None +msgraph_beta.generated.models.AgentTeamworkConfiguration::|public|constructor():None +msgraph_beta.generated.models.AgentTeamworkConfiguration::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.AgentTeamworkConfiguration::|public|group_chat_configuration():AgentConversationConfiguration +msgraph_beta.generated.models.AgentTeamworkConfiguration::|public|group_chat_configuration(value:AgentConversationConfiguration):None +msgraph_beta.generated.models.AgentTeamworkConfiguration::|public|meeting_chat_configuration():AgentConversationConfiguration +msgraph_beta.generated.models.AgentTeamworkConfiguration::|public|meeting_chat_configuration(value:AgentConversationConfiguration):None +msgraph_beta.generated.models.AgentTeamworkConfiguration::|public|odata_type():str +msgraph_beta.generated.models.AgentTeamworkConfiguration::|public|odata_type(value:str):None +msgraph_beta.generated.models.AgentTeamworkConfiguration::|public|one_on_one_chat_configuration():AgentConversationConfiguration +msgraph_beta.generated.models.AgentTeamworkConfiguration::|public|one_on_one_chat_configuration(value:AgentConversationConfiguration):None +msgraph_beta.generated.models.AgentTeamworkConfiguration::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.AgentTeamworkConfiguration::|static|public|create_from_discriminator_value(parse_node:ParseNode):AgentTeamworkConfiguration +msgraph_beta.generated.models.AgentTeamworkConfiguration~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.AgentUser-->User msgraph_beta.generated.models.AgentUser::|public|constructor():None msgraph_beta.generated.models.AgentUser::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] @@ -178029,6 +179131,8 @@ msgraph_beta.generated.models.AndroidManagedAppProtection::|public|app_action_if msgraph_beta.generated.models.AndroidManagedAppProtection::|public|app_action_if_android_safety_net_apps_verification_failed(value:ManagedAppRemediationAction):None msgraph_beta.generated.models.AndroidManagedAppProtection::|public|app_action_if_android_safety_net_device_attestation_failed():ManagedAppRemediationAction msgraph_beta.generated.models.AndroidManagedAppProtection::|public|app_action_if_android_safety_net_device_attestation_failed(value:ManagedAppRemediationAction):None +msgraph_beta.generated.models.AndroidManagedAppProtection::|public|app_action_if_developer_options_enabled():ManagedAppRemediationAction +msgraph_beta.generated.models.AndroidManagedAppProtection::|public|app_action_if_developer_options_enabled(value:ManagedAppRemediationAction):None msgraph_beta.generated.models.AndroidManagedAppProtection::|public|app_action_if_device_lock_not_set():ManagedAppRemediationAction msgraph_beta.generated.models.AndroidManagedAppProtection::|public|app_action_if_device_lock_not_set(value:ManagedAppRemediationAction):None msgraph_beta.generated.models.AndroidManagedAppProtection::|public|app_action_if_device_passcode_complexity_less_than_high():ManagedAppRemediationAction @@ -179900,6 +181004,25 @@ msgraph_beta.generated.models.ApplicationPermissionsRequired::0003-User msgraph_beta.generated.models.ApplicationPermissionsRequired::0004-Administrator msgraph_beta.generated.models.ApplicationPermissionsRequired::0005-System msgraph_beta.generated.models.ApplicationPermissionsRequired::0006-UnknownFutureValue +msgraph_beta.generated.models.ApplicationPermissionType::0000-Role +msgraph_beta.generated.models.ApplicationPermissionType::0001-Scope +msgraph_beta.generated.models.ApplicationPermissionType::0002-UnknownFutureValue +msgraph_beta.generated.models.ApplicationResourcePermission::|public|additional_data():dict[str, Any] +msgraph_beta.generated.models.ApplicationResourcePermission::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.ApplicationResourcePermission::|public|backing_store:BackingStore +msgraph_beta.generated.models.ApplicationResourcePermission::|public|constructor():None +msgraph_beta.generated.models.ApplicationResourcePermission::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.ApplicationResourcePermission::|public|id():str +msgraph_beta.generated.models.ApplicationResourcePermission::|public|id(value:str):None +msgraph_beta.generated.models.ApplicationResourcePermission::|public|name():str +msgraph_beta.generated.models.ApplicationResourcePermission::|public|name(value:str):None +msgraph_beta.generated.models.ApplicationResourcePermission::|public|odata_type():str +msgraph_beta.generated.models.ApplicationResourcePermission::|public|odata_type(value:str):None +msgraph_beta.generated.models.ApplicationResourcePermission::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.ApplicationResourcePermission::|public|type():ApplicationPermissionType +msgraph_beta.generated.models.ApplicationResourcePermission::|public|type(value:ApplicationPermissionType):None +msgraph_beta.generated.models.ApplicationResourcePermission::|static|public|create_from_discriminator_value(parse_node:ParseNode):ApplicationResourcePermission +msgraph_beta.generated.models.ApplicationResourcePermission~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.ApplicationRiskFactorCertificateInfo::|public|additional_data():dict[str, Any] msgraph_beta.generated.models.ApplicationRiskFactorCertificateInfo::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.models.ApplicationRiskFactorCertificateInfo::|public|backing_store:BackingStore @@ -180221,6 +181344,20 @@ msgraph_beta.generated.models.ApplicationSignInSummary::|public|successful_sign_ msgraph_beta.generated.models.ApplicationSignInSummary::|public|success_percentage():float msgraph_beta.generated.models.ApplicationSignInSummary::|public|success_percentage(value:float):None msgraph_beta.generated.models.ApplicationSignInSummary::|static|public|create_from_discriminator_value(parse_node:ParseNode):ApplicationSignInSummary +msgraph_beta.generated.models.ApplicationsRequiredResourceAccess::|public|additional_data():dict[str, Any] +msgraph_beta.generated.models.ApplicationsRequiredResourceAccess::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.ApplicationsRequiredResourceAccess::|public|backing_store:BackingStore +msgraph_beta.generated.models.ApplicationsRequiredResourceAccess::|public|constructor():None +msgraph_beta.generated.models.ApplicationsRequiredResourceAccess::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.ApplicationsRequiredResourceAccess::|public|odata_type():str +msgraph_beta.generated.models.ApplicationsRequiredResourceAccess::|public|odata_type(value:str):None +msgraph_beta.generated.models.ApplicationsRequiredResourceAccess::|public|permissions():list[ApplicationResourcePermission] +msgraph_beta.generated.models.ApplicationsRequiredResourceAccess::|public|permissions(value:list[ApplicationResourcePermission]):None +msgraph_beta.generated.models.ApplicationsRequiredResourceAccess::|public|resource_app_id():str +msgraph_beta.generated.models.ApplicationsRequiredResourceAccess::|public|resource_app_id(value:str):None +msgraph_beta.generated.models.ApplicationsRequiredResourceAccess::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.ApplicationsRequiredResourceAccess::|static|public|create_from_discriminator_value(parse_node:ParseNode):ApplicationsRequiredResourceAccess +msgraph_beta.generated.models.ApplicationsRequiredResourceAccess~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.ApplicationTemplate-->Entity msgraph_beta.generated.models.ApplicationTemplate::|public|categories():list[str] msgraph_beta.generated.models.ApplicationTemplate::|public|categories(value:list[str]):None @@ -182427,6 +183564,8 @@ msgraph_beta.generated.models.AuthenticationBehaviors::|public|backing_store:Bac msgraph_beta.generated.models.AuthenticationBehaviors::|public|block_azure_a_d_graph_access():bool msgraph_beta.generated.models.AuthenticationBehaviors::|public|block_azure_a_d_graph_access(value:bool):None msgraph_beta.generated.models.AuthenticationBehaviors::|public|constructor():None +msgraph_beta.generated.models.AuthenticationBehaviors::|public|coop_enforcement():bool +msgraph_beta.generated.models.AuthenticationBehaviors::|public|coop_enforcement(value:bool):None msgraph_beta.generated.models.AuthenticationBehaviors::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] msgraph_beta.generated.models.AuthenticationBehaviors::|public|odata_type():str msgraph_beta.generated.models.AuthenticationBehaviors::|public|odata_type(value:str):None @@ -184029,6 +185168,90 @@ msgraph_beta.generated.models.B2bManagementPolicyCollectionResponse::|public|ser msgraph_beta.generated.models.B2bManagementPolicyCollectionResponse::|public|value():list[B2bManagementPolicy] msgraph_beta.generated.models.B2bManagementPolicyCollectionResponse::|public|value(value:list[B2bManagementPolicy]):None msgraph_beta.generated.models.B2bManagementPolicyCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):B2bManagementPolicyCollectionResponse +msgraph_beta.generated.models.B2bRegistrationMetrics-->Entity +msgraph_beta.generated.models.B2bRegistrationMetrics::|public|constructor():None +msgraph_beta.generated.models.B2bRegistrationMetrics::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.B2bRegistrationMetrics::|public|initial():B2BRegistrationMetricsInitial +msgraph_beta.generated.models.B2bRegistrationMetrics::|public|initial(value:B2BRegistrationMetricsInitial):None +msgraph_beta.generated.models.B2bRegistrationMetrics::|public|investigation_hints():list[InvestigationActionStep] +msgraph_beta.generated.models.B2bRegistrationMetrics::|public|investigation_hints(value:list[InvestigationActionStep]):None +msgraph_beta.generated.models.B2bRegistrationMetrics::|public|odata_type:str +msgraph_beta.generated.models.B2bRegistrationMetrics::|public|recent():B2BRegistrationMetricsRecent +msgraph_beta.generated.models.B2bRegistrationMetrics::|public|recent(value:B2BRegistrationMetricsRecent):None +msgraph_beta.generated.models.B2bRegistrationMetrics::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.B2bRegistrationMetrics::|static|public|create_from_discriminator_value(parse_node:ParseNode):B2bRegistrationMetrics +msgraph_beta.generated.models.B2BRegistrationMetricsBase-->Entity +msgraph_beta.generated.models.B2BRegistrationMetricsBase::|public|constructor():None +msgraph_beta.generated.models.B2BRegistrationMetricsBase::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.B2BRegistrationMetricsBase::|public|inbound_total_users():float +msgraph_beta.generated.models.B2BRegistrationMetricsBase::|public|inbound_total_users(value:float):None +msgraph_beta.generated.models.B2BRegistrationMetricsBase::|public|odata_type:str +msgraph_beta.generated.models.B2BRegistrationMetricsBase::|public|outbound_total_users():float +msgraph_beta.generated.models.B2BRegistrationMetricsBase::|public|outbound_total_users(value:float):None +msgraph_beta.generated.models.B2BRegistrationMetricsBase::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.B2BRegistrationMetricsBase::|public|watermark_date_time():datetime.datetime +msgraph_beta.generated.models.B2BRegistrationMetricsBase::|public|watermark_date_time(value:datetime.datetime):None +msgraph_beta.generated.models.B2BRegistrationMetricsBase::|static|public|create_from_discriminator_value(parse_node:ParseNode):B2BRegistrationMetricsBase +msgraph_beta.generated.models.B2BRegistrationMetricsInitial-->B2BRegistrationMetricsBase +msgraph_beta.generated.models.B2BRegistrationMetricsInitial::|public|constructor():None +msgraph_beta.generated.models.B2BRegistrationMetricsInitial::|public|created_date_time():datetime.datetime +msgraph_beta.generated.models.B2BRegistrationMetricsInitial::|public|created_date_time(value:datetime.datetime):None +msgraph_beta.generated.models.B2BRegistrationMetricsInitial::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.B2BRegistrationMetricsInitial::|public|odata_type:str +msgraph_beta.generated.models.B2BRegistrationMetricsInitial::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.B2BRegistrationMetricsInitial::|static|public|create_from_discriminator_value(parse_node:ParseNode):B2BRegistrationMetricsInitial +msgraph_beta.generated.models.B2BRegistrationMetricsRecent-->B2BRegistrationMetricsBase +msgraph_beta.generated.models.B2BRegistrationMetricsRecent::|public|constructor():None +msgraph_beta.generated.models.B2BRegistrationMetricsRecent::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.B2BRegistrationMetricsRecent::|public|odata_type:str +msgraph_beta.generated.models.B2BRegistrationMetricsRecent::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.B2BRegistrationMetricsRecent::|public|update_date_time():datetime.datetime +msgraph_beta.generated.models.B2BRegistrationMetricsRecent::|public|update_date_time(value:datetime.datetime):None +msgraph_beta.generated.models.B2BRegistrationMetricsRecent::|static|public|create_from_discriminator_value(parse_node:ParseNode):B2BRegistrationMetricsRecent +msgraph_beta.generated.models.B2BSignInActivityMetrics-->Entity +msgraph_beta.generated.models.B2BSignInActivityMetrics::|public|constructor():None +msgraph_beta.generated.models.B2BSignInActivityMetrics::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.B2BSignInActivityMetrics::|public|initial():B2BSignInActivityMetricsInitial +msgraph_beta.generated.models.B2BSignInActivityMetrics::|public|initial(value:B2BSignInActivityMetricsInitial):None +msgraph_beta.generated.models.B2BSignInActivityMetrics::|public|investigation_hints():list[InvestigationActionStep] +msgraph_beta.generated.models.B2BSignInActivityMetrics::|public|investigation_hints(value:list[InvestigationActionStep]):None +msgraph_beta.generated.models.B2BSignInActivityMetrics::|public|odata_type:str +msgraph_beta.generated.models.B2BSignInActivityMetrics::|public|recent():B2BSignInActivityMetricsRecent +msgraph_beta.generated.models.B2BSignInActivityMetrics::|public|recent(value:B2BSignInActivityMetricsRecent):None +msgraph_beta.generated.models.B2BSignInActivityMetrics::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.B2BSignInActivityMetrics::|static|public|create_from_discriminator_value(parse_node:ParseNode):B2BSignInActivityMetrics +msgraph_beta.generated.models.B2BSignInActivityMetricsBase-->Entity +msgraph_beta.generated.models.B2BSignInActivityMetricsBase::|public|constructor():None +msgraph_beta.generated.models.B2BSignInActivityMetricsBase::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.B2BSignInActivityMetricsBase::|public|inbound_monthly_total_applications():float +msgraph_beta.generated.models.B2BSignInActivityMetricsBase::|public|inbound_monthly_total_applications(value:float):None +msgraph_beta.generated.models.B2BSignInActivityMetricsBase::|public|inbound_monthly_total_users():float +msgraph_beta.generated.models.B2BSignInActivityMetricsBase::|public|inbound_monthly_total_users(value:float):None +msgraph_beta.generated.models.B2BSignInActivityMetricsBase::|public|odata_type:str +msgraph_beta.generated.models.B2BSignInActivityMetricsBase::|public|outbound_monthly_total_applications():float +msgraph_beta.generated.models.B2BSignInActivityMetricsBase::|public|outbound_monthly_total_applications(value:float):None +msgraph_beta.generated.models.B2BSignInActivityMetricsBase::|public|outbound_monthly_total_users():float +msgraph_beta.generated.models.B2BSignInActivityMetricsBase::|public|outbound_monthly_total_users(value:float):None +msgraph_beta.generated.models.B2BSignInActivityMetricsBase::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.B2BSignInActivityMetricsBase::|public|watermark_date_time():datetime.datetime +msgraph_beta.generated.models.B2BSignInActivityMetricsBase::|public|watermark_date_time(value:datetime.datetime):None +msgraph_beta.generated.models.B2BSignInActivityMetricsBase::|static|public|create_from_discriminator_value(parse_node:ParseNode):B2BSignInActivityMetricsBase +msgraph_beta.generated.models.B2BSignInActivityMetricsInitial-->B2BSignInActivityMetricsBase +msgraph_beta.generated.models.B2BSignInActivityMetricsInitial::|public|constructor():None +msgraph_beta.generated.models.B2BSignInActivityMetricsInitial::|public|created_date_time():datetime.datetime +msgraph_beta.generated.models.B2BSignInActivityMetricsInitial::|public|created_date_time(value:datetime.datetime):None +msgraph_beta.generated.models.B2BSignInActivityMetricsInitial::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.B2BSignInActivityMetricsInitial::|public|odata_type:str +msgraph_beta.generated.models.B2BSignInActivityMetricsInitial::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.B2BSignInActivityMetricsInitial::|static|public|create_from_discriminator_value(parse_node:ParseNode):B2BSignInActivityMetricsInitial +msgraph_beta.generated.models.B2BSignInActivityMetricsRecent-->B2BSignInActivityMetricsBase +msgraph_beta.generated.models.B2BSignInActivityMetricsRecent::|public|constructor():None +msgraph_beta.generated.models.B2BSignInActivityMetricsRecent::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.B2BSignInActivityMetricsRecent::|public|odata_type:str +msgraph_beta.generated.models.B2BSignInActivityMetricsRecent::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.B2BSignInActivityMetricsRecent::|public|update_date_time():datetime.datetime +msgraph_beta.generated.models.B2BSignInActivityMetricsRecent::|public|update_date_time(value:datetime.datetime):None +msgraph_beta.generated.models.B2BSignInActivityMetricsRecent::|static|public|create_from_discriminator_value(parse_node:ParseNode):B2BSignInActivityMetricsRecent msgraph_beta.generated.models.B2cAuthenticationMethodsPolicy-->Entity msgraph_beta.generated.models.B2cAuthenticationMethodsPolicy::|public|constructor():None msgraph_beta.generated.models.B2cAuthenticationMethodsPolicy::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] @@ -184435,6 +185658,56 @@ msgraph_beta.generated.models.BasicAuthentication::|public|serialize(writer:Seri msgraph_beta.generated.models.BasicAuthentication::|public|username():str msgraph_beta.generated.models.BasicAuthentication::|public|username(value:str):None msgraph_beta.generated.models.BasicAuthentication::|static|public|create_from_discriminator_value(parse_node:ParseNode):BasicAuthentication +msgraph_beta.generated.models.BillingMetrics-->Entity +msgraph_beta.generated.models.BillingMetrics::|public|constructor():None +msgraph_beta.generated.models.BillingMetrics::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.BillingMetrics::|public|initial():BillingMetricsInitial +msgraph_beta.generated.models.BillingMetrics::|public|initial(value:BillingMetricsInitial):None +msgraph_beta.generated.models.BillingMetrics::|public|investigation_hints():list[InvestigationActionStep] +msgraph_beta.generated.models.BillingMetrics::|public|investigation_hints(value:list[InvestigationActionStep]):None +msgraph_beta.generated.models.BillingMetrics::|public|odata_type:str +msgraph_beta.generated.models.BillingMetrics::|public|recent():BillingMetricsRecent +msgraph_beta.generated.models.BillingMetrics::|public|recent(value:BillingMetricsRecent):None +msgraph_beta.generated.models.BillingMetrics::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.BillingMetrics::|static|public|create_from_discriminator_value(parse_node:ParseNode):BillingMetrics +msgraph_beta.generated.models.BillingMetricsBase-->Entity +msgraph_beta.generated.models.BillingMetricsBase::|public|constructor():None +msgraph_beta.generated.models.BillingMetricsBase::|public|foreign_associated_tenant_billing_management_active_count():float +msgraph_beta.generated.models.BillingMetricsBase::|public|foreign_associated_tenant_billing_management_active_count(value:float):None +msgraph_beta.generated.models.BillingMetricsBase::|public|foreign_associated_tenant_count():float +msgraph_beta.generated.models.BillingMetricsBase::|public|foreign_associated_tenant_count(value:float):None +msgraph_beta.generated.models.BillingMetricsBase::|public|foreign_associated_tenant_provisioning_active_count():float +msgraph_beta.generated.models.BillingMetricsBase::|public|foreign_associated_tenant_provisioning_active_count(value:float):None +msgraph_beta.generated.models.BillingMetricsBase::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.BillingMetricsBase::|public|local_associated_tenant_billing_management_active_count():float +msgraph_beta.generated.models.BillingMetricsBase::|public|local_associated_tenant_billing_management_active_count(value:float):None +msgraph_beta.generated.models.BillingMetricsBase::|public|local_associated_tenant_count():float +msgraph_beta.generated.models.BillingMetricsBase::|public|local_associated_tenant_count(value:float):None +msgraph_beta.generated.models.BillingMetricsBase::|public|local_associated_tenant_ids():list[str] +msgraph_beta.generated.models.BillingMetricsBase::|public|local_associated_tenant_ids(value:list[str]):None +msgraph_beta.generated.models.BillingMetricsBase::|public|local_associated_tenant_provisioning_active_count():float +msgraph_beta.generated.models.BillingMetricsBase::|public|local_associated_tenant_provisioning_active_count(value:float):None +msgraph_beta.generated.models.BillingMetricsBase::|public|odata_type:str +msgraph_beta.generated.models.BillingMetricsBase::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.BillingMetricsBase::|public|watermark_date_time():datetime.datetime +msgraph_beta.generated.models.BillingMetricsBase::|public|watermark_date_time(value:datetime.datetime):None +msgraph_beta.generated.models.BillingMetricsBase::|static|public|create_from_discriminator_value(parse_node:ParseNode):BillingMetricsBase +msgraph_beta.generated.models.BillingMetricsInitial-->BillingMetricsBase +msgraph_beta.generated.models.BillingMetricsInitial::|public|constructor():None +msgraph_beta.generated.models.BillingMetricsInitial::|public|created_date_time():datetime.datetime +msgraph_beta.generated.models.BillingMetricsInitial::|public|created_date_time(value:datetime.datetime):None +msgraph_beta.generated.models.BillingMetricsInitial::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.BillingMetricsInitial::|public|odata_type:str +msgraph_beta.generated.models.BillingMetricsInitial::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.BillingMetricsInitial::|static|public|create_from_discriminator_value(parse_node:ParseNode):BillingMetricsInitial +msgraph_beta.generated.models.BillingMetricsRecent-->BillingMetricsBase +msgraph_beta.generated.models.BillingMetricsRecent::|public|constructor():None +msgraph_beta.generated.models.BillingMetricsRecent::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.BillingMetricsRecent::|public|odata_type:str +msgraph_beta.generated.models.BillingMetricsRecent::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.BillingMetricsRecent::|public|update_date_time():datetime.datetime +msgraph_beta.generated.models.BillingMetricsRecent::|public|update_date_time(value:datetime.datetime):None +msgraph_beta.generated.models.BillingMetricsRecent::|static|public|create_from_discriminator_value(parse_node:ParseNode):BillingMetricsRecent msgraph_beta.generated.models.BinaryContent-->ContentBase msgraph_beta.generated.models.BinaryContent::|public|constructor():None msgraph_beta.generated.models.BinaryContent::|public|data():bytes @@ -187879,6 +189152,8 @@ msgraph_beta.generated.models.ChatMessage::|public|channel_identity():ChannelIde msgraph_beta.generated.models.ChatMessage::|public|channel_identity(value:ChannelIdentity):None msgraph_beta.generated.models.ChatMessage::|public|chat_id():str msgraph_beta.generated.models.ChatMessage::|public|chat_id(value:str):None +msgraph_beta.generated.models.ChatMessage::|public|citations():list[ChatMessageCitation] +msgraph_beta.generated.models.ChatMessage::|public|citations(value:list[ChatMessageCitation]):None msgraph_beta.generated.models.ChatMessage::|public|constructor():None msgraph_beta.generated.models.ChatMessage::|public|created_date_time():datetime.datetime msgraph_beta.generated.models.ChatMessage::|public|created_date_time(value:datetime.datetime):None @@ -187891,6 +189166,8 @@ msgraph_beta.generated.models.ChatMessage::|public|event_detail(value:EventMessa msgraph_beta.generated.models.ChatMessage::|public|from_():ChatMessageFromIdentitySet msgraph_beta.generated.models.ChatMessage::|public|from_(value:ChatMessageFromIdentitySet):None msgraph_beta.generated.models.ChatMessage::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.ChatMessage::|public|has_replies():bool +msgraph_beta.generated.models.ChatMessage::|public|has_replies(value:bool):None msgraph_beta.generated.models.ChatMessage::|public|hosted_contents():list[ChatMessageHostedContent] msgraph_beta.generated.models.ChatMessage::|public|hosted_contents(value:list[ChatMessageHostedContent]):None msgraph_beta.generated.models.ChatMessage::|public|importance():ChatMessageImportance @@ -187974,6 +189251,42 @@ msgraph_beta.generated.models.ChatMessageBodyContentType::0001-Html msgraph_beta.generated.models.ChatMessageBodyContentType::0002-Markdown msgraph_beta.generated.models.ChatMessageBodyContentType::0003-UnknownFutureValue msgraph_beta.generated.models.ChatMessageBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.ChatMessageCitation::|public|additional_data():dict[str, Any] +msgraph_beta.generated.models.ChatMessageCitation::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.ChatMessageCitation::|public|backing_store:BackingStore +msgraph_beta.generated.models.ChatMessageCitation::|public|constructor():None +msgraph_beta.generated.models.ChatMessageCitation::|public|excerpt():str +msgraph_beta.generated.models.ChatMessageCitation::|public|excerpt(value:str):None +msgraph_beta.generated.models.ChatMessageCitation::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.ChatMessageCitation::|public|icon_type():str +msgraph_beta.generated.models.ChatMessageCitation::|public|icon_type(value:str):None +msgraph_beta.generated.models.ChatMessageCitation::|public|id():int +msgraph_beta.generated.models.ChatMessageCitation::|public|id(value:int):None +msgraph_beta.generated.models.ChatMessageCitation::|public|odata_type():str +msgraph_beta.generated.models.ChatMessageCitation::|public|odata_type(value:str):None +msgraph_beta.generated.models.ChatMessageCitation::|public|sensitivity_label():ChatMessageCitationSensitivityLabel +msgraph_beta.generated.models.ChatMessageCitation::|public|sensitivity_label(value:ChatMessageCitationSensitivityLabel):None +msgraph_beta.generated.models.ChatMessageCitation::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.ChatMessageCitation::|public|title():str +msgraph_beta.generated.models.ChatMessageCitation::|public|title(value:str):None +msgraph_beta.generated.models.ChatMessageCitation::|public|web_url():str +msgraph_beta.generated.models.ChatMessageCitation::|public|web_url(value:str):None +msgraph_beta.generated.models.ChatMessageCitation::|static|public|create_from_discriminator_value(parse_node:ParseNode):ChatMessageCitation +msgraph_beta.generated.models.ChatMessageCitationSensitivityLabel::|public|additional_data():dict[str, Any] +msgraph_beta.generated.models.ChatMessageCitationSensitivityLabel::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.ChatMessageCitationSensitivityLabel::|public|backing_store:BackingStore +msgraph_beta.generated.models.ChatMessageCitationSensitivityLabel::|public|constructor():None +msgraph_beta.generated.models.ChatMessageCitationSensitivityLabel::|public|description():str +msgraph_beta.generated.models.ChatMessageCitationSensitivityLabel::|public|description(value:str):None +msgraph_beta.generated.models.ChatMessageCitationSensitivityLabel::|public|display_name():str +msgraph_beta.generated.models.ChatMessageCitationSensitivityLabel::|public|display_name(value:str):None +msgraph_beta.generated.models.ChatMessageCitationSensitivityLabel::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.ChatMessageCitationSensitivityLabel::|public|odata_type():str +msgraph_beta.generated.models.ChatMessageCitationSensitivityLabel::|public|odata_type(value:str):None +msgraph_beta.generated.models.ChatMessageCitationSensitivityLabel::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.ChatMessageCitationSensitivityLabel::|static|public|create_from_discriminator_value(parse_node:ParseNode):ChatMessageCitationSensitivityLabel +msgraph_beta.generated.models.ChatMessageCitationSensitivityLabel~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.ChatMessageCitation~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.ChatMessageCollectionResponse-->BaseCollectionPaginationCountResponse msgraph_beta.generated.models.ChatMessageCollectionResponse::|public|constructor():None msgraph_beta.generated.models.ChatMessageCollectionResponse::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] @@ -189206,6 +190519,8 @@ msgraph_beta.generated.models.CloudPC::|public|product_type():CloudPcProductType msgraph_beta.generated.models.CloudPC::|public|product_type(value:CloudPcProductType):None msgraph_beta.generated.models.CloudPC::|public|provisioned_date_time():datetime.datetime msgraph_beta.generated.models.CloudPC::|public|provisioned_date_time(value:datetime.datetime):None +msgraph_beta.generated.models.CloudPC::|public|provisioning_configuration():CloudPcProvisioningConfiguration +msgraph_beta.generated.models.CloudPC::|public|provisioning_configuration(value:CloudPcProvisioningConfiguration):None msgraph_beta.generated.models.CloudPC::|public|provisioning_policy_id():str msgraph_beta.generated.models.CloudPC::|public|provisioning_policy_id(value:str):None msgraph_beta.generated.models.CloudPC::|public|provisioning_policy_name():str @@ -190994,6 +192309,18 @@ msgraph_beta.generated.models.CloudPcProductType::0002-DevBox msgraph_beta.generated.models.CloudPcProductType::0003-PowerAutomate msgraph_beta.generated.models.CloudPcProductType::0004-Business msgraph_beta.generated.models.CloudPcProductType::0005-UnknownFutureValue +msgraph_beta.generated.models.CloudPcProvisioningConfiguration::|public|additional_data():dict[str, Any] +msgraph_beta.generated.models.CloudPcProvisioningConfiguration::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.CloudPcProvisioningConfiguration::|public|backing_store:BackingStore +msgraph_beta.generated.models.CloudPcProvisioningConfiguration::|public|constructor():None +msgraph_beta.generated.models.CloudPcProvisioningConfiguration::|public|domain_join_type():CloudPcDomainJoinType +msgraph_beta.generated.models.CloudPcProvisioningConfiguration::|public|domain_join_type(value:CloudPcDomainJoinType):None +msgraph_beta.generated.models.CloudPcProvisioningConfiguration::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.CloudPcProvisioningConfiguration::|public|odata_type():str +msgraph_beta.generated.models.CloudPcProvisioningConfiguration::|public|odata_type(value:str):None +msgraph_beta.generated.models.CloudPcProvisioningConfiguration::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.CloudPcProvisioningConfiguration::|static|public|create_from_discriminator_value(parse_node:ParseNode):CloudPcProvisioningConfiguration +msgraph_beta.generated.models.CloudPcProvisioningConfiguration~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.CloudPcProvisioningPolicy-->Entity msgraph_beta.generated.models.CloudPcProvisioningPolicy::|public|alternate_resource_url():str msgraph_beta.generated.models.CloudPcProvisioningPolicy::|public|alternate_resource_url(value:str):None @@ -193723,6 +195050,25 @@ msgraph_beta.generated.models.ConnectorGroupRegion::0003-Asia msgraph_beta.generated.models.ConnectorGroupRegion::0004-Ind msgraph_beta.generated.models.ConnectorGroupRegion::0005-UnknownFutureValue msgraph_beta.generated.models.ConnectorGroupType::0000-ApplicationProxy +msgraph_beta.generated.models.ConnectorHealthCheck::|public|additional_data():dict[str, Any] +msgraph_beta.generated.models.ConnectorHealthCheck::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.ConnectorHealthCheck::|public|backing_store:BackingStore +msgraph_beta.generated.models.ConnectorHealthCheck::|public|constructor():None +msgraph_beta.generated.models.ConnectorHealthCheck::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.ConnectorHealthCheck::|public|metric_name():ConnectorHealthCheckMetricName +msgraph_beta.generated.models.ConnectorHealthCheck::|public|metric_name(value:ConnectorHealthCheckMetricName):None +msgraph_beta.generated.models.ConnectorHealthCheck::|public|odata_type():str +msgraph_beta.generated.models.ConnectorHealthCheck::|public|odata_type(value:str):None +msgraph_beta.generated.models.ConnectorHealthCheck::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.ConnectorHealthCheck::|public|status():NdesConnectorHealthStatus +msgraph_beta.generated.models.ConnectorHealthCheck::|public|status(value:NdesConnectorHealthStatus):None +msgraph_beta.generated.models.ConnectorHealthCheck::|static|public|create_from_discriminator_value(parse_node:ParseNode):ConnectorHealthCheck +msgraph_beta.generated.models.ConnectorHealthCheckMetricName::0000-CaConnectivity +msgraph_beta.generated.models.ConnectorHealthCheckMetricName::0001-CaIssuancePermissions +msgraph_beta.generated.models.ConnectorHealthCheckMetricName::0002-CaRevocationPermissions +msgraph_beta.generated.models.ConnectorHealthCheckMetricName::0003-CertificateTemplate +msgraph_beta.generated.models.ConnectorHealthCheckMetricName::0004-UnknownFutureValue +msgraph_beta.generated.models.ConnectorHealthCheck~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.ConnectorHealthState::0000-Healthy msgraph_beta.generated.models.ConnectorHealthState::0001-Warning msgraph_beta.generated.models.ConnectorHealthState::0002-Unhealthy @@ -194600,6 +195946,8 @@ msgraph_beta.generated.models.CopilotConversationState::0000-Active msgraph_beta.generated.models.CopilotConversationState::0001-DisengagedForRai msgraph_beta.generated.models.CopilotConversationState::0002-UnknownFutureValue msgraph_beta.generated.models.CopilotPackage-->Entity +msgraph_beta.generated.models.CopilotPackage::|public|agent_identity_id():str +msgraph_beta.generated.models.CopilotPackage::|public|agent_identity_id(value:str):None msgraph_beta.generated.models.CopilotPackage::|public|app_id():str msgraph_beta.generated.models.CopilotPackage::|public|app_id(value:str):None msgraph_beta.generated.models.CopilotPackage::|public|asset_id():str @@ -194646,6 +195994,8 @@ msgraph_beta.generated.models.CopilotPackage::|static|public|create_from_discrim msgraph_beta.generated.models.CopilotPackageDetail-->CopilotPackage msgraph_beta.generated.models.CopilotPackageDetail::|public|acquire_users_and_groups():list[PackageAccessEntity] msgraph_beta.generated.models.CopilotPackageDetail::|public|acquire_users_and_groups(value:list[PackageAccessEntity]):None +msgraph_beta.generated.models.CopilotPackageDetail::|public|active_users():int +msgraph_beta.generated.models.CopilotPackageDetail::|public|active_users(value:int):None msgraph_beta.generated.models.CopilotPackageDetail::|public|allowed_users_and_groups():list[PackageAccessEntity] msgraph_beta.generated.models.CopilotPackageDetail::|public|allowed_users_and_groups(value:list[PackageAccessEntity]):None msgraph_beta.generated.models.CopilotPackageDetail::|public|categories():list[str] @@ -194653,7 +196003,11 @@ msgraph_beta.generated.models.CopilotPackageDetail::|public|categories(value:lis msgraph_beta.generated.models.CopilotPackageDetail::|public|constructor():None msgraph_beta.generated.models.CopilotPackageDetail::|public|element_details():list[PackageElementDetail] msgraph_beta.generated.models.CopilotPackageDetail::|public|element_details(value:list[PackageElementDetail]):None +msgraph_beta.generated.models.CopilotPackageDetail::|public|exception_rate():float +msgraph_beta.generated.models.CopilotPackageDetail::|public|exception_rate(value:float):None msgraph_beta.generated.models.CopilotPackageDetail::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.CopilotPackageDetail::|public|last_used_date_time():datetime.datetime +msgraph_beta.generated.models.CopilotPackageDetail::|public|last_used_date_time(value:datetime.datetime):None msgraph_beta.generated.models.CopilotPackageDetail::|public|long_description():str msgraph_beta.generated.models.CopilotPackageDetail::|public|long_description(value:str):None msgraph_beta.generated.models.CopilotPackageDetail::|public|odata_type:str @@ -194662,6 +196016,10 @@ msgraph_beta.generated.models.CopilotPackageDetail::|public|sensitivity(value:st msgraph_beta.generated.models.CopilotPackageDetail::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.CopilotPackageDetail::|public|shared_with_users_and_groups():list[PackageAccessEntity] msgraph_beta.generated.models.CopilotPackageDetail::|public|shared_with_users_and_groups(value:list[PackageAccessEntity]):None +msgraph_beta.generated.models.CopilotPackageDetail::|public|total_run_time_in_hours():float +msgraph_beta.generated.models.CopilotPackageDetail::|public|total_run_time_in_hours(value:float):None +msgraph_beta.generated.models.CopilotPackageDetail::|public|total_sessions():int +msgraph_beta.generated.models.CopilotPackageDetail::|public|total_sessions(value:int):None msgraph_beta.generated.models.CopilotPackageDetail::|static|public|create_from_discriminator_value(parse_node:ParseNode):CopilotPackageDetail msgraph_beta.generated.models.CopilotPeopleAdminSetting-->Entity msgraph_beta.generated.models.CopilotPeopleAdminSetting::|public|constructor():None @@ -195236,6 +196594,8 @@ msgraph_beta.generated.models.CrossTenantIdentitySyncPolicyPartner::|public|get_ msgraph_beta.generated.models.CrossTenantIdentitySyncPolicyPartner::|public|group_sync_inbound():CrossTenantGroupSyncInbound msgraph_beta.generated.models.CrossTenantIdentitySyncPolicyPartner::|public|group_sync_inbound(value:CrossTenantGroupSyncInbound):None msgraph_beta.generated.models.CrossTenantIdentitySyncPolicyPartner::|public|odata_type:str +msgraph_beta.generated.models.CrossTenantIdentitySyncPolicyPartner::|public|role_enabled_group_sync_inbound():CrossTenantRoleEnabledGroupSyncInbound +msgraph_beta.generated.models.CrossTenantIdentitySyncPolicyPartner::|public|role_enabled_group_sync_inbound(value:CrossTenantRoleEnabledGroupSyncInbound):None msgraph_beta.generated.models.CrossTenantIdentitySyncPolicyPartner::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.CrossTenantIdentitySyncPolicyPartner::|public|tenant_id():str msgraph_beta.generated.models.CrossTenantIdentitySyncPolicyPartner::|public|tenant_id(value:str):None @@ -195415,6 +196775,18 @@ msgraph_beta.generated.models.CrossTenantPlacesRoomBooking::|public|get_field_de msgraph_beta.generated.models.CrossTenantPlacesRoomBooking::|public|odata_type:str msgraph_beta.generated.models.CrossTenantPlacesRoomBooking::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.CrossTenantPlacesRoomBooking::|static|public|create_from_discriminator_value(parse_node:ParseNode):CrossTenantPlacesRoomBooking +msgraph_beta.generated.models.CrossTenantRoleEnabledGroupSyncInbound::|public|additional_data():dict[str, Any] +msgraph_beta.generated.models.CrossTenantRoleEnabledGroupSyncInbound::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.CrossTenantRoleEnabledGroupSyncInbound::|public|backing_store:BackingStore +msgraph_beta.generated.models.CrossTenantRoleEnabledGroupSyncInbound::|public|constructor():None +msgraph_beta.generated.models.CrossTenantRoleEnabledGroupSyncInbound::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.CrossTenantRoleEnabledGroupSyncInbound::|public|is_sync_allowed():bool +msgraph_beta.generated.models.CrossTenantRoleEnabledGroupSyncInbound::|public|is_sync_allowed(value:bool):None +msgraph_beta.generated.models.CrossTenantRoleEnabledGroupSyncInbound::|public|odata_type():str +msgraph_beta.generated.models.CrossTenantRoleEnabledGroupSyncInbound::|public|odata_type(value:str):None +msgraph_beta.generated.models.CrossTenantRoleEnabledGroupSyncInbound::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.CrossTenantRoleEnabledGroupSyncInbound::|static|public|create_from_discriminator_value(parse_node:ParseNode):CrossTenantRoleEnabledGroupSyncInbound +msgraph_beta.generated.models.CrossTenantRoleEnabledGroupSyncInbound~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.CrossTenantUserSyncInbound::|public|additional_data():dict[str, Any] msgraph_beta.generated.models.CrossTenantUserSyncInbound::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.models.CrossTenantUserSyncInbound::|public|backing_store:BackingStore @@ -197074,6 +198446,38 @@ msgraph_beta.generated.models.DelegatedAdminCustomerCollectionResponse::|public| msgraph_beta.generated.models.DelegatedAdminCustomerCollectionResponse::|public|value():list[DelegatedAdminCustomer] msgraph_beta.generated.models.DelegatedAdminCustomerCollectionResponse::|public|value(value:list[DelegatedAdminCustomer]):None msgraph_beta.generated.models.DelegatedAdminCustomerCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):DelegatedAdminCustomerCollectionResponse +msgraph_beta.generated.models.DelegatedAdministrationRoleAssignment::|public|additional_data():dict[str, Any] +msgraph_beta.generated.models.DelegatedAdministrationRoleAssignment::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.DelegatedAdministrationRoleAssignment::|public|backing_store:BackingStore +msgraph_beta.generated.models.DelegatedAdministrationRoleAssignment::|public|constructor():None +msgraph_beta.generated.models.DelegatedAdministrationRoleAssignment::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.DelegatedAdministrationRoleAssignment::|public|group():Group +msgraph_beta.generated.models.DelegatedAdministrationRoleAssignment::|public|group(value:Group):None +msgraph_beta.generated.models.DelegatedAdministrationRoleAssignment::|public|group_display_name():str +msgraph_beta.generated.models.DelegatedAdministrationRoleAssignment::|public|group_display_name(value:str):None +msgraph_beta.generated.models.DelegatedAdministrationRoleAssignment::|public|odata_type():str +msgraph_beta.generated.models.DelegatedAdministrationRoleAssignment::|public|odata_type(value:str):None +msgraph_beta.generated.models.DelegatedAdministrationRoleAssignment::|public|role_templates():list[RoleTemplate] +msgraph_beta.generated.models.DelegatedAdministrationRoleAssignment::|public|role_templates(value:list[RoleTemplate]):None +msgraph_beta.generated.models.DelegatedAdministrationRoleAssignment::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.DelegatedAdministrationRoleAssignment::|static|public|create_from_discriminator_value(parse_node:ParseNode):DelegatedAdministrationRoleAssignment +msgraph_beta.generated.models.DelegatedAdministrationRoleAssignmentSnapshot::|public|additional_data():dict[str, Any] +msgraph_beta.generated.models.DelegatedAdministrationRoleAssignmentSnapshot::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.DelegatedAdministrationRoleAssignmentSnapshot::|public|backing_store:BackingStore +msgraph_beta.generated.models.DelegatedAdministrationRoleAssignmentSnapshot::|public|constructor():None +msgraph_beta.generated.models.DelegatedAdministrationRoleAssignmentSnapshot::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.DelegatedAdministrationRoleAssignmentSnapshot::|public|group_display_name():str +msgraph_beta.generated.models.DelegatedAdministrationRoleAssignmentSnapshot::|public|group_display_name(value:str):None +msgraph_beta.generated.models.DelegatedAdministrationRoleAssignmentSnapshot::|public|group_id():str +msgraph_beta.generated.models.DelegatedAdministrationRoleAssignmentSnapshot::|public|group_id(value:str):None +msgraph_beta.generated.models.DelegatedAdministrationRoleAssignmentSnapshot::|public|odata_type():str +msgraph_beta.generated.models.DelegatedAdministrationRoleAssignmentSnapshot::|public|odata_type(value:str):None +msgraph_beta.generated.models.DelegatedAdministrationRoleAssignmentSnapshot::|public|role_templates():list[RoleTemplate] +msgraph_beta.generated.models.DelegatedAdministrationRoleAssignmentSnapshot::|public|role_templates(value:list[RoleTemplate]):None +msgraph_beta.generated.models.DelegatedAdministrationRoleAssignmentSnapshot::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.DelegatedAdministrationRoleAssignmentSnapshot::|static|public|create_from_discriminator_value(parse_node:ParseNode):DelegatedAdministrationRoleAssignmentSnapshot +msgraph_beta.generated.models.DelegatedAdministrationRoleAssignmentSnapshot~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.DelegatedAdministrationRoleAssignment~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.DelegatedAdminRelationship-->Entity msgraph_beta.generated.models.DelegatedAdminRelationship::|public|access_assignments():list[DelegatedAdminAccessAssignment] msgraph_beta.generated.models.DelegatedAdminRelationship::|public|access_assignments(value:list[DelegatedAdminAccessAssignment]):None @@ -197306,6 +198710,8 @@ msgraph_beta.generated.models.DeletedChatCollectionResponse::|static|public|crea msgraph_beta.generated.models.DeletedItemContainer-->Entity msgraph_beta.generated.models.DeletedItemContainer::|public|constructor():None msgraph_beta.generated.models.DeletedItemContainer::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.DeletedItemContainer::|public|lifecycle_policies():list[LifecyclePolicy] +msgraph_beta.generated.models.DeletedItemContainer::|public|lifecycle_policies(value:list[LifecyclePolicy]):None msgraph_beta.generated.models.DeletedItemContainer::|public|odata_type:str msgraph_beta.generated.models.DeletedItemContainer::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.DeletedItemContainer::|public|workflows():list[Workflow] @@ -198153,9 +199559,11 @@ msgraph_beta.generated.models.DeviceAndAppManagementRoleDefinition::|public|get_ msgraph_beta.generated.models.DeviceAndAppManagementRoleDefinition::|public|odata_type:str msgraph_beta.generated.models.DeviceAndAppManagementRoleDefinition::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.DeviceAndAppManagementRoleDefinition::|static|public|create_from_discriminator_value(parse_node:ParseNode):DeviceAndAppManagementRoleDefinition -msgraph_beta.generated.models.DeviceAppManagement-->Entity +msgraph_beta.generated.models.DeviceAppManagement::|public|additional_data():dict[str, Any] +msgraph_beta.generated.models.DeviceAppManagement::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.models.DeviceAppManagement::|public|android_managed_app_protections():list[AndroidManagedAppProtection] msgraph_beta.generated.models.DeviceAppManagement::|public|android_managed_app_protections(value:list[AndroidManagedAppProtection]):None +msgraph_beta.generated.models.DeviceAppManagement::|public|backing_store:BackingStore msgraph_beta.generated.models.DeviceAppManagement::|public|constructor():None msgraph_beta.generated.models.DeviceAppManagement::|public|default_managed_app_protections():list[DefaultManagedAppProtection] msgraph_beta.generated.models.DeviceAppManagement::|public|default_managed_app_protections(value:list[DefaultManagedAppProtection]):None @@ -198200,7 +199608,8 @@ msgraph_beta.generated.models.DeviceAppManagement::|public|mobile_app_configurat msgraph_beta.generated.models.DeviceAppManagement::|public|mobile_app_configurations(value:list[ManagedDeviceMobileAppConfiguration]):None msgraph_beta.generated.models.DeviceAppManagement::|public|mobile_app_relationships():list[MobileAppRelationship] msgraph_beta.generated.models.DeviceAppManagement::|public|mobile_app_relationships(value:list[MobileAppRelationship]):None -msgraph_beta.generated.models.DeviceAppManagement::|public|odata_type:str +msgraph_beta.generated.models.DeviceAppManagement::|public|odata_type():str +msgraph_beta.generated.models.DeviceAppManagement::|public|odata_type(value:str):None msgraph_beta.generated.models.DeviceAppManagement::|public|policy_sets():list[PolicySet] msgraph_beta.generated.models.DeviceAppManagement::|public|policy_sets(value:list[PolicySet]):None msgraph_beta.generated.models.DeviceAppManagement::|public|serialize(writer:SerializationWriter):None @@ -198266,6 +199675,7 @@ msgraph_beta.generated.models.DeviceAppManagementTaskStatus::0001-Pending msgraph_beta.generated.models.DeviceAppManagementTaskStatus::0002-Active msgraph_beta.generated.models.DeviceAppManagementTaskStatus::0003-Completed msgraph_beta.generated.models.DeviceAppManagementTaskStatus::0004-Rejected +msgraph_beta.generated.models.DeviceAppManagement~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.DeviceAssignmentItem::|public|additional_data():dict[str, Any] msgraph_beta.generated.models.DeviceAssignmentItem::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.models.DeviceAssignmentItem::|public|assignment_item_action_intent():DeviceAssignmentItemIntent @@ -202288,6 +203698,7 @@ msgraph_beta.generated.models.DeviceManagementConfigurationTechnologies::0013-En msgraph_beta.generated.models.DeviceManagementConfigurationTechnologies::0014-UnknownFutureValue msgraph_beta.generated.models.DeviceManagementConfigurationTechnologies::0015-WindowsOsRecovery msgraph_beta.generated.models.DeviceManagementConfigurationTechnologies::0016-Android +msgraph_beta.generated.models.DeviceManagementConfigurationTechnologies::0017-IntuneOpenExtensibility msgraph_beta.generated.models.DeviceManagementConfigurationTemplateFamily::0000-None_ msgraph_beta.generated.models.DeviceManagementConfigurationTemplateFamily::0001-EndpointSecurityAntivirus msgraph_beta.generated.models.DeviceManagementConfigurationTemplateFamily::0002-EndpointSecurityDiskEncryption @@ -204333,8 +205744,8 @@ msgraph_beta.generated.models.DistributionList::|public|constructor():None msgraph_beta.generated.models.DistributionList::|public|display_name():str msgraph_beta.generated.models.DistributionList::|public|display_name(value:str):None msgraph_beta.generated.models.DistributionList::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.DistributionList::|public|members():list[Member] -msgraph_beta.generated.models.DistributionList::|public|members(value:list[Member]):None +msgraph_beta.generated.models.DistributionList::|public|members():list[DistributionListMember] +msgraph_beta.generated.models.DistributionList::|public|members(value:list[DistributionListMember]):None msgraph_beta.generated.models.DistributionList::|public|notes():str msgraph_beta.generated.models.DistributionList::|public|notes(value:str):None msgraph_beta.generated.models.DistributionList::|public|odata_type:str @@ -204351,6 +205762,27 @@ msgraph_beta.generated.models.DistributionListCollectionResponse::|public|serial msgraph_beta.generated.models.DistributionListCollectionResponse::|public|value():list[DistributionList] msgraph_beta.generated.models.DistributionListCollectionResponse::|public|value(value:list[DistributionList]):None msgraph_beta.generated.models.DistributionListCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):DistributionListCollectionResponse +msgraph_beta.generated.models.DistributionListMember-->Entity +msgraph_beta.generated.models.DistributionListMember::|public|constructor():None +msgraph_beta.generated.models.DistributionListMember::|public|contact():Contact +msgraph_beta.generated.models.DistributionListMember::|public|contact(value:Contact):None +msgraph_beta.generated.models.DistributionListMember::|public|display_name():str +msgraph_beta.generated.models.DistributionListMember::|public|display_name(value:str):None +msgraph_beta.generated.models.DistributionListMember::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.DistributionListMember::|public|member_id():str +msgraph_beta.generated.models.DistributionListMember::|public|member_id(value:str):None +msgraph_beta.generated.models.DistributionListMember::|public|odata_type:str +msgraph_beta.generated.models.DistributionListMember::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.DistributionListMember::|public|type():RecipientType +msgraph_beta.generated.models.DistributionListMember::|public|type(value:RecipientType):None +msgraph_beta.generated.models.DistributionListMember::|static|public|create_from_discriminator_value(parse_node:ParseNode):DistributionListMember +msgraph_beta.generated.models.DistributionListMemberCollectionResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.models.DistributionListMemberCollectionResponse::|public|constructor():None +msgraph_beta.generated.models.DistributionListMemberCollectionResponse::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.DistributionListMemberCollectionResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.DistributionListMemberCollectionResponse::|public|value():list[DistributionListMember] +msgraph_beta.generated.models.DistributionListMemberCollectionResponse::|public|value(value:list[DistributionListMember]):None +msgraph_beta.generated.models.DistributionListMemberCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):DistributionListMemberCollectionResponse msgraph_beta.generated.models.DlpAction::0000-NotifyUser msgraph_beta.generated.models.DlpAction::0001-BlockAccess msgraph_beta.generated.models.DlpAction::0002-DeviceRestriction @@ -204846,6 +206278,8 @@ msgraph_beta.generated.models.Drive::|public|quota(value:Quota):None msgraph_beta.generated.models.Drive::|public|root():DriveItem msgraph_beta.generated.models.Drive::|public|root(value:DriveItem):None msgraph_beta.generated.models.Drive::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.Drive::|public|settings():DriveSettings +msgraph_beta.generated.models.Drive::|public|settings(value:DriveSettings):None msgraph_beta.generated.models.Drive::|public|share_point_ids():SharepointIds msgraph_beta.generated.models.Drive::|public|share_point_ids(value:SharepointIds):None msgraph_beta.generated.models.Drive::|public|special():list[DriveItem] @@ -205204,6 +206638,18 @@ msgraph_beta.generated.models.DriveRestoreArtifactsBulkAdditionRequestCollection msgraph_beta.generated.models.DriveRestoreArtifactsBulkAdditionRequestCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):DriveRestoreArtifactsBulkAdditionRequestCollectionResponse msgraph_beta.generated.models.DriverUpdateProfileApprovalType::0000-Manual msgraph_beta.generated.models.DriverUpdateProfileApprovalType::0001-Automatic +msgraph_beta.generated.models.DriveSettings::|public|additional_data():dict[str, Any] +msgraph_beta.generated.models.DriveSettings::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.DriveSettings::|public|backing_store:BackingStore +msgraph_beta.generated.models.DriveSettings::|public|constructor():None +msgraph_beta.generated.models.DriveSettings::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.DriveSettings::|public|item_default_sensitivity_label_id():str +msgraph_beta.generated.models.DriveSettings::|public|item_default_sensitivity_label_id(value:str):None +msgraph_beta.generated.models.DriveSettings::|public|odata_type():str +msgraph_beta.generated.models.DriveSettings::|public|odata_type(value:str):None +msgraph_beta.generated.models.DriveSettings::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.DriveSettings::|static|public|create_from_discriminator_value(parse_node:ParseNode):DriveSettings +msgraph_beta.generated.models.DriveSettings~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.DropInPlaceMode-->PlaceMode msgraph_beta.generated.models.DropInPlaceMode::|public|constructor():None msgraph_beta.generated.models.DropInPlaceMode::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] @@ -207455,6 +208901,20 @@ msgraph_beta.generated.models.EmbeddedSIMDeviceStateValue::0004-Deleting msgraph_beta.generated.models.EmbeddedSIMDeviceStateValue::0005-Error msgraph_beta.generated.models.EmbeddedSIMDeviceStateValue::0006-Deleted msgraph_beta.generated.models.EmbeddedSIMDeviceStateValue::0007-RemovedByUser +msgraph_beta.generated.models.EmbeddingInput::|public|additional_data():dict[str, Any] +msgraph_beta.generated.models.EmbeddingInput::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.EmbeddingInput::|public|backing_store:BackingStore +msgraph_beta.generated.models.EmbeddingInput::|public|constructor():None +msgraph_beta.generated.models.EmbeddingInput::|public|data():str +msgraph_beta.generated.models.EmbeddingInput::|public|data(value:str):None +msgraph_beta.generated.models.EmbeddingInput::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.EmbeddingInput::|public|model_type():str +msgraph_beta.generated.models.EmbeddingInput::|public|model_type(value:str):None +msgraph_beta.generated.models.EmbeddingInput::|public|odata_type():str +msgraph_beta.generated.models.EmbeddingInput::|public|odata_type(value:str):None +msgraph_beta.generated.models.EmbeddingInput::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.EmbeddingInput::|static|public|create_from_discriminator_value(parse_node:ParseNode):EmbeddingInput +msgraph_beta.generated.models.EmbeddingInput~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.EmergencyCallerInfo::|public|additional_data():dict[str, Any] msgraph_beta.generated.models.EmergencyCallerInfo::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.models.EmergencyCallerInfo::|public|backing_store:BackingStore @@ -210806,6 +212266,8 @@ msgraph_beta.generated.models.FileStorageContainer::|public|created_date_time(): msgraph_beta.generated.models.FileStorageContainer::|public|created_date_time(value:datetime.datetime):None msgraph_beta.generated.models.FileStorageContainer::|public|custom_properties():FileStorageContainerCustomPropertyDictionary msgraph_beta.generated.models.FileStorageContainer::|public|custom_properties(value:FileStorageContainerCustomPropertyDictionary):None +msgraph_beta.generated.models.FileStorageContainer::|public|data_location_code():str +msgraph_beta.generated.models.FileStorageContainer::|public|data_location_code(value:str):None msgraph_beta.generated.models.FileStorageContainer::|public|description():str msgraph_beta.generated.models.FileStorageContainer::|public|description(value:str):None msgraph_beta.generated.models.FileStorageContainer::|public|display_name():str @@ -210910,18 +212372,6 @@ msgraph_beta.generated.models.FileStorageContainerType::|public|serialize(writer msgraph_beta.generated.models.FileStorageContainerType::|public|settings():FileStorageContainerTypeSettings msgraph_beta.generated.models.FileStorageContainerType::|public|settings(value:FileStorageContainerTypeSettings):None msgraph_beta.generated.models.FileStorageContainerType::|static|public|create_from_discriminator_value(parse_node:ParseNode):FileStorageContainerType -msgraph_beta.generated.models.FileStorageContainerTypeAgentSettings::|public|additional_data():dict[str, Any] -msgraph_beta.generated.models.FileStorageContainerTypeAgentSettings::|public|additional_data(value:dict[str, Any]):None -msgraph_beta.generated.models.FileStorageContainerTypeAgentSettings::|public|backing_store:BackingStore -msgraph_beta.generated.models.FileStorageContainerTypeAgentSettings::|public|chat_embed_allowed_hosts():list[str] -msgraph_beta.generated.models.FileStorageContainerTypeAgentSettings::|public|chat_embed_allowed_hosts(value:list[str]):None -msgraph_beta.generated.models.FileStorageContainerTypeAgentSettings::|public|constructor():None -msgraph_beta.generated.models.FileStorageContainerTypeAgentSettings::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.FileStorageContainerTypeAgentSettings::|public|odata_type():str -msgraph_beta.generated.models.FileStorageContainerTypeAgentSettings::|public|odata_type(value:str):None -msgraph_beta.generated.models.FileStorageContainerTypeAgentSettings::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.FileStorageContainerTypeAgentSettings::|static|public|create_from_discriminator_value(parse_node:ParseNode):FileStorageContainerTypeAgentSettings -msgraph_beta.generated.models.FileStorageContainerTypeAgentSettings~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.FileStorageContainerTypeAppPermission::0000-None_ msgraph_beta.generated.models.FileStorageContainerTypeAppPermission::0001-ReadContent msgraph_beta.generated.models.FileStorageContainerTypeAppPermission::0002-WriteContent @@ -211001,8 +212451,6 @@ msgraph_beta.generated.models.FileStorageContainerTypeRegistrationCollectionResp msgraph_beta.generated.models.FileStorageContainerTypeRegistrationCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):FileStorageContainerTypeRegistrationCollectionResponse msgraph_beta.generated.models.FileStorageContainerTypeRegistrationSettings::|public|additional_data():dict[str, Any] msgraph_beta.generated.models.FileStorageContainerTypeRegistrationSettings::|public|additional_data(value:dict[str, Any]):None -msgraph_beta.generated.models.FileStorageContainerTypeRegistrationSettings::|public|agent():FileStorageContainerTypeAgentSettings -msgraph_beta.generated.models.FileStorageContainerTypeRegistrationSettings::|public|agent(value:FileStorageContainerTypeAgentSettings):None msgraph_beta.generated.models.FileStorageContainerTypeRegistrationSettings::|public|backing_store:BackingStore msgraph_beta.generated.models.FileStorageContainerTypeRegistrationSettings::|public|constructor():None msgraph_beta.generated.models.FileStorageContainerTypeRegistrationSettings::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] @@ -211010,6 +212458,8 @@ msgraph_beta.generated.models.FileStorageContainerTypeRegistrationSettings::|pub msgraph_beta.generated.models.FileStorageContainerTypeRegistrationSettings::|public|is_discoverability_enabled(value:bool):None msgraph_beta.generated.models.FileStorageContainerTypeRegistrationSettings::|public|is_item_versioning_enabled():bool msgraph_beta.generated.models.FileStorageContainerTypeRegistrationSettings::|public|is_item_versioning_enabled(value:bool):None +msgraph_beta.generated.models.FileStorageContainerTypeRegistrationSettings::|public|is_office_restricted():bool +msgraph_beta.generated.models.FileStorageContainerTypeRegistrationSettings::|public|is_office_restricted(value:bool):None msgraph_beta.generated.models.FileStorageContainerTypeRegistrationSettings::|public|is_search_enabled():bool msgraph_beta.generated.models.FileStorageContainerTypeRegistrationSettings::|public|is_search_enabled(value:bool):None msgraph_beta.generated.models.FileStorageContainerTypeRegistrationSettings::|public|is_sharing_restricted():bool @@ -211029,8 +212479,6 @@ msgraph_beta.generated.models.FileStorageContainerTypeRegistrationSettings::|sta msgraph_beta.generated.models.FileStorageContainerTypeRegistrationSettings~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.FileStorageContainerTypeSettings::|public|additional_data():dict[str, Any] msgraph_beta.generated.models.FileStorageContainerTypeSettings::|public|additional_data(value:dict[str, Any]):None -msgraph_beta.generated.models.FileStorageContainerTypeSettings::|public|agent():FileStorageContainerTypeAgentSettings -msgraph_beta.generated.models.FileStorageContainerTypeSettings::|public|agent(value:FileStorageContainerTypeAgentSettings):None msgraph_beta.generated.models.FileStorageContainerTypeSettings::|public|backing_store:BackingStore msgraph_beta.generated.models.FileStorageContainerTypeSettings::|public|constructor():None msgraph_beta.generated.models.FileStorageContainerTypeSettings::|public|consuming_tenant_overridables():FileStorageContainerTypeSettingsOverride @@ -211040,6 +212488,8 @@ msgraph_beta.generated.models.FileStorageContainerTypeSettings::|public|is_disco msgraph_beta.generated.models.FileStorageContainerTypeSettings::|public|is_discoverability_enabled(value:bool):None msgraph_beta.generated.models.FileStorageContainerTypeSettings::|public|is_item_versioning_enabled():bool msgraph_beta.generated.models.FileStorageContainerTypeSettings::|public|is_item_versioning_enabled(value:bool):None +msgraph_beta.generated.models.FileStorageContainerTypeSettings::|public|is_office_restricted():bool +msgraph_beta.generated.models.FileStorageContainerTypeSettings::|public|is_office_restricted(value:bool):None msgraph_beta.generated.models.FileStorageContainerTypeSettings::|public|is_search_enabled():bool msgraph_beta.generated.models.FileStorageContainerTypeSettings::|public|is_search_enabled(value:bool):None msgraph_beta.generated.models.FileStorageContainerTypeSettings::|public|is_sharing_restricted():bool @@ -211063,6 +212513,7 @@ msgraph_beta.generated.models.FileStorageContainerTypeSettingsOverride::0003-IsI msgraph_beta.generated.models.FileStorageContainerTypeSettingsOverride::0004-ItemMajorVersionLimit msgraph_beta.generated.models.FileStorageContainerTypeSettingsOverride::0005-MaxStoragePerContainerInBytes msgraph_beta.generated.models.FileStorageContainerTypeSettingsOverride::0006-UnknownFutureValue +msgraph_beta.generated.models.FileStorageContainerTypeSettingsOverride::0007-IsOfficeRestricted msgraph_beta.generated.models.FileStorageContainerTypeSettings~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.FileStorageContainerViewpoint::|public|additional_data():dict[str, Any] msgraph_beta.generated.models.FileStorageContainerViewpoint::|public|additional_data(value:dict[str, Any]):None @@ -211751,6 +213202,31 @@ msgraph_beta.generated.models.GovernanceInsightCollectionResponse::|public|seria msgraph_beta.generated.models.GovernanceInsightCollectionResponse::|public|value():list[GovernanceInsight] msgraph_beta.generated.models.GovernanceInsightCollectionResponse::|public|value(value:list[GovernanceInsight]):None msgraph_beta.generated.models.GovernanceInsightCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):GovernanceInsightCollectionResponse +msgraph_beta.generated.models.GovernanceInvitation-->Entity +msgraph_beta.generated.models.GovernanceInvitation::|public|constructor():None +msgraph_beta.generated.models.GovernanceInvitation::|public|created_date_time():datetime.datetime +msgraph_beta.generated.models.GovernanceInvitation::|public|created_date_time(value:datetime.datetime):None +msgraph_beta.generated.models.GovernanceInvitation::|public|expiration_date_time():datetime.datetime +msgraph_beta.generated.models.GovernanceInvitation::|public|expiration_date_time(value:datetime.datetime):None +msgraph_beta.generated.models.GovernanceInvitation::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.GovernanceInvitation::|public|governed_tenant_id():str +msgraph_beta.generated.models.GovernanceInvitation::|public|governed_tenant_id(value:str):None +msgraph_beta.generated.models.GovernanceInvitation::|public|governed_tenant_name():str +msgraph_beta.generated.models.GovernanceInvitation::|public|governed_tenant_name(value:str):None +msgraph_beta.generated.models.GovernanceInvitation::|public|governing_tenant_id():str +msgraph_beta.generated.models.GovernanceInvitation::|public|governing_tenant_id(value:str):None +msgraph_beta.generated.models.GovernanceInvitation::|public|governing_tenant_name():str +msgraph_beta.generated.models.GovernanceInvitation::|public|governing_tenant_name(value:str):None +msgraph_beta.generated.models.GovernanceInvitation::|public|odata_type:str +msgraph_beta.generated.models.GovernanceInvitation::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.GovernanceInvitation::|static|public|create_from_discriminator_value(parse_node:ParseNode):GovernanceInvitation +msgraph_beta.generated.models.GovernanceInvitationCollectionResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.models.GovernanceInvitationCollectionResponse::|public|constructor():None +msgraph_beta.generated.models.GovernanceInvitationCollectionResponse::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.GovernanceInvitationCollectionResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.GovernanceInvitationCollectionResponse::|public|value():list[GovernanceInvitation] +msgraph_beta.generated.models.GovernanceInvitationCollectionResponse::|public|value(value:list[GovernanceInvitation]):None +msgraph_beta.generated.models.GovernanceInvitationCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):GovernanceInvitationCollectionResponse msgraph_beta.generated.models.GovernanceNotificationPolicy::|public|additional_data():dict[str, Any] msgraph_beta.generated.models.GovernanceNotificationPolicy::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.models.GovernanceNotificationPolicy::|public|backing_store:BackingStore @@ -211818,6 +213294,66 @@ msgraph_beta.generated.models.GovernancePolicyTemplateCollectionResponse::|publi msgraph_beta.generated.models.GovernancePolicyTemplateCollectionResponse::|public|value(value:list[GovernancePolicyTemplate]):None msgraph_beta.generated.models.GovernancePolicyTemplateCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):GovernancePolicyTemplateCollectionResponse msgraph_beta.generated.models.GovernancePolicy~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.GovernanceRelationship-->Entity +msgraph_beta.generated.models.GovernanceRelationship::|public|constructor():None +msgraph_beta.generated.models.GovernanceRelationship::|public|created_type():RelationshipCreationType +msgraph_beta.generated.models.GovernanceRelationship::|public|created_type(value:RelationshipCreationType):None +msgraph_beta.generated.models.GovernanceRelationship::|public|creation_date_time():datetime.datetime +msgraph_beta.generated.models.GovernanceRelationship::|public|creation_date_time(value:datetime.datetime):None +msgraph_beta.generated.models.GovernanceRelationship::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.GovernanceRelationship::|public|governed_tenant_id():str +msgraph_beta.generated.models.GovernanceRelationship::|public|governed_tenant_id(value:str):None +msgraph_beta.generated.models.GovernanceRelationship::|public|governed_tenant_name():str +msgraph_beta.generated.models.GovernanceRelationship::|public|governed_tenant_name(value:str):None +msgraph_beta.generated.models.GovernanceRelationship::|public|governing_tenant_id():str +msgraph_beta.generated.models.GovernanceRelationship::|public|governing_tenant_id(value:str):None +msgraph_beta.generated.models.GovernanceRelationship::|public|governing_tenant_name():str +msgraph_beta.generated.models.GovernanceRelationship::|public|governing_tenant_name(value:str):None +msgraph_beta.generated.models.GovernanceRelationship::|public|odata_type:str +msgraph_beta.generated.models.GovernanceRelationship::|public|policy_snapshot():RelationshipPolicy +msgraph_beta.generated.models.GovernanceRelationship::|public|policy_snapshot(value:RelationshipPolicy):None +msgraph_beta.generated.models.GovernanceRelationship::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.GovernanceRelationship::|public|status():RelationshipStatus +msgraph_beta.generated.models.GovernanceRelationship::|public|status(value:RelationshipStatus):None +msgraph_beta.generated.models.GovernanceRelationship::|static|public|create_from_discriminator_value(parse_node:ParseNode):GovernanceRelationship +msgraph_beta.generated.models.GovernanceRelationshipCollectionResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.models.GovernanceRelationshipCollectionResponse::|public|constructor():None +msgraph_beta.generated.models.GovernanceRelationshipCollectionResponse::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.GovernanceRelationshipCollectionResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.GovernanceRelationshipCollectionResponse::|public|value():list[GovernanceRelationship] +msgraph_beta.generated.models.GovernanceRelationshipCollectionResponse::|public|value(value:list[GovernanceRelationship]):None +msgraph_beta.generated.models.GovernanceRelationshipCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):GovernanceRelationshipCollectionResponse +msgraph_beta.generated.models.GovernanceRequest-->Entity +msgraph_beta.generated.models.GovernanceRequest::|public|constructor():None +msgraph_beta.generated.models.GovernanceRequest::|public|expiration_date_time():datetime.datetime +msgraph_beta.generated.models.GovernanceRequest::|public|expiration_date_time(value:datetime.datetime):None +msgraph_beta.generated.models.GovernanceRequest::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.GovernanceRequest::|public|governance_policy_template():TenantGovernancePolicyTemplate +msgraph_beta.generated.models.GovernanceRequest::|public|governance_policy_template(value:TenantGovernancePolicyTemplate):None +msgraph_beta.generated.models.GovernanceRequest::|public|governed_tenant_id():str +msgraph_beta.generated.models.GovernanceRequest::|public|governed_tenant_id(value:str):None +msgraph_beta.generated.models.GovernanceRequest::|public|governed_tenant_name():str +msgraph_beta.generated.models.GovernanceRequest::|public|governed_tenant_name(value:str):None +msgraph_beta.generated.models.GovernanceRequest::|public|governing_tenant_id():str +msgraph_beta.generated.models.GovernanceRequest::|public|governing_tenant_id(value:str):None +msgraph_beta.generated.models.GovernanceRequest::|public|governing_tenant_name():str +msgraph_beta.generated.models.GovernanceRequest::|public|governing_tenant_name(value:str):None +msgraph_beta.generated.models.GovernanceRequest::|public|odata_type:str +msgraph_beta.generated.models.GovernanceRequest::|public|policy_snapshot():RelationshipPolicy +msgraph_beta.generated.models.GovernanceRequest::|public|policy_snapshot(value:RelationshipPolicy):None +msgraph_beta.generated.models.GovernanceRequest::|public|request_date_time():datetime.datetime +msgraph_beta.generated.models.GovernanceRequest::|public|request_date_time(value:datetime.datetime):None +msgraph_beta.generated.models.GovernanceRequest::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.GovernanceRequest::|public|status():RequestStatus +msgraph_beta.generated.models.GovernanceRequest::|public|status(value:RequestStatus):None +msgraph_beta.generated.models.GovernanceRequest::|static|public|create_from_discriminator_value(parse_node:ParseNode):GovernanceRequest +msgraph_beta.generated.models.GovernanceRequestCollectionResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.models.GovernanceRequestCollectionResponse::|public|constructor():None +msgraph_beta.generated.models.GovernanceRequestCollectionResponse::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.GovernanceRequestCollectionResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.GovernanceRequestCollectionResponse::|public|value():list[GovernanceRequest] +msgraph_beta.generated.models.GovernanceRequestCollectionResponse::|public|value(value:list[GovernanceRequest]):None +msgraph_beta.generated.models.GovernanceRequestCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):GovernanceRequestCollectionResponse msgraph_beta.generated.models.GovernanceResource-->Entity msgraph_beta.generated.models.GovernanceResource::|public|constructor():None msgraph_beta.generated.models.GovernanceResource::|public|display_name():str @@ -213625,6 +215161,10 @@ msgraph_beta.generated.models.healthMonitoring.AlertType::0003-CompliantDeviceSi msgraph_beta.generated.models.healthMonitoring.AlertType::0004-UnknownFutureValue msgraph_beta.generated.models.healthMonitoring.AlertType::0005-ConditionalAccessBlockedSignIn msgraph_beta.generated.models.healthMonitoring.AlertType::0006-SamlSignInFailure +msgraph_beta.generated.models.healthMonitoring.AlertType::0007-InternetAppBlockedByPolicy +msgraph_beta.generated.models.healthMonitoring.AlertType::0008-PrivateAppBlockedByConnector +msgraph_beta.generated.models.healthMonitoring.AlertType::0009-RemoteNetworkTunnelConnectivity +msgraph_beta.generated.models.healthMonitoring.AlertType::0010-RemoteNetworkBgpConnectivity msgraph_beta.generated.models.healthMonitoring.ApplicationImpactSummary-->DirectoryObjectImpactSummary msgraph_beta.generated.models.healthMonitoring.ApplicationImpactSummary::|public|constructor():None msgraph_beta.generated.models.healthMonitoring.ApplicationImpactSummary::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] @@ -213742,6 +215282,7 @@ msgraph_beta.generated.models.healthMonitoring.Scenario::0002-Devices msgraph_beta.generated.models.healthMonitoring.Scenario::0003-UnknownFutureValue msgraph_beta.generated.models.healthMonitoring.Scenario::0004-ConditionalAccess msgraph_beta.generated.models.healthMonitoring.Scenario::0005-Saml +msgraph_beta.generated.models.healthMonitoring.Scenario::0006-Gsa msgraph_beta.generated.models.healthMonitoring.ServicePrincipalImpactSummary-->DirectoryObjectImpactSummary msgraph_beta.generated.models.healthMonitoring.ServicePrincipalImpactSummary::|public|constructor():None msgraph_beta.generated.models.healthMonitoring.ServicePrincipalImpactSummary::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] @@ -214196,6 +215737,42 @@ msgraph_beta.generated.models.identityGovernance.ActivationTaskScopeType::0002-U msgraph_beta.generated.models.identityGovernance.ActivationUserScopeType::0000-AllUsers msgraph_beta.generated.models.identityGovernance.ActivationUserScopeType::0001-FailedUsers msgraph_beta.generated.models.identityGovernance.ActivationUserScopeType::0002-UnknownFutureValue +msgraph_beta.generated.models.identityGovernance.AgentIdentityLifecycle-->IdentityLifecycle +msgraph_beta.generated.models.identityGovernance.AgentIdentityLifecycle::|public|constructor():None +msgraph_beta.generated.models.identityGovernance.AgentIdentityLifecycle::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.identityGovernance.AgentIdentityLifecycle::|public|odata_type:str +msgraph_beta.generated.models.identityGovernance.AgentIdentityLifecycle::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.identityGovernance.AgentIdentityLifecycle::|static|public|create_from_discriminator_value(parse_node:ParseNode):AgentIdentityLifecycle +msgraph_beta.generated.models.identityGovernance.AgentIdentityLifecyclePolicy-->LifecyclePolicy +msgraph_beta.generated.models.identityGovernance.AgentIdentityLifecyclePolicy::|public|constructor():None +msgraph_beta.generated.models.identityGovernance.AgentIdentityLifecyclePolicy::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.identityGovernance.AgentIdentityLifecyclePolicy::|public|odata_type:str +msgraph_beta.generated.models.identityGovernance.AgentIdentityLifecyclePolicy::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.identityGovernance.AgentIdentityLifecyclePolicy::|static|public|create_from_discriminator_value(parse_node:ParseNode):AgentIdentityLifecyclePolicy +msgraph_beta.generated.models.identityGovernance.AllExcludingGroupsSubjectSet-->SubjectSet +msgraph_beta.generated.models.identityGovernance.AllExcludingGroupsSubjectSet::|public|constructor():None +msgraph_beta.generated.models.identityGovernance.AllExcludingGroupsSubjectSet::|public|excluded_groups():list[Group] +msgraph_beta.generated.models.identityGovernance.AllExcludingGroupsSubjectSet::|public|excluded_groups(value:list[Group]):None +msgraph_beta.generated.models.identityGovernance.AllExcludingGroupsSubjectSet::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.identityGovernance.AllExcludingGroupsSubjectSet::|public|odata_type:str +msgraph_beta.generated.models.identityGovernance.AllExcludingGroupsSubjectSet::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.identityGovernance.AllExcludingGroupsSubjectSet::|static|public|create_from_discriminator_value(parse_node:ParseNode):AllExcludingGroupsSubjectSet +msgraph_beta.generated.models.identityGovernance.AllExcludingSpecificObjectsSubjectSet-->SubjectSet +msgraph_beta.generated.models.identityGovernance.AllExcludingSpecificObjectsSubjectSet::|public|constructor():None +msgraph_beta.generated.models.identityGovernance.AllExcludingSpecificObjectsSubjectSet::|public|excluded_objects():list[DirectoryObject] +msgraph_beta.generated.models.identityGovernance.AllExcludingSpecificObjectsSubjectSet::|public|excluded_objects(value:list[DirectoryObject]):None +msgraph_beta.generated.models.identityGovernance.AllExcludingSpecificObjectsSubjectSet::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.identityGovernance.AllExcludingSpecificObjectsSubjectSet::|public|odata_type:str +msgraph_beta.generated.models.identityGovernance.AllExcludingSpecificObjectsSubjectSet::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.identityGovernance.AllExcludingSpecificObjectsSubjectSet::|static|public|create_from_discriminator_value(parse_node:ParseNode):AllExcludingSpecificObjectsSubjectSet +msgraph_beta.generated.models.identityGovernance.AttestationComplianceIssue-->ComplianceIssue +msgraph_beta.generated.models.identityGovernance.AttestationComplianceIssue::|public|attestation_block_reasons():list[str] +msgraph_beta.generated.models.identityGovernance.AttestationComplianceIssue::|public|attestation_block_reasons(value:list[str]):None +msgraph_beta.generated.models.identityGovernance.AttestationComplianceIssue::|public|constructor():None +msgraph_beta.generated.models.identityGovernance.AttestationComplianceIssue::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.identityGovernance.AttestationComplianceIssue::|public|odata_type:str +msgraph_beta.generated.models.identityGovernance.AttestationComplianceIssue::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.identityGovernance.AttestationComplianceIssue::|static|public|create_from_discriminator_value(parse_node:ParseNode):AttestationComplianceIssue msgraph_beta.generated.models.identityGovernance.AttributeChangeTrigger-->WorkflowExecutionTrigger msgraph_beta.generated.models.identityGovernance.AttributeChangeTrigger::|public|constructor():None msgraph_beta.generated.models.identityGovernance.AttributeChangeTrigger::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] @@ -214252,6 +215829,27 @@ msgraph_beta.generated.models.identityGovernance.CancelScope::|public|odata_type msgraph_beta.generated.models.identityGovernance.CancelScope::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.identityGovernance.CancelScope::|static|public|create_from_discriminator_value(parse_node:ParseNode):CancelScope msgraph_beta.generated.models.identityGovernance.CancelScope~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.identityGovernance.ComplianceIssue-->Entity +msgraph_beta.generated.models.identityGovernance.ComplianceIssue::|public|constructor():None +msgraph_beta.generated.models.identityGovernance.ComplianceIssue::|public|description():str +msgraph_beta.generated.models.identityGovernance.ComplianceIssue::|public|description(value:str):None +msgraph_beta.generated.models.identityGovernance.ComplianceIssue::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.identityGovernance.ComplianceIssue::|public|governing_policy_reference_id():str +msgraph_beta.generated.models.identityGovernance.ComplianceIssue::|public|governing_policy_reference_id(value:str):None +msgraph_beta.generated.models.identityGovernance.ComplianceIssue::|public|issue_code():str +msgraph_beta.generated.models.identityGovernance.ComplianceIssue::|public|issue_code(value:str):None +msgraph_beta.generated.models.identityGovernance.ComplianceIssue::|public|odata_type:str +msgraph_beta.generated.models.identityGovernance.ComplianceIssue::|public|rule_type():str +msgraph_beta.generated.models.identityGovernance.ComplianceIssue::|public|rule_type(value:str):None +msgraph_beta.generated.models.identityGovernance.ComplianceIssue::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.identityGovernance.ComplianceIssue::|static|public|create_from_discriminator_value(parse_node:ParseNode):ComplianceIssue +msgraph_beta.generated.models.identityGovernance.ComplianceIssueCollectionResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.models.identityGovernance.ComplianceIssueCollectionResponse::|public|constructor():None +msgraph_beta.generated.models.identityGovernance.ComplianceIssueCollectionResponse::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.identityGovernance.ComplianceIssueCollectionResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.identityGovernance.ComplianceIssueCollectionResponse::|public|value():list[ComplianceIssue] +msgraph_beta.generated.models.identityGovernance.ComplianceIssueCollectionResponse::|public|value(value:list[ComplianceIssue]):None +msgraph_beta.generated.models.identityGovernance.ComplianceIssueCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):ComplianceIssueCollectionResponse msgraph_beta.generated.models.identityGovernance.CountBasedQuarantineCondition-->QuarantineCondition msgraph_beta.generated.models.identityGovernance.CountBasedQuarantineCondition::|public|constructor():None msgraph_beta.generated.models.identityGovernance.CountBasedQuarantineCondition::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] @@ -214336,6 +215934,34 @@ msgraph_beta.generated.models.identityGovernance.CustomTaskExtensionResponseData msgraph_beta.generated.models.identityGovernance.CustomTaskExtensionResponseData::|public|target_subject():WorkflowSubject msgraph_beta.generated.models.identityGovernance.CustomTaskExtensionResponseData::|public|target_subject(value:WorkflowSubject):None msgraph_beta.generated.models.identityGovernance.CustomTaskExtensionResponseData::|static|public|create_from_discriminator_value(parse_node:ParseNode):CustomTaskExtensionResponseData +msgraph_beta.generated.models.identityGovernance.DeleteOnlyEnforcementAction-->LifecyclePolicyEnforcementAction +msgraph_beta.generated.models.identityGovernance.DeleteOnlyEnforcementAction::|public|constructor():None +msgraph_beta.generated.models.identityGovernance.DeleteOnlyEnforcementAction::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.identityGovernance.DeleteOnlyEnforcementAction::|public|odata_type:str +msgraph_beta.generated.models.identityGovernance.DeleteOnlyEnforcementAction::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.identityGovernance.DeleteOnlyEnforcementAction::|static|public|create_from_discriminator_value(parse_node:ParseNode):DeleteOnlyEnforcementAction +msgraph_beta.generated.models.identityGovernance.DirectoryObjectWorkflowSubject-->WorkflowSubject +msgraph_beta.generated.models.identityGovernance.DirectoryObjectWorkflowSubject::|public|constructor():None +msgraph_beta.generated.models.identityGovernance.DirectoryObjectWorkflowSubject::|public|directory_object():DirectoryObject +msgraph_beta.generated.models.identityGovernance.DirectoryObjectWorkflowSubject::|public|directory_object(value:DirectoryObject):None +msgraph_beta.generated.models.identityGovernance.DirectoryObjectWorkflowSubject::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.identityGovernance.DirectoryObjectWorkflowSubject::|public|odata_type:str +msgraph_beta.generated.models.identityGovernance.DirectoryObjectWorkflowSubject::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.identityGovernance.DirectoryObjectWorkflowSubject::|static|public|create_from_discriminator_value(parse_node:ParseNode):DirectoryObjectWorkflowSubject +msgraph_beta.generated.models.identityGovernance.DisableOnlyEnforcementAction-->LifecyclePolicyEnforcementAction +msgraph_beta.generated.models.identityGovernance.DisableOnlyEnforcementAction::|public|constructor():None +msgraph_beta.generated.models.identityGovernance.DisableOnlyEnforcementAction::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.identityGovernance.DisableOnlyEnforcementAction::|public|odata_type:str +msgraph_beta.generated.models.identityGovernance.DisableOnlyEnforcementAction::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.identityGovernance.DisableOnlyEnforcementAction::|static|public|create_from_discriminator_value(parse_node:ParseNode):DisableOnlyEnforcementAction +msgraph_beta.generated.models.identityGovernance.DisableThenDeleteEnforcementAction-->LifecyclePolicyEnforcementAction +msgraph_beta.generated.models.identityGovernance.DisableThenDeleteEnforcementAction::|public|constructor():None +msgraph_beta.generated.models.identityGovernance.DisableThenDeleteEnforcementAction::|public|deletion_grace_period_in_days():int +msgraph_beta.generated.models.identityGovernance.DisableThenDeleteEnforcementAction::|public|deletion_grace_period_in_days(value:int):None +msgraph_beta.generated.models.identityGovernance.DisableThenDeleteEnforcementAction::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.identityGovernance.DisableThenDeleteEnforcementAction::|public|odata_type:str +msgraph_beta.generated.models.identityGovernance.DisableThenDeleteEnforcementAction::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.identityGovernance.DisableThenDeleteEnforcementAction::|static|public|create_from_discriminator_value(parse_node:ParseNode):DisableThenDeleteEnforcementAction msgraph_beta.generated.models.identityGovernance.GroupBasedSubjectSet-->SubjectSet msgraph_beta.generated.models.identityGovernance.GroupBasedSubjectSet::|public|constructor():None msgraph_beta.generated.models.identityGovernance.GroupBasedSubjectSet::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] @@ -214382,6 +216008,26 @@ msgraph_beta.generated.models.identityGovernance.IdentityGovernance::|public|ter msgraph_beta.generated.models.identityGovernance.IdentityGovernance::|public|terms_of_use(value:TermsOfUseContainer):None msgraph_beta.generated.models.identityGovernance.IdentityGovernance::|static|public|create_from_discriminator_value(parse_node:ParseNode):IdentityGovernance msgraph_beta.generated.models.identityGovernance.IdentityGovernance~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.identityGovernance.IdentityLifecycle-->Entity +msgraph_beta.generated.models.identityGovernance.IdentityLifecycle::|public|compliance_issues():list[ComplianceIssue] +msgraph_beta.generated.models.identityGovernance.IdentityLifecycle::|public|compliance_issues(value:list[ComplianceIssue]):None +msgraph_beta.generated.models.identityGovernance.IdentityLifecycle::|public|constructor():None +msgraph_beta.generated.models.identityGovernance.IdentityLifecycle::|public|effective_governing_policy():LifecyclePolicy +msgraph_beta.generated.models.identityGovernance.IdentityLifecycle::|public|effective_governing_policy(value:LifecyclePolicy):None +msgraph_beta.generated.models.identityGovernance.IdentityLifecycle::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.identityGovernance.IdentityLifecycle::|public|last_attestation_date_time():datetime.datetime +msgraph_beta.generated.models.identityGovernance.IdentityLifecycle::|public|last_attestation_date_time(value:datetime.datetime):None +msgraph_beta.generated.models.identityGovernance.IdentityLifecycle::|public|odata_type:str +msgraph_beta.generated.models.identityGovernance.IdentityLifecycle::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.identityGovernance.IdentityLifecycle::|static|public|create_from_discriminator_value(parse_node:ParseNode):IdentityLifecycle +msgraph_beta.generated.models.identityGovernance.InactivityRule-->LifecyclePolicyRule +msgraph_beta.generated.models.identityGovernance.InactivityRule::|public|constructor():None +msgraph_beta.generated.models.identityGovernance.InactivityRule::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.identityGovernance.InactivityRule::|public|last_activity_threshold_in_days():int +msgraph_beta.generated.models.identityGovernance.InactivityRule::|public|last_activity_threshold_in_days(value:int):None +msgraph_beta.generated.models.identityGovernance.InactivityRule::|public|odata_type:str +msgraph_beta.generated.models.identityGovernance.InactivityRule::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.identityGovernance.InactivityRule::|static|public|create_from_discriminator_value(parse_node:ParseNode):InactivityRule msgraph_beta.generated.models.identityGovernance.Insights-->Entity msgraph_beta.generated.models.identityGovernance.Insights::|public|constructor():None msgraph_beta.generated.models.identityGovernance.Insights::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] @@ -214400,6 +216046,110 @@ msgraph_beta.generated.models.identityGovernance.LifecycleManagementSettings::|p msgraph_beta.generated.models.identityGovernance.LifecycleManagementSettings::|public|workflow_schedule_interval_in_hours():int msgraph_beta.generated.models.identityGovernance.LifecycleManagementSettings::|public|workflow_schedule_interval_in_hours(value:int):None msgraph_beta.generated.models.identityGovernance.LifecycleManagementSettings::|static|public|create_from_discriminator_value(parse_node:ParseNode):LifecycleManagementSettings +msgraph_beta.generated.models.identityGovernance.LifecyclePolicy-->Entity +msgraph_beta.generated.models.identityGovernance.LifecyclePolicy::|public|constructor():None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicy::|public|created_by():DirectoryObject +msgraph_beta.generated.models.identityGovernance.LifecyclePolicy::|public|created_by(value:DirectoryObject):None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicy::|public|created_date_time():datetime.datetime +msgraph_beta.generated.models.identityGovernance.LifecyclePolicy::|public|created_date_time(value:datetime.datetime):None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicy::|public|description():str +msgraph_beta.generated.models.identityGovernance.LifecyclePolicy::|public|description(value:str):None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicy::|public|display_name():str +msgraph_beta.generated.models.identityGovernance.LifecyclePolicy::|public|display_name(value:str):None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicy::|public|enforcement_action():LifecyclePolicyEnforcementAction +msgraph_beta.generated.models.identityGovernance.LifecyclePolicy::|public|enforcement_action(value:LifecyclePolicyEnforcementAction):None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicy::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.identityGovernance.LifecyclePolicy::|public|grace_period_in_days():int +msgraph_beta.generated.models.identityGovernance.LifecyclePolicy::|public|grace_period_in_days(value:int):None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicy::|public|is_enabled():bool +msgraph_beta.generated.models.identityGovernance.LifecyclePolicy::|public|is_enabled(value:bool):None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicy::|public|last_modified_by():DirectoryObject +msgraph_beta.generated.models.identityGovernance.LifecyclePolicy::|public|last_modified_by(value:DirectoryObject):None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicy::|public|last_modified_date_time():datetime.datetime +msgraph_beta.generated.models.identityGovernance.LifecyclePolicy::|public|last_modified_date_time(value:datetime.datetime):None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicy::|public|notification_schedule():LifecyclePolicyNotificationSettings +msgraph_beta.generated.models.identityGovernance.LifecyclePolicy::|public|notification_schedule(value:LifecyclePolicyNotificationSettings):None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicy::|public|odata_type:str +msgraph_beta.generated.models.identityGovernance.LifecyclePolicy::|public|policy_source():LifecyclePolicySource +msgraph_beta.generated.models.identityGovernance.LifecyclePolicy::|public|policy_source(value:LifecyclePolicySource):None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicy::|public|rules():list[LifecyclePolicyRule] +msgraph_beta.generated.models.identityGovernance.LifecyclePolicy::|public|rules(value:list[LifecyclePolicyRule]):None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicy::|public|scope():SubjectSet +msgraph_beta.generated.models.identityGovernance.LifecyclePolicy::|public|scope(value:SubjectSet):None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicy::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicy::|public|versions():list[LifecyclePolicy] +msgraph_beta.generated.models.identityGovernance.LifecyclePolicy::|public|versions(value:list[LifecyclePolicy]):None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicy::|public|version_number():int +msgraph_beta.generated.models.identityGovernance.LifecyclePolicy::|public|version_number(value:int):None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicy::|static|public|create_from_discriminator_value(parse_node:ParseNode):LifecyclePolicy +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyCollectionResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyCollectionResponse::|public|constructor():None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyCollectionResponse::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyCollectionResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyCollectionResponse::|public|value():list[LifecyclePolicy] +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyCollectionResponse::|public|value(value:list[LifecyclePolicy]):None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):LifecyclePolicyCollectionResponse +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyEnforcementAction::|public|additional_data():dict[str, Any] +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyEnforcementAction::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyEnforcementAction::|public|backing_store:BackingStore +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyEnforcementAction::|public|constructor():None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyEnforcementAction::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyEnforcementAction::|public|odata_type():str +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyEnforcementAction::|public|odata_type(value:str):None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyEnforcementAction::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyEnforcementAction::|static|public|create_from_discriminator_value(parse_node:ParseNode):LifecyclePolicyEnforcementAction +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyEnforcementAction~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyNotificationSettings::|public|additional_data():dict[str, Any] +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyNotificationSettings::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyNotificationSettings::|public|additional_recipients():list[str] +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyNotificationSettings::|public|additional_recipients(value:list[str]):None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyNotificationSettings::|public|backing_store:BackingStore +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyNotificationSettings::|public|constructor():None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyNotificationSettings::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyNotificationSettings::|public|is_enabled():bool +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyNotificationSettings::|public|is_enabled(value:bool):None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyNotificationSettings::|public|odata_type():str +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyNotificationSettings::|public|odata_type(value:str):None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyNotificationSettings::|public|offsets_after_non_compliance_in_days():list[int] +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyNotificationSettings::|public|offsets_after_non_compliance_in_days(value:list[int]):None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyNotificationSettings::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyNotificationSettings::|static|public|create_from_discriminator_value(parse_node:ParseNode):LifecyclePolicyNotificationSettings +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyNotificationSettings~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyPriorityConfiguration-->Entity +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyPriorityConfiguration::|public|constructor():None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyPriorityConfiguration::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyPriorityConfiguration::|public|odata_type:str +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyPriorityConfiguration::|public|ordered_policy_ids():list[str] +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyPriorityConfiguration::|public|ordered_policy_ids(value:list[str]):None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyPriorityConfiguration::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyPriorityConfiguration::|public|subject_type():SubjectType +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyPriorityConfiguration::|public|subject_type(value:SubjectType):None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyPriorityConfiguration::|static|public|create_from_discriminator_value(parse_node:ParseNode):LifecyclePolicyPriorityConfiguration +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyPriorityConfigurationCollectionResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyPriorityConfigurationCollectionResponse::|public|constructor():None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyPriorityConfigurationCollectionResponse::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyPriorityConfigurationCollectionResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyPriorityConfigurationCollectionResponse::|public|value():list[LifecyclePolicyPriorityConfiguration] +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyPriorityConfigurationCollectionResponse::|public|value(value:list[LifecyclePolicyPriorityConfiguration]):None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyPriorityConfigurationCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):LifecyclePolicyPriorityConfigurationCollectionResponse +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyRule-->Entity +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyRule::|public|constructor():None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyRule::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyRule::|public|is_enabled():bool +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyRule::|public|is_enabled(value:bool):None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyRule::|public|odata_type:str +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyRule::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyRule::|static|public|create_from_discriminator_value(parse_node:ParseNode):LifecyclePolicyRule +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyRuleCollectionResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyRuleCollectionResponse::|public|constructor():None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyRuleCollectionResponse::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyRuleCollectionResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyRuleCollectionResponse::|public|value():list[LifecyclePolicyRule] +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyRuleCollectionResponse::|public|value(value:list[LifecyclePolicyRule]):None +msgraph_beta.generated.models.identityGovernance.LifecyclePolicyRuleCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):LifecyclePolicyRuleCollectionResponse +msgraph_beta.generated.models.identityGovernance.LifecyclePolicySource::0000-UserCreated +msgraph_beta.generated.models.identityGovernance.LifecyclePolicySource::0001-SystemDefault +msgraph_beta.generated.models.identityGovernance.LifecyclePolicySource::0002-UnknownFutureValue msgraph_beta.generated.models.identityGovernance.LifecycleTaskCategory::0000-Joiner msgraph_beta.generated.models.identityGovernance.LifecycleTaskCategory::0001-Leaver msgraph_beta.generated.models.identityGovernance.LifecycleTaskCategory::0002-UnknownFutureValue @@ -214428,6 +216178,10 @@ msgraph_beta.generated.models.identityGovernance.LifecycleWorkflowsContainer::|p msgraph_beta.generated.models.identityGovernance.LifecycleWorkflowsContainer::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] msgraph_beta.generated.models.identityGovernance.LifecycleWorkflowsContainer::|public|insights():Insights msgraph_beta.generated.models.identityGovernance.LifecycleWorkflowsContainer::|public|insights(value:Insights):None +msgraph_beta.generated.models.identityGovernance.LifecycleWorkflowsContainer::|public|lifecycle_policies():list[LifecyclePolicy] +msgraph_beta.generated.models.identityGovernance.LifecycleWorkflowsContainer::|public|lifecycle_policies(value:list[LifecyclePolicy]):None +msgraph_beta.generated.models.identityGovernance.LifecycleWorkflowsContainer::|public|lifecycle_policy_priority_configurations():list[LifecyclePolicyPriorityConfiguration] +msgraph_beta.generated.models.identityGovernance.LifecycleWorkflowsContainer::|public|lifecycle_policy_priority_configurations(value:list[LifecyclePolicyPriorityConfiguration]):None msgraph_beta.generated.models.identityGovernance.LifecycleWorkflowsContainer::|public|odata_type:str msgraph_beta.generated.models.identityGovernance.LifecycleWorkflowsContainer::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.identityGovernance.LifecycleWorkflowsContainer::|public|settings():LifecycleManagementSettings @@ -214483,6 +216237,14 @@ msgraph_beta.generated.models.identityGovernance.PercentageBasedQuarantineCondit msgraph_beta.generated.models.identityGovernance.PercentageBasedQuarantineCondition::|public|percentage(value:int):None msgraph_beta.generated.models.identityGovernance.PercentageBasedQuarantineCondition::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.identityGovernance.PercentageBasedQuarantineCondition::|static|public|create_from_discriminator_value(parse_node:ParseNode):PercentageBasedQuarantineCondition +msgraph_beta.generated.models.identityGovernance.PeriodicAttestationRule-->LifecyclePolicyRule +msgraph_beta.generated.models.identityGovernance.PeriodicAttestationRule::|public|attestation_interval_in_days():int +msgraph_beta.generated.models.identityGovernance.PeriodicAttestationRule::|public|attestation_interval_in_days(value:int):None +msgraph_beta.generated.models.identityGovernance.PeriodicAttestationRule::|public|constructor():None +msgraph_beta.generated.models.identityGovernance.PeriodicAttestationRule::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.identityGovernance.PeriodicAttestationRule::|public|odata_type:str +msgraph_beta.generated.models.identityGovernance.PeriodicAttestationRule::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.identityGovernance.PeriodicAttestationRule::|static|public|create_from_discriminator_value(parse_node:ParseNode):PeriodicAttestationRule msgraph_beta.generated.models.identityGovernance.PreviewFailedTask::|public|additional_data():dict[str, Any] msgraph_beta.generated.models.identityGovernance.PreviewFailedTask::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.models.identityGovernance.PreviewFailedTask::|public|backing_store:BackingStore @@ -214639,6 +216401,22 @@ msgraph_beta.generated.models.identityGovernance.RunSummary::|public|total_users msgraph_beta.generated.models.identityGovernance.RunSummary::|public|total_users(value:int):None msgraph_beta.generated.models.identityGovernance.RunSummary::|static|public|create_from_discriminator_value(parse_node:ParseNode):RunSummary msgraph_beta.generated.models.identityGovernance.RunSummary~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.identityGovernance.SelectedObjectsSubjectSet-->SubjectSet +msgraph_beta.generated.models.identityGovernance.SelectedObjectsSubjectSet::|public|constructor():None +msgraph_beta.generated.models.identityGovernance.SelectedObjectsSubjectSet::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.identityGovernance.SelectedObjectsSubjectSet::|public|in_scope_objects():list[DirectoryObject] +msgraph_beta.generated.models.identityGovernance.SelectedObjectsSubjectSet::|public|in_scope_objects(value:list[DirectoryObject]):None +msgraph_beta.generated.models.identityGovernance.SelectedObjectsSubjectSet::|public|odata_type:str +msgraph_beta.generated.models.identityGovernance.SelectedObjectsSubjectSet::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.identityGovernance.SelectedObjectsSubjectSet::|static|public|create_from_discriminator_value(parse_node:ParseNode):SelectedObjectsSubjectSet +msgraph_beta.generated.models.identityGovernance.SponsorPresenceRule-->LifecyclePolicyRule +msgraph_beta.generated.models.identityGovernance.SponsorPresenceRule::|public|constructor():None +msgraph_beta.generated.models.identityGovernance.SponsorPresenceRule::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.identityGovernance.SponsorPresenceRule::|public|minimum_sponsor_count():int +msgraph_beta.generated.models.identityGovernance.SponsorPresenceRule::|public|minimum_sponsor_count(value:int):None +msgraph_beta.generated.models.identityGovernance.SponsorPresenceRule::|public|odata_type:str +msgraph_beta.generated.models.identityGovernance.SponsorPresenceRule::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.identityGovernance.SponsorPresenceRule::|static|public|create_from_discriminator_value(parse_node:ParseNode):SponsorPresenceRule msgraph_beta.generated.models.identityGovernance.SubjectProcessingResult-->Entity msgraph_beta.generated.models.identityGovernance.SubjectProcessingResult::|public|completed_date_time():datetime.datetime msgraph_beta.generated.models.identityGovernance.SubjectProcessingResult::|public|completed_date_time(value:datetime.datetime):None @@ -214658,6 +216436,8 @@ msgraph_beta.generated.models.identityGovernance.SubjectProcessingResult::|publi msgraph_beta.generated.models.identityGovernance.SubjectProcessingResult::|public|started_date_time(value:datetime.datetime):None msgraph_beta.generated.models.identityGovernance.SubjectProcessingResult::|public|subject():WorkflowSubject msgraph_beta.generated.models.identityGovernance.SubjectProcessingResult::|public|subject(value:WorkflowSubject):None +msgraph_beta.generated.models.identityGovernance.SubjectProcessingResult::|public|subject_type():SubjectType +msgraph_beta.generated.models.identityGovernance.SubjectProcessingResult::|public|subject_type(value:SubjectType):None msgraph_beta.generated.models.identityGovernance.SubjectProcessingResult::|public|task_processing_results():list[TaskProcessingResult] msgraph_beta.generated.models.identityGovernance.SubjectProcessingResult::|public|task_processing_results(value:list[TaskProcessingResult]):None msgraph_beta.generated.models.identityGovernance.SubjectProcessingResult::|public|total_tasks_count():int @@ -214676,6 +216456,30 @@ msgraph_beta.generated.models.identityGovernance.SubjectProcessingResultCollecti msgraph_beta.generated.models.identityGovernance.SubjectProcessingResultCollectionResponse::|public|value():list[SubjectProcessingResult] msgraph_beta.generated.models.identityGovernance.SubjectProcessingResultCollectionResponse::|public|value(value:list[SubjectProcessingResult]):None msgraph_beta.generated.models.identityGovernance.SubjectProcessingResultCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):SubjectProcessingResultCollectionResponse +msgraph_beta.generated.models.identityGovernance.SubjectSummary::|public|additional_data():dict[str, Any] +msgraph_beta.generated.models.identityGovernance.SubjectSummary::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.identityGovernance.SubjectSummary::|public|backing_store:BackingStore +msgraph_beta.generated.models.identityGovernance.SubjectSummary::|public|constructor():None +msgraph_beta.generated.models.identityGovernance.SubjectSummary::|public|failed_subjects():int +msgraph_beta.generated.models.identityGovernance.SubjectSummary::|public|failed_subjects(value:int):None +msgraph_beta.generated.models.identityGovernance.SubjectSummary::|public|failed_tasks():int +msgraph_beta.generated.models.identityGovernance.SubjectSummary::|public|failed_tasks(value:int):None +msgraph_beta.generated.models.identityGovernance.SubjectSummary::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.identityGovernance.SubjectSummary::|public|odata_type():str +msgraph_beta.generated.models.identityGovernance.SubjectSummary::|public|odata_type(value:str):None +msgraph_beta.generated.models.identityGovernance.SubjectSummary::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.identityGovernance.SubjectSummary::|public|successful_subjects():int +msgraph_beta.generated.models.identityGovernance.SubjectSummary::|public|successful_subjects(value:int):None +msgraph_beta.generated.models.identityGovernance.SubjectSummary::|public|total_subjects():int +msgraph_beta.generated.models.identityGovernance.SubjectSummary::|public|total_subjects(value:int):None +msgraph_beta.generated.models.identityGovernance.SubjectSummary::|public|total_tasks():int +msgraph_beta.generated.models.identityGovernance.SubjectSummary::|public|total_tasks(value:int):None +msgraph_beta.generated.models.identityGovernance.SubjectSummary::|static|public|create_from_discriminator_value(parse_node:ParseNode):SubjectSummary +msgraph_beta.generated.models.identityGovernance.SubjectSummary~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.identityGovernance.SubjectType::0000-User +msgraph_beta.generated.models.identityGovernance.SubjectType::0001-AgentIdentity +msgraph_beta.generated.models.identityGovernance.SubjectType::0002-UnknownFutureValue +msgraph_beta.generated.models.identityGovernance.SubjectType::0003-ProvisioningObject msgraph_beta.generated.models.identityGovernance.Task-->Entity msgraph_beta.generated.models.identityGovernance.Task::|public|arguments():list[KeyValuePair] msgraph_beta.generated.models.identityGovernance.Task::|public|arguments(value:list[KeyValuePair]):None @@ -215038,6 +216842,8 @@ msgraph_beta.generated.models.identityGovernance.WorkflowBase::|public|last_modi msgraph_beta.generated.models.identityGovernance.WorkflowBase::|public|odata_type():str msgraph_beta.generated.models.identityGovernance.WorkflowBase::|public|odata_type(value:str):None msgraph_beta.generated.models.identityGovernance.WorkflowBase::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.identityGovernance.WorkflowBase::|public|target_subject_type():SubjectType +msgraph_beta.generated.models.identityGovernance.WorkflowBase::|public|target_subject_type(value:SubjectType):None msgraph_beta.generated.models.identityGovernance.WorkflowBase::|public|tasks():list[Task] msgraph_beta.generated.models.identityGovernance.WorkflowBase::|public|tasks(value:list[Task]):None msgraph_beta.generated.models.identityGovernance.WorkflowBase::|static|public|create_from_discriminator_value(parse_node:ParseNode):WorkflowBase @@ -215529,6 +217335,8 @@ msgraph_beta.generated.models.ImpactedResource::|public|status():RecommendationS msgraph_beta.generated.models.ImpactedResource::|public|status(value:RecommendationStatus):None msgraph_beta.generated.models.ImpactedResource::|public|subject_id():str msgraph_beta.generated.models.ImpactedResource::|public|subject_id(value:str):None +msgraph_beta.generated.models.ImpactedResource::|public|tags():list[RecommendationTag] +msgraph_beta.generated.models.ImpactedResource::|public|tags(value:list[RecommendationTag]):None msgraph_beta.generated.models.ImpactedResource::|static|public|create_from_discriminator_value(parse_node:ParseNode):ImpactedResource msgraph_beta.generated.models.ImpactedResourceCollectionResponse-->BaseCollectionPaginationCountResponse msgraph_beta.generated.models.ImpactedResourceCollectionResponse::|public|constructor():None @@ -217338,6 +219146,36 @@ msgraph_beta.generated.models.InvalidLicenseAlertIncident::|public|serialize(wri msgraph_beta.generated.models.InvalidLicenseAlertIncident::|public|tenant_license_status():str msgraph_beta.generated.models.InvalidLicenseAlertIncident::|public|tenant_license_status(value:str):None msgraph_beta.generated.models.InvalidLicenseAlertIncident::|static|public|create_from_discriminator_value(parse_node:ParseNode):InvalidLicenseAlertIncident +msgraph_beta.generated.models.InvestigationActionStep::|public|action_url():InvestigationActionUrl +msgraph_beta.generated.models.InvestigationActionStep::|public|action_url(value:InvestigationActionUrl):None +msgraph_beta.generated.models.InvestigationActionStep::|public|additional_data():dict[str, Any] +msgraph_beta.generated.models.InvestigationActionStep::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.InvestigationActionStep::|public|backing_store:BackingStore +msgraph_beta.generated.models.InvestigationActionStep::|public|constructor():None +msgraph_beta.generated.models.InvestigationActionStep::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.InvestigationActionStep::|public|odata_type():str +msgraph_beta.generated.models.InvestigationActionStep::|public|odata_type(value:str):None +msgraph_beta.generated.models.InvestigationActionStep::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.InvestigationActionStep::|public|step_number():str +msgraph_beta.generated.models.InvestigationActionStep::|public|step_number(value:str):None +msgraph_beta.generated.models.InvestigationActionStep::|public|text():str +msgraph_beta.generated.models.InvestigationActionStep::|public|text(value:str):None +msgraph_beta.generated.models.InvestigationActionStep::|static|public|create_from_discriminator_value(parse_node:ParseNode):InvestigationActionStep +msgraph_beta.generated.models.InvestigationActionStep~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.InvestigationActionUrl::|public|additional_data():dict[str, Any] +msgraph_beta.generated.models.InvestigationActionUrl::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.InvestigationActionUrl::|public|backing_store:BackingStore +msgraph_beta.generated.models.InvestigationActionUrl::|public|constructor():None +msgraph_beta.generated.models.InvestigationActionUrl::|public|display_name():str +msgraph_beta.generated.models.InvestigationActionUrl::|public|display_name(value:str):None +msgraph_beta.generated.models.InvestigationActionUrl::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.InvestigationActionUrl::|public|odata_type():str +msgraph_beta.generated.models.InvestigationActionUrl::|public|odata_type(value:str):None +msgraph_beta.generated.models.InvestigationActionUrl::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.InvestigationActionUrl::|public|url():str +msgraph_beta.generated.models.InvestigationActionUrl::|public|url(value:str):None +msgraph_beta.generated.models.InvestigationActionUrl::|static|public|create_from_discriminator_value(parse_node:ParseNode):InvestigationActionUrl +msgraph_beta.generated.models.InvestigationActionUrl~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.InvestigationSecurityState::|public|additional_data():dict[str, Any] msgraph_beta.generated.models.InvestigationSecurityState::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.models.InvestigationSecurityState::|public|backing_store:BackingStore @@ -217605,6 +219443,8 @@ msgraph_beta.generated.models.IosDdmLobAppAssignmentSettings::|public|cellular_s msgraph_beta.generated.models.IosDdmLobAppAssignmentSettings::|public|constructor():None msgraph_beta.generated.models.IosDdmLobAppAssignmentSettings::|public|content_filter_configuration_id():str msgraph_beta.generated.models.IosDdmLobAppAssignmentSettings::|public|content_filter_configuration_id(value:str):None +msgraph_beta.generated.models.IosDdmLobAppAssignmentSettings::|public|ddm_app_config_id():UUID +msgraph_beta.generated.models.IosDdmLobAppAssignmentSettings::|public|ddm_app_config_id(value:UUID):None msgraph_beta.generated.models.IosDdmLobAppAssignmentSettings::|public|dns_proxy_configuration_id():str msgraph_beta.generated.models.IosDdmLobAppAssignmentSettings::|public|dns_proxy_configuration_id(value:str):None msgraph_beta.generated.models.IosDdmLobAppAssignmentSettings::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] @@ -217663,6 +219503,8 @@ msgraph_beta.generated.models.IosDdmVppAppAssignmentSettings::|public|cellular_s msgraph_beta.generated.models.IosDdmVppAppAssignmentSettings::|public|constructor():None msgraph_beta.generated.models.IosDdmVppAppAssignmentSettings::|public|content_filter_configuration_id():str msgraph_beta.generated.models.IosDdmVppAppAssignmentSettings::|public|content_filter_configuration_id(value:str):None +msgraph_beta.generated.models.IosDdmVppAppAssignmentSettings::|public|ddm_app_config_id():UUID +msgraph_beta.generated.models.IosDdmVppAppAssignmentSettings::|public|ddm_app_config_id(value:UUID):None msgraph_beta.generated.models.IosDdmVppAppAssignmentSettings::|public|dns_proxy_configuration_id():str msgraph_beta.generated.models.IosDdmVppAppAssignmentSettings::|public|dns_proxy_configuration_id(value:str):None msgraph_beta.generated.models.IosDdmVppAppAssignmentSettings::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] @@ -221551,6 +223393,8 @@ msgraph_beta.generated.models.MacOsDdmVppAppAssignmentSettings-->MobileAppAssign msgraph_beta.generated.models.MacOsDdmVppAppAssignmentSettings::|public|automatic_app_updates():DdmAppAutomaticAppUpdates msgraph_beta.generated.models.MacOsDdmVppAppAssignmentSettings::|public|automatic_app_updates(value:DdmAppAutomaticAppUpdates):None msgraph_beta.generated.models.MacOsDdmVppAppAssignmentSettings::|public|constructor():None +msgraph_beta.generated.models.MacOsDdmVppAppAssignmentSettings::|public|ddm_app_config_id():UUID +msgraph_beta.generated.models.MacOsDdmVppAppAssignmentSettings::|public|ddm_app_config_id(value:UUID):None msgraph_beta.generated.models.MacOsDdmVppAppAssignmentSettings::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] msgraph_beta.generated.models.MacOsDdmVppAppAssignmentSettings::|public|is_ios_app():bool msgraph_beta.generated.models.MacOsDdmVppAppAssignmentSettings::|public|is_ios_app(value:bool):None @@ -227213,20 +229057,18 @@ msgraph_beta.generated.models.Member::|public|additional_data():dict[str, Any] msgraph_beta.generated.models.Member::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.models.Member::|public|backing_store:BackingStore msgraph_beta.generated.models.Member::|public|constructor():None -msgraph_beta.generated.models.Member::|public|contact_id():str -msgraph_beta.generated.models.Member::|public|contact_id(value:str):None msgraph_beta.generated.models.Member::|public|display_name():str msgraph_beta.generated.models.Member::|public|display_name(value:str):None msgraph_beta.generated.models.Member::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] msgraph_beta.generated.models.Member::|public|key():str msgraph_beta.generated.models.Member::|public|key(value:str):None +msgraph_beta.generated.models.Member::|public|member_id():str +msgraph_beta.generated.models.Member::|public|member_id(value:str):None msgraph_beta.generated.models.Member::|public|odata_type():str msgraph_beta.generated.models.Member::|public|odata_type(value:str):None -msgraph_beta.generated.models.Member::|public|recipient_type():RecipientType -msgraph_beta.generated.models.Member::|public|recipient_type(value:RecipientType):None -msgraph_beta.generated.models.Member::|public|routing_type():str -msgraph_beta.generated.models.Member::|public|routing_type(value:str):None msgraph_beta.generated.models.Member::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.Member::|public|type():RecipientType +msgraph_beta.generated.models.Member::|public|type(value:RecipientType):None msgraph_beta.generated.models.Member::|static|public|create_from_discriminator_value(parse_node:ParseNode):Member msgraph_beta.generated.models.MembersAddedEventMessageDetail-->EventMessageDetail msgraph_beta.generated.models.MembersAddedEventMessageDetail::|public|constructor():None @@ -228611,6 +230453,8 @@ msgraph_beta.generated.models.MobileAppContentFile::|public|size():int msgraph_beta.generated.models.MobileAppContentFile::|public|size(value:int):None msgraph_beta.generated.models.MobileAppContentFile::|public|size_encrypted():int msgraph_beta.generated.models.MobileAppContentFile::|public|size_encrypted(value:int):None +msgraph_beta.generated.models.MobileAppContentFile::|public|upload_error_code():MobileAppContentFileUploadErrorCode +msgraph_beta.generated.models.MobileAppContentFile::|public|upload_error_code(value:MobileAppContentFileUploadErrorCode):None msgraph_beta.generated.models.MobileAppContentFile::|public|upload_state():MobileAppContentFileUploadState msgraph_beta.generated.models.MobileAppContentFile::|public|upload_state(value:MobileAppContentFileUploadState):None msgraph_beta.generated.models.MobileAppContentFile::|static|public|create_from_discriminator_value(parse_node:ParseNode):MobileAppContentFile @@ -228621,6 +230465,16 @@ msgraph_beta.generated.models.MobileAppContentFileCollectionResponse::|public|se msgraph_beta.generated.models.MobileAppContentFileCollectionResponse::|public|value():list[MobileAppContentFile] msgraph_beta.generated.models.MobileAppContentFileCollectionResponse::|public|value(value:list[MobileAppContentFile]):None msgraph_beta.generated.models.MobileAppContentFileCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):MobileAppContentFileCollectionResponse +msgraph_beta.generated.models.MobileAppContentFileUploadErrorCode::0000-ApkIsInvalid +msgraph_beta.generated.models.MobileAppContentFileUploadErrorCode::0001-ApkIsMissingSignerCertificates +msgraph_beta.generated.models.MobileAppContentFileUploadErrorCode::0002-ApkHasInvalidPackageName +msgraph_beta.generated.models.MobileAppContentFileUploadErrorCode::0003-ApkPackageNameMismatch +msgraph_beta.generated.models.MobileAppContentFileUploadErrorCode::0004-ApkHasInvalidVersionCode +msgraph_beta.generated.models.MobileAppContentFileUploadErrorCode::0005-ApkHasVersionCodeMismatch +msgraph_beta.generated.models.MobileAppContentFileUploadErrorCode::0006-ApkHasInvalidMinSdk +msgraph_beta.generated.models.MobileAppContentFileUploadErrorCode::0007-ApkMinSdkMismatch +msgraph_beta.generated.models.MobileAppContentFileUploadErrorCode::0008-ApkVersionNameMismatch +msgraph_beta.generated.models.MobileAppContentFileUploadErrorCode::0009-UnknownFutureValue msgraph_beta.generated.models.MobileAppContentFileUploadState::0000-Success msgraph_beta.generated.models.MobileAppContentFileUploadState::0001-TransientError msgraph_beta.generated.models.MobileAppContentFileUploadState::0002-Error @@ -229286,6 +231140,82 @@ msgraph_beta.generated.models.MultiActivitySubscription::|static|public|create_f msgraph_beta.generated.models.MultiFactorAuthConfiguration::0000-NotRequired msgraph_beta.generated.models.MultiFactorAuthConfiguration::0001-Required msgraph_beta.generated.models.MultiFactorAuthConfiguration::0002-UnknownFutureValue +msgraph_beta.generated.models.MultiTenantApplicationMetrics-->Entity +msgraph_beta.generated.models.MultiTenantApplicationMetrics::|public|constructor():None +msgraph_beta.generated.models.MultiTenantApplicationMetrics::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.MultiTenantApplicationMetrics::|public|initial():MultiTenantApplicationMetricsInitial +msgraph_beta.generated.models.MultiTenantApplicationMetrics::|public|initial(value:MultiTenantApplicationMetricsInitial):None +msgraph_beta.generated.models.MultiTenantApplicationMetrics::|public|investigation_hints():list[InvestigationActionStep] +msgraph_beta.generated.models.MultiTenantApplicationMetrics::|public|investigation_hints(value:list[InvestigationActionStep]):None +msgraph_beta.generated.models.MultiTenantApplicationMetrics::|public|odata_type:str +msgraph_beta.generated.models.MultiTenantApplicationMetrics::|public|recent():MultiTenantApplicationMetricsRecent +msgraph_beta.generated.models.MultiTenantApplicationMetrics::|public|recent(value:MultiTenantApplicationMetricsRecent):None +msgraph_beta.generated.models.MultiTenantApplicationMetrics::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.MultiTenantApplicationMetrics::|static|public|create_from_discriminator_value(parse_node:ParseNode):MultiTenantApplicationMetrics +msgraph_beta.generated.models.MultiTenantApplicationMetricsBase-->Entity +msgraph_beta.generated.models.MultiTenantApplicationMetricsBase::|public|constructor():None +msgraph_beta.generated.models.MultiTenantApplicationMetricsBase::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.MultiTenantApplicationMetricsBase::|public|inbound_monthly_total_applications():float +msgraph_beta.generated.models.MultiTenantApplicationMetricsBase::|public|inbound_monthly_total_applications(value:float):None +msgraph_beta.generated.models.MultiTenantApplicationMetricsBase::|public|odata_type:str +msgraph_beta.generated.models.MultiTenantApplicationMetricsBase::|public|outbound_monthly_total_applications():float +msgraph_beta.generated.models.MultiTenantApplicationMetricsBase::|public|outbound_monthly_total_applications(value:float):None +msgraph_beta.generated.models.MultiTenantApplicationMetricsBase::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.MultiTenantApplicationMetricsBase::|public|watermark_date_time():datetime.datetime +msgraph_beta.generated.models.MultiTenantApplicationMetricsBase::|public|watermark_date_time(value:datetime.datetime):None +msgraph_beta.generated.models.MultiTenantApplicationMetricsBase::|static|public|create_from_discriminator_value(parse_node:ParseNode):MultiTenantApplicationMetricsBase +msgraph_beta.generated.models.MultiTenantApplicationMetricsInitial-->MultiTenantApplicationMetricsBase +msgraph_beta.generated.models.MultiTenantApplicationMetricsInitial::|public|constructor():None +msgraph_beta.generated.models.MultiTenantApplicationMetricsInitial::|public|created_date_time():datetime.datetime +msgraph_beta.generated.models.MultiTenantApplicationMetricsInitial::|public|created_date_time(value:datetime.datetime):None +msgraph_beta.generated.models.MultiTenantApplicationMetricsInitial::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.MultiTenantApplicationMetricsInitial::|public|odata_type:str +msgraph_beta.generated.models.MultiTenantApplicationMetricsInitial::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.MultiTenantApplicationMetricsInitial::|static|public|create_from_discriminator_value(parse_node:ParseNode):MultiTenantApplicationMetricsInitial +msgraph_beta.generated.models.MultiTenantApplicationMetricsRecent-->MultiTenantApplicationMetricsBase +msgraph_beta.generated.models.MultiTenantApplicationMetricsRecent::|public|constructor():None +msgraph_beta.generated.models.MultiTenantApplicationMetricsRecent::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.MultiTenantApplicationMetricsRecent::|public|odata_type:str +msgraph_beta.generated.models.MultiTenantApplicationMetricsRecent::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.MultiTenantApplicationMetricsRecent::|public|update_date_time():datetime.datetime +msgraph_beta.generated.models.MultiTenantApplicationMetricsRecent::|public|update_date_time(value:datetime.datetime):None +msgraph_beta.generated.models.MultiTenantApplicationMetricsRecent::|static|public|create_from_discriminator_value(parse_node:ParseNode):MultiTenantApplicationMetricsRecent +msgraph_beta.generated.models.MultiTenantApplicationsToProvision::|public|additional_data():dict[str, Any] +msgraph_beta.generated.models.MultiTenantApplicationsToProvision::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.MultiTenantApplicationsToProvision::|public|app_id():str +msgraph_beta.generated.models.MultiTenantApplicationsToProvision::|public|app_id(value:str):None +msgraph_beta.generated.models.MultiTenantApplicationsToProvision::|public|backing_store:BackingStore +msgraph_beta.generated.models.MultiTenantApplicationsToProvision::|public|constructor():None +msgraph_beta.generated.models.MultiTenantApplicationsToProvision::|public|display_name():str +msgraph_beta.generated.models.MultiTenantApplicationsToProvision::|public|display_name(value:str):None +msgraph_beta.generated.models.MultiTenantApplicationsToProvision::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.MultiTenantApplicationsToProvision::|public|object_id():str +msgraph_beta.generated.models.MultiTenantApplicationsToProvision::|public|object_id(value:str):None +msgraph_beta.generated.models.MultiTenantApplicationsToProvision::|public|odata_type():str +msgraph_beta.generated.models.MultiTenantApplicationsToProvision::|public|odata_type(value:str):None +msgraph_beta.generated.models.MultiTenantApplicationsToProvision::|public|required_resource_accesses():list[ApplicationsRequiredResourceAccess] +msgraph_beta.generated.models.MultiTenantApplicationsToProvision::|public|required_resource_accesses(value:list[ApplicationsRequiredResourceAccess]):None +msgraph_beta.generated.models.MultiTenantApplicationsToProvision::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.MultiTenantApplicationsToProvision::|static|public|create_from_discriminator_value(parse_node:ParseNode):MultiTenantApplicationsToProvision +msgraph_beta.generated.models.MultiTenantApplicationsToProvisionSnapshot::|public|additional_data():dict[str, Any] +msgraph_beta.generated.models.MultiTenantApplicationsToProvisionSnapshot::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.MultiTenantApplicationsToProvisionSnapshot::|public|app_id():str +msgraph_beta.generated.models.MultiTenantApplicationsToProvisionSnapshot::|public|app_id(value:str):None +msgraph_beta.generated.models.MultiTenantApplicationsToProvisionSnapshot::|public|backing_store:BackingStore +msgraph_beta.generated.models.MultiTenantApplicationsToProvisionSnapshot::|public|constructor():None +msgraph_beta.generated.models.MultiTenantApplicationsToProvisionSnapshot::|public|display_name():str +msgraph_beta.generated.models.MultiTenantApplicationsToProvisionSnapshot::|public|display_name(value:str):None +msgraph_beta.generated.models.MultiTenantApplicationsToProvisionSnapshot::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.MultiTenantApplicationsToProvisionSnapshot::|public|object_id():str +msgraph_beta.generated.models.MultiTenantApplicationsToProvisionSnapshot::|public|object_id(value:str):None +msgraph_beta.generated.models.MultiTenantApplicationsToProvisionSnapshot::|public|odata_type():str +msgraph_beta.generated.models.MultiTenantApplicationsToProvisionSnapshot::|public|odata_type(value:str):None +msgraph_beta.generated.models.MultiTenantApplicationsToProvisionSnapshot::|public|required_resource_accesses():list[ApplicationsRequiredResourceAccess] +msgraph_beta.generated.models.MultiTenantApplicationsToProvisionSnapshot::|public|required_resource_accesses(value:list[ApplicationsRequiredResourceAccess]):None +msgraph_beta.generated.models.MultiTenantApplicationsToProvisionSnapshot::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.MultiTenantApplicationsToProvisionSnapshot::|static|public|create_from_discriminator_value(parse_node:ParseNode):MultiTenantApplicationsToProvisionSnapshot +msgraph_beta.generated.models.MultiTenantApplicationsToProvisionSnapshot~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.MultiTenantApplicationsToProvision~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.MultiTenantOrganization-->Entity msgraph_beta.generated.models.MultiTenantOrganization::|public|constructor():None msgraph_beta.generated.models.MultiTenantOrganization::|public|created_date_time():datetime.datetime @@ -229510,6 +231440,10 @@ msgraph_beta.generated.models.NdesConnector::|public|display_name(value:str):Non msgraph_beta.generated.models.NdesConnector::|public|enrolled_date_time():datetime.datetime msgraph_beta.generated.models.NdesConnector::|public|enrolled_date_time(value:datetime.datetime):None msgraph_beta.generated.models.NdesConnector::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.NdesConnector::|public|health_checks():list[ConnectorHealthCheck] +msgraph_beta.generated.models.NdesConnector::|public|health_checks(value:list[ConnectorHealthCheck]):None +msgraph_beta.generated.models.NdesConnector::|public|health_status():NdesConnectorHealthStatus +msgraph_beta.generated.models.NdesConnector::|public|health_status(value:NdesConnectorHealthStatus):None msgraph_beta.generated.models.NdesConnector::|public|last_connection_date_time():datetime.datetime msgraph_beta.generated.models.NdesConnector::|public|last_connection_date_time(value:datetime.datetime):None msgraph_beta.generated.models.NdesConnector::|public|machine_name():str @@ -229528,6 +231462,12 @@ msgraph_beta.generated.models.NdesConnectorCollectionResponse::|public|serialize msgraph_beta.generated.models.NdesConnectorCollectionResponse::|public|value():list[NdesConnector] msgraph_beta.generated.models.NdesConnectorCollectionResponse::|public|value(value:list[NdesConnector]):None msgraph_beta.generated.models.NdesConnectorCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):NdesConnectorCollectionResponse +msgraph_beta.generated.models.NdesConnectorHealthStatus::0000-Unknown +msgraph_beta.generated.models.NdesConnectorHealthStatus::0001-NoActionRequired +msgraph_beta.generated.models.NdesConnectorHealthStatus::0002-AttentionRequired +msgraph_beta.generated.models.NdesConnectorHealthStatus::0003-ActionRequired +msgraph_beta.generated.models.NdesConnectorHealthStatus::0004-Disconnected +msgraph_beta.generated.models.NdesConnectorHealthStatus::0005-UnknownFutureValue msgraph_beta.generated.models.NdesConnectorState::0000-None_ msgraph_beta.generated.models.NdesConnectorState::0001-Active msgraph_beta.generated.models.NdesConnectorState::0002-Inactive @@ -232131,6 +234071,24 @@ msgraph_beta.generated.models.NewsLinkPage::|public|news_web_url(value:str):None msgraph_beta.generated.models.NewsLinkPage::|public|odata_type:str msgraph_beta.generated.models.NewsLinkPage::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.NewsLinkPage::|static|public|create_from_discriminator_value(parse_node:ParseNode):NewsLinkPage +msgraph_beta.generated.models.NistClassification::|public|additional_data():dict[str, Any] +msgraph_beta.generated.models.NistClassification::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.NistClassification::|public|backing_store:BackingStore +msgraph_beta.generated.models.NistClassification::|public|category():str +msgraph_beta.generated.models.NistClassification::|public|category(value:str):None +msgraph_beta.generated.models.NistClassification::|public|constructor():None +msgraph_beta.generated.models.NistClassification::|public|description():str +msgraph_beta.generated.models.NistClassification::|public|description(value:str):None +msgraph_beta.generated.models.NistClassification::|public|function():str +msgraph_beta.generated.models.NistClassification::|public|function(value:str):None +msgraph_beta.generated.models.NistClassification::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.NistClassification::|public|name():str +msgraph_beta.generated.models.NistClassification::|public|name(value:str):None +msgraph_beta.generated.models.NistClassification::|public|odata_type():str +msgraph_beta.generated.models.NistClassification::|public|odata_type(value:str):None +msgraph_beta.generated.models.NistClassification::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.NistClassification::|static|public|create_from_discriminator_value(parse_node:ParseNode):NistClassification +msgraph_beta.generated.models.NistClassification~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.NoDeviceRegistrationMembership-->DeviceRegistrationMembership msgraph_beta.generated.models.NoDeviceRegistrationMembership::|public|constructor():None msgraph_beta.generated.models.NoDeviceRegistrationMembership::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] @@ -234262,6 +236220,8 @@ msgraph_beta.generated.models.OnPremisesPublishing::|public|is_backend_certifica msgraph_beta.generated.models.OnPremisesPublishing::|public|is_backend_certificate_validation_enabled(value:bool):None msgraph_beta.generated.models.OnPremisesPublishing::|public|is_continuous_access_evaluation_enabled():bool msgraph_beta.generated.models.OnPremisesPublishing::|public|is_continuous_access_evaluation_enabled(value:bool):None +msgraph_beta.generated.models.OnPremisesPublishing::|public|is_device_access_enabled():bool +msgraph_beta.generated.models.OnPremisesPublishing::|public|is_device_access_enabled(value:bool):None msgraph_beta.generated.models.OnPremisesPublishing::|public|is_dns_resolution_enabled():bool msgraph_beta.generated.models.OnPremisesPublishing::|public|is_dns_resolution_enabled(value:bool):None msgraph_beta.generated.models.OnPremisesPublishing::|public|is_http_only_cookie_enabled():bool @@ -243512,6 +245472,20 @@ msgraph_beta.generated.models.ProvisioningSystem::|public|get_field_deserializer msgraph_beta.generated.models.ProvisioningSystem::|public|odata_type:str msgraph_beta.generated.models.ProvisioningSystem::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.ProvisioningSystem::|static|public|create_from_discriminator_value(parse_node:ParseNode):ProvisioningSystem +msgraph_beta.generated.models.ProvisionResponse::|public|additional_data():dict[str, Any] +msgraph_beta.generated.models.ProvisionResponse::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.ProvisionResponse::|public|backing_store:BackingStore +msgraph_beta.generated.models.ProvisionResponse::|public|challenge():str +msgraph_beta.generated.models.ProvisionResponse::|public|challenge(value:str):None +msgraph_beta.generated.models.ProvisionResponse::|public|constructor():None +msgraph_beta.generated.models.ProvisionResponse::|public|device_id():str +msgraph_beta.generated.models.ProvisionResponse::|public|device_id(value:str):None +msgraph_beta.generated.models.ProvisionResponse::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.ProvisionResponse::|public|odata_type():str +msgraph_beta.generated.models.ProvisionResponse::|public|odata_type(value:str):None +msgraph_beta.generated.models.ProvisionResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.ProvisionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):ProvisionResponse +msgraph_beta.generated.models.ProvisionResponse~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.ProvisionState::0000-NotProvisioned msgraph_beta.generated.models.ProvisionState::0001-ProvisioningInProgress msgraph_beta.generated.models.ProvisionState::0002-ProvisioningFailed @@ -244275,6 +246249,12 @@ msgraph_beta.generated.models.RecommendationBase::|public|benefits():str msgraph_beta.generated.models.RecommendationBase::|public|benefits(value:str):None msgraph_beta.generated.models.RecommendationBase::|public|category():RecommendationCategory msgraph_beta.generated.models.RecommendationBase::|public|category(value:RecommendationCategory):None +msgraph_beta.generated.models.RecommendationBase::|public|category_group():RecommendationCategoryGroup +msgraph_beta.generated.models.RecommendationBase::|public|category_group(value:RecommendationCategoryGroup):None +msgraph_beta.generated.models.RecommendationBase::|public|completed_by_system_date_time():datetime.datetime +msgraph_beta.generated.models.RecommendationBase::|public|completed_by_system_date_time(value:datetime.datetime):None +msgraph_beta.generated.models.RecommendationBase::|public|completed_by_user_date_time():datetime.datetime +msgraph_beta.generated.models.RecommendationBase::|public|completed_by_user_date_time(value:datetime.datetime):None msgraph_beta.generated.models.RecommendationBase::|public|constructor():None msgraph_beta.generated.models.RecommendationBase::|public|created_date_time():datetime.datetime msgraph_beta.generated.models.RecommendationBase::|public|created_date_time(value:datetime.datetime):None @@ -244282,6 +246262,8 @@ msgraph_beta.generated.models.RecommendationBase::|public|current_score():float msgraph_beta.generated.models.RecommendationBase::|public|current_score(value:float):None msgraph_beta.generated.models.RecommendationBase::|public|display_name():str msgraph_beta.generated.models.RecommendationBase::|public|display_name(value:str):None +msgraph_beta.generated.models.RecommendationBase::|public|failed_review_date_time():datetime.datetime +msgraph_beta.generated.models.RecommendationBase::|public|failed_review_date_time(value:datetime.datetime):None msgraph_beta.generated.models.RecommendationBase::|public|feature_areas():list[RecommendationFeatureAreas] msgraph_beta.generated.models.RecommendationBase::|public|feature_areas(value:list[RecommendationFeatureAreas]):None msgraph_beta.generated.models.RecommendationBase::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] @@ -244301,6 +246283,10 @@ msgraph_beta.generated.models.RecommendationBase::|public|last_modified_date_tim msgraph_beta.generated.models.RecommendationBase::|public|last_modified_date_time(value:datetime.datetime):None msgraph_beta.generated.models.RecommendationBase::|public|max_score():float msgraph_beta.generated.models.RecommendationBase::|public|max_score(value:float):None +msgraph_beta.generated.models.RecommendationBase::|public|needs_more_action_resource_count():int +msgraph_beta.generated.models.RecommendationBase::|public|needs_more_action_resource_count(value:int):None +msgraph_beta.generated.models.RecommendationBase::|public|nist_classifications():list[NistClassification] +msgraph_beta.generated.models.RecommendationBase::|public|nist_classifications(value:list[NistClassification]):None msgraph_beta.generated.models.RecommendationBase::|public|odata_type:str msgraph_beta.generated.models.RecommendationBase::|public|postpone_until_date_time():datetime.datetime msgraph_beta.generated.models.RecommendationBase::|public|postpone_until_date_time(value:datetime.datetime):None @@ -244310,6 +246296,8 @@ msgraph_beta.generated.models.RecommendationBase::|public|recommendation_type(): msgraph_beta.generated.models.RecommendationBase::|public|recommendation_type(value:RecommendationType):None msgraph_beta.generated.models.RecommendationBase::|public|release_type():str msgraph_beta.generated.models.RecommendationBase::|public|release_type(value:str):None +msgraph_beta.generated.models.RecommendationBase::|public|remediated_date_time():datetime.datetime +msgraph_beta.generated.models.RecommendationBase::|public|remediated_date_time(value:datetime.datetime):None msgraph_beta.generated.models.RecommendationBase::|public|remediation_impact():str msgraph_beta.generated.models.RecommendationBase::|public|remediation_impact(value:str):None msgraph_beta.generated.models.RecommendationBase::|public|required_licenses():RequiredLicenses @@ -244317,11 +246305,22 @@ msgraph_beta.generated.models.RecommendationBase::|public|required_licenses(valu msgraph_beta.generated.models.RecommendationBase::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.RecommendationBase::|public|status():RecommendationStatus msgraph_beta.generated.models.RecommendationBase::|public|status(value:RecommendationStatus):None +msgraph_beta.generated.models.RecommendationBase::|public|status_modified_date_time():datetime.datetime +msgraph_beta.generated.models.RecommendationBase::|public|status_modified_date_time(value:datetime.datetime):None +msgraph_beta.generated.models.RecommendationBase::|public|tags():list[RecommendationTag] +msgraph_beta.generated.models.RecommendationBase::|public|tags(value:list[RecommendationTag]):None msgraph_beta.generated.models.RecommendationBase::|static|public|create_from_discriminator_value(parse_node:ParseNode):RecommendationBase msgraph_beta.generated.models.RecommendationCategory::0000-IdentityBestPractice msgraph_beta.generated.models.RecommendationCategory::0001-IdentitySecureScore msgraph_beta.generated.models.RecommendationCategory::0002-UnknownFutureValue msgraph_beta.generated.models.RecommendationCategory::0003-MdiSecureScore +msgraph_beta.generated.models.RecommendationCategoryGroup::0000-StrengthenAuthentication +msgraph_beta.generated.models.RecommendationCategoryGroup::0001-DetectAndRespondToThreats +msgraph_beta.generated.models.RecommendationCategoryGroup::0002-EnforceLeastPrivilege +msgraph_beta.generated.models.RecommendationCategoryGroup::0003-GovernAppsCredentialsAndAgents +msgraph_beta.generated.models.RecommendationCategoryGroup::0004-HardenInfrastructure +msgraph_beta.generated.models.RecommendationCategoryGroup::0005-DefenderForIdentity +msgraph_beta.generated.models.RecommendationCategoryGroup::0006-UnknownFutureValue msgraph_beta.generated.models.RecommendationCollectionResponse-->BaseCollectionPaginationCountResponse msgraph_beta.generated.models.RecommendationCollectionResponse::|public|constructor():None msgraph_beta.generated.models.RecommendationCollectionResponse::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] @@ -244334,6 +246333,8 @@ msgraph_beta.generated.models.RecommendationConfiguration::|public|constructor() msgraph_beta.generated.models.RecommendationConfiguration::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] msgraph_beta.generated.models.RecommendationConfiguration::|public|is_notification_enabled():bool msgraph_beta.generated.models.RecommendationConfiguration::|public|is_notification_enabled(value:bool):None +msgraph_beta.generated.models.RecommendationConfiguration::|public|last_refreshed_date_time():datetime.datetime +msgraph_beta.generated.models.RecommendationConfiguration::|public|last_refreshed_date_time(value:datetime.datetime):None msgraph_beta.generated.models.RecommendationConfiguration::|public|odata_type:str msgraph_beta.generated.models.RecommendationConfiguration::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.RecommendationConfiguration::|static|public|create_from_discriminator_value(parse_node:ParseNode):RecommendationConfiguration @@ -244348,6 +246349,8 @@ msgraph_beta.generated.models.RecommendationFeatureAreas::0007-UnknownFutureValu msgraph_beta.generated.models.RecommendationPriority::0000-Low msgraph_beta.generated.models.RecommendationPriority::0001-Medium msgraph_beta.generated.models.RecommendationPriority::0002-High +msgraph_beta.generated.models.RecommendationPriority::0003-Critical +msgraph_beta.generated.models.RecommendationPriority::0004-UnknownFutureValue msgraph_beta.generated.models.RecommendationStatus::0000-Active msgraph_beta.generated.models.RecommendationStatus::0001-CompletedBySystem msgraph_beta.generated.models.RecommendationStatus::0002-CompletedByUser @@ -244358,6 +246361,22 @@ msgraph_beta.generated.models.RecommendationStatus::0006-RiskAccepted msgraph_beta.generated.models.RecommendationStatus::0007-ThirdParty msgraph_beta.generated.models.RecommendationStatus::0008-Planned msgraph_beta.generated.models.RecommendationStatus::0009-AlternateMitigation +msgraph_beta.generated.models.RecommendationStatus::0010-NeedsMoreAction +msgraph_beta.generated.models.RecommendationTag-->Entity +msgraph_beta.generated.models.RecommendationTag::|public|constructor():None +msgraph_beta.generated.models.RecommendationTag::|public|display_name():str +msgraph_beta.generated.models.RecommendationTag::|public|display_name(value:str):None +msgraph_beta.generated.models.RecommendationTag::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.RecommendationTag::|public|odata_type:str +msgraph_beta.generated.models.RecommendationTag::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.RecommendationTag::|static|public|create_from_discriminator_value(parse_node:ParseNode):RecommendationTag +msgraph_beta.generated.models.RecommendationTagCollectionResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.models.RecommendationTagCollectionResponse::|public|constructor():None +msgraph_beta.generated.models.RecommendationTagCollectionResponse::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.RecommendationTagCollectionResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.RecommendationTagCollectionResponse::|public|value():list[RecommendationTag] +msgraph_beta.generated.models.RecommendationTagCollectionResponse::|public|value(value:list[RecommendationTag]):None +msgraph_beta.generated.models.RecommendationTagCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):RecommendationTagCollectionResponse msgraph_beta.generated.models.RecommendationType::0000-AdfsAppsMigration msgraph_beta.generated.models.RecommendationType::0001-EnableDesktopSSO msgraph_beta.generated.models.RecommendationType::0002-EnablePHS @@ -245127,6 +247146,84 @@ msgraph_beta.generated.models.RelatedPerson::|public|user_principal_name():str msgraph_beta.generated.models.RelatedPerson::|public|user_principal_name(value:str):None msgraph_beta.generated.models.RelatedPerson::|static|public|create_from_discriminator_value(parse_node:ParseNode):RelatedPerson msgraph_beta.generated.models.RelatedPerson~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.RelatedTenant-->Entity +msgraph_beta.generated.models.RelatedTenant::|public|app_b2_b_sign_in_activity_metrics():B2BSignInActivityMetrics +msgraph_beta.generated.models.RelatedTenant::|public|app_b2_b_sign_in_activity_metrics(value:B2BSignInActivityMetrics):None +msgraph_beta.generated.models.RelatedTenant::|public|b2_b_registration_metrics():B2bRegistrationMetrics +msgraph_beta.generated.models.RelatedTenant::|public|b2_b_registration_metrics(value:B2bRegistrationMetrics):None +msgraph_beta.generated.models.RelatedTenant::|public|b2_b_sign_in_activity_metrics():B2BSignInActivityMetrics +msgraph_beta.generated.models.RelatedTenant::|public|b2_b_sign_in_activity_metrics(value:B2BSignInActivityMetrics):None +msgraph_beta.generated.models.RelatedTenant::|public|billing_metrics():BillingMetrics +msgraph_beta.generated.models.RelatedTenant::|public|billing_metrics(value:BillingMetrics):None +msgraph_beta.generated.models.RelatedTenant::|public|constructor():None +msgraph_beta.generated.models.RelatedTenant::|public|created_date_time():datetime.datetime +msgraph_beta.generated.models.RelatedTenant::|public|created_date_time(value:datetime.datetime):None +msgraph_beta.generated.models.RelatedTenant::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.RelatedTenant::|public|is_microsoft_infrastructure():bool +msgraph_beta.generated.models.RelatedTenant::|public|is_microsoft_infrastructure(value:bool):None +msgraph_beta.generated.models.RelatedTenant::|public|multi_tenant_application_metrics():MultiTenantApplicationMetrics +msgraph_beta.generated.models.RelatedTenant::|public|multi_tenant_application_metrics(value:MultiTenantApplicationMetrics):None +msgraph_beta.generated.models.RelatedTenant::|public|odata_type:str +msgraph_beta.generated.models.RelatedTenant::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.RelatedTenant::|static|public|create_from_discriminator_value(parse_node:ParseNode):RelatedTenant +msgraph_beta.generated.models.RelatedTenantCollectionResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.models.RelatedTenantCollectionResponse::|public|constructor():None +msgraph_beta.generated.models.RelatedTenantCollectionResponse::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.RelatedTenantCollectionResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.RelatedTenantCollectionResponse::|public|value():list[RelatedTenant] +msgraph_beta.generated.models.RelatedTenantCollectionResponse::|public|value(value:list[RelatedTenant]):None +msgraph_beta.generated.models.RelatedTenantCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):RelatedTenantCollectionResponse +msgraph_beta.generated.models.RelatedTenantsRefreshRequest-->Entity +msgraph_beta.generated.models.RelatedTenantsRefreshRequest::|public|constructor():None +msgraph_beta.generated.models.RelatedTenantsRefreshRequest::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.RelatedTenantsRefreshRequest::|public|location():str +msgraph_beta.generated.models.RelatedTenantsRefreshRequest::|public|location(value:str):None +msgraph_beta.generated.models.RelatedTenantsRefreshRequest::|public|odata_type:str +msgraph_beta.generated.models.RelatedTenantsRefreshRequest::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.RelatedTenantsRefreshRequest::|static|public|create_from_discriminator_value(parse_node:ParseNode):RelatedTenantsRefreshRequest +msgraph_beta.generated.models.RelatedTenantsRefreshStatus::|public|additional_data():dict[str, Any] +msgraph_beta.generated.models.RelatedTenantsRefreshStatus::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.RelatedTenantsRefreshStatus::|public|backing_store:BackingStore +msgraph_beta.generated.models.RelatedTenantsRefreshStatus::|public|constructor():None +msgraph_beta.generated.models.RelatedTenantsRefreshStatus::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.RelatedTenantsRefreshStatus::|public|is_first_refresh():bool +msgraph_beta.generated.models.RelatedTenantsRefreshStatus::|public|is_first_refresh(value:bool):None +msgraph_beta.generated.models.RelatedTenantsRefreshStatus::|public|most_recent_refresh_request_status():str +msgraph_beta.generated.models.RelatedTenantsRefreshStatus::|public|most_recent_refresh_request_status(value:str):None +msgraph_beta.generated.models.RelatedTenantsRefreshStatus::|public|most_recent_refresh_time():str +msgraph_beta.generated.models.RelatedTenantsRefreshStatus::|public|most_recent_refresh_time(value:str):None +msgraph_beta.generated.models.RelatedTenantsRefreshStatus::|public|odata_type():str +msgraph_beta.generated.models.RelatedTenantsRefreshStatus::|public|odata_type(value:str):None +msgraph_beta.generated.models.RelatedTenantsRefreshStatus::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.RelatedTenantsRefreshStatus::|static|public|create_from_discriminator_value(parse_node:ParseNode):RelatedTenantsRefreshStatus +msgraph_beta.generated.models.RelatedTenantsRefreshStatus~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.RelationshipCreationType::0000-ApprovedByAdmin +msgraph_beta.generated.models.RelationshipCreationType::0001-AddOnTenant +msgraph_beta.generated.models.RelationshipCreationType::0002-UnknownFutureValue +msgraph_beta.generated.models.RelationshipPolicy::|public|additional_data():dict[str, Any] +msgraph_beta.generated.models.RelationshipPolicy::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.RelationshipPolicy::|public|backing_store:BackingStore +msgraph_beta.generated.models.RelationshipPolicy::|public|constructor():None +msgraph_beta.generated.models.RelationshipPolicy::|public|delegated_administration_role_assignments():list[DelegatedAdministrationRoleAssignmentSnapshot] +msgraph_beta.generated.models.RelationshipPolicy::|public|delegated_administration_role_assignments(value:list[DelegatedAdministrationRoleAssignmentSnapshot]):None +msgraph_beta.generated.models.RelationshipPolicy::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.RelationshipPolicy::|public|governed_tenant_can_terminate():bool +msgraph_beta.generated.models.RelationshipPolicy::|public|governed_tenant_can_terminate(value:bool):None +msgraph_beta.generated.models.RelationshipPolicy::|public|multi_tenant_applications_to_provision():list[MultiTenantApplicationsToProvisionSnapshot] +msgraph_beta.generated.models.RelationshipPolicy::|public|multi_tenant_applications_to_provision(value:list[MultiTenantApplicationsToProvisionSnapshot]):None +msgraph_beta.generated.models.RelationshipPolicy::|public|odata_type():str +msgraph_beta.generated.models.RelationshipPolicy::|public|odata_type(value:str):None +msgraph_beta.generated.models.RelationshipPolicy::|public|policy_id():str +msgraph_beta.generated.models.RelationshipPolicy::|public|policy_id(value:str):None +msgraph_beta.generated.models.RelationshipPolicy::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.RelationshipPolicy::|public|version():int +msgraph_beta.generated.models.RelationshipPolicy::|public|version(value:int):None +msgraph_beta.generated.models.RelationshipPolicy::|static|public|create_from_discriminator_value(parse_node:ParseNode):RelationshipPolicy +msgraph_beta.generated.models.RelationshipPolicy~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.RelationshipStatus::0000-Active +msgraph_beta.generated.models.RelationshipStatus::0001-Terminated +msgraph_beta.generated.models.RelationshipStatus::0002-TerminationRequestedByGoverningTenant +msgraph_beta.generated.models.RelationshipStatus::0003-UnknownFutureValue msgraph_beta.generated.models.RelyingPartyDetailedSummary-->Entity msgraph_beta.generated.models.RelyingPartyDetailedSummary::|public|constructor():None msgraph_beta.generated.models.RelyingPartyDetailedSummary::|public|failed_sign_in_count():int @@ -245230,6 +247327,8 @@ msgraph_beta.generated.models.RemoteAction::0037-ChangeAssignments msgraph_beta.generated.models.RemoteAction::0038-Delete msgraph_beta.generated.models.RemoteAction::0039-SuspendManagedHomeScreen msgraph_beta.generated.models.RemoteAction::0040-RestoreManagedHomeScreen +msgraph_beta.generated.models.RemoteAction::0041-TriggerEnhancedLogCollection +msgraph_beta.generated.models.RemoteAction::0042-CancelEnhancedLogCollection msgraph_beta.generated.models.RemoteActionAudit-->Entity msgraph_beta.generated.models.RemoteActionAudit::|public|action():RemoteAction msgraph_beta.generated.models.RemoteActionAudit::|public|action(value:RemoteAction):None @@ -245680,6 +247779,10 @@ msgraph_beta.generated.models.RequestSignatureVerification::|public|odata_type(v msgraph_beta.generated.models.RequestSignatureVerification::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.RequestSignatureVerification::|static|public|create_from_discriminator_value(parse_node:ParseNode):RequestSignatureVerification msgraph_beta.generated.models.RequestSignatureVerification~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.RequestStatus::0000-Pending +msgraph_beta.generated.models.RequestStatus::0001-Accepted +msgraph_beta.generated.models.RequestStatus::0002-Rejected +msgraph_beta.generated.models.RequestStatus::0003-UnknownFutureValue msgraph_beta.generated.models.RequiredLicenses::0000-NotApplicable msgraph_beta.generated.models.RequiredLicenses::0001-MicrosoftEntraIdFree msgraph_beta.generated.models.RequiredLicenses::0002-MicrosoftEntraIdP1 @@ -245688,6 +247791,7 @@ msgraph_beta.generated.models.RequiredLicenses::0004-MicrosoftEntraIdGovernance msgraph_beta.generated.models.RequiredLicenses::0005-MicrosoftEntraWorkloadId msgraph_beta.generated.models.RequiredLicenses::0006-UnknownFutureValue msgraph_beta.generated.models.RequiredLicenses::0007-Aatp +msgraph_beta.generated.models.RequiredLicenses::0008-MicrosoftEntraSuite msgraph_beta.generated.models.RequiredPasswordType::0000-DeviceDefault msgraph_beta.generated.models.RequiredPasswordType::0001-Alphanumeric msgraph_beta.generated.models.RequiredPasswordType::0002-Numeric @@ -246406,10 +248510,14 @@ msgraph_beta.generated.models.ResultantAppStateDetail::0028-UserRejectedInstall msgraph_beta.generated.models.ResultantAppStateDetail::0029-UserIsNotLoggedIntoAppStore msgraph_beta.generated.models.ResultantAppStateDetail::0030-UntargetedSupersedingAppsDetected msgraph_beta.generated.models.ResultantAppStateDetail::0031-AppRemovedBySupersedence -msgraph_beta.generated.models.ResultantAppStateDetail::0032-SeeUninstallErrorCode -msgraph_beta.generated.models.ResultantAppStateDetail::0033-PendingReboot -msgraph_beta.generated.models.ResultantAppStateDetail::0034-InstallingDependencies -msgraph_beta.generated.models.ResultantAppStateDetail::0035-ContentDownloaded +msgraph_beta.generated.models.ResultantAppStateDetail::0032-DependencyAppInUse +msgraph_beta.generated.models.ResultantAppStateDetail::0033-SeeUninstallErrorCode +msgraph_beta.generated.models.ResultantAppStateDetail::0034-PendingReboot +msgraph_beta.generated.models.ResultantAppStateDetail::0035-InstallingDependencies +msgraph_beta.generated.models.ResultantAppStateDetail::0036-ContentDownloaded +msgraph_beta.generated.models.ResultantAppStateDetail::0037-InUse +msgraph_beta.generated.models.ResultantAppStateDetail::0038-Deferred +msgraph_beta.generated.models.ResultantAppStateDetail::0039-AutoDeferred msgraph_beta.generated.models.ResultInfo::|public|additional_data():dict[str, Any] msgraph_beta.generated.models.ResultInfo::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.models.ResultInfo::|public|backing_store:BackingStore @@ -246783,6 +248891,12 @@ msgraph_beta.generated.models.RiskyAgentCollectionResponse::|public|serialize(wr msgraph_beta.generated.models.RiskyAgentCollectionResponse::|public|value():list[RiskyAgent] msgraph_beta.generated.models.RiskyAgentCollectionResponse::|public|value(value:list[RiskyAgent]):None msgraph_beta.generated.models.RiskyAgentCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):RiskyAgentCollectionResponse +msgraph_beta.generated.models.RiskyAgentDiscoveredAgentIdentity-->RiskyAgent +msgraph_beta.generated.models.RiskyAgentDiscoveredAgentIdentity::|public|constructor():None +msgraph_beta.generated.models.RiskyAgentDiscoveredAgentIdentity::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.RiskyAgentDiscoveredAgentIdentity::|public|odata_type:str +msgraph_beta.generated.models.RiskyAgentDiscoveredAgentIdentity::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.RiskyAgentDiscoveredAgentIdentity::|static|public|create_from_discriminator_value(parse_node:ParseNode):RiskyAgentDiscoveredAgentIdentity msgraph_beta.generated.models.RiskyAgentIdentity-->RiskyAgent msgraph_beta.generated.models.RiskyAgentIdentity::|public|agent_identity():AgentIdentity msgraph_beta.generated.models.RiskyAgentIdentity::|public|agent_identity(value:AgentIdentity):None @@ -247138,6 +249252,20 @@ msgraph_beta.generated.models.RoleSuccessStatistics::|static|public|create_from_ msgraph_beta.generated.models.RoleSuccessStatistics~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.RoleSummaryStatus::0000-Ok msgraph_beta.generated.models.RoleSummaryStatus::0001-Bad +msgraph_beta.generated.models.RoleTemplate::|public|additional_data():dict[str, Any] +msgraph_beta.generated.models.RoleTemplate::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.RoleTemplate::|public|backing_store:BackingStore +msgraph_beta.generated.models.RoleTemplate::|public|constructor():None +msgraph_beta.generated.models.RoleTemplate::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.RoleTemplate::|public|id():str +msgraph_beta.generated.models.RoleTemplate::|public|id(value:str):None +msgraph_beta.generated.models.RoleTemplate::|public|name():str +msgraph_beta.generated.models.RoleTemplate::|public|name(value:str):None +msgraph_beta.generated.models.RoleTemplate::|public|odata_type():str +msgraph_beta.generated.models.RoleTemplate::|public|odata_type(value:str):None +msgraph_beta.generated.models.RoleTemplate::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.RoleTemplate::|static|public|create_from_discriminator_value(parse_node:ParseNode):RoleTemplate +msgraph_beta.generated.models.RoleTemplate~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.RoleType::0000-Active msgraph_beta.generated.models.RoleType::0001-Eligible msgraph_beta.generated.models.RoleType::0002-Application @@ -248030,6 +250158,18 @@ msgraph_beta.generated.models.SamsungEFotaFirmwareVersion::|public|security_patc msgraph_beta.generated.models.SamsungEFotaFirmwareVersion::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.SamsungEFotaFirmwareVersion::|static|public|create_from_discriminator_value(parse_node:ParseNode):SamsungEFotaFirmwareVersion msgraph_beta.generated.models.SamsungEFotaFirmwareVersion~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.SapAssignmentRequestCallbackData-->CustomExtensionData +msgraph_beta.generated.models.SapAssignmentRequestCallbackData::|public|constructor():None +msgraph_beta.generated.models.SapAssignmentRequestCallbackData::|public|detail():str +msgraph_beta.generated.models.SapAssignmentRequestCallbackData::|public|detail(value:str):None +msgraph_beta.generated.models.SapAssignmentRequestCallbackData::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.SapAssignmentRequestCallbackData::|public|odata_type:str +msgraph_beta.generated.models.SapAssignmentRequestCallbackData::|public|request_number():str +msgraph_beta.generated.models.SapAssignmentRequestCallbackData::|public|request_number(value:str):None +msgraph_beta.generated.models.SapAssignmentRequestCallbackData::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.SapAssignmentRequestCallbackData::|public|state():str +msgraph_beta.generated.models.SapAssignmentRequestCallbackData::|public|state(value:str):None +msgraph_beta.generated.models.SapAssignmentRequestCallbackData::|static|public|create_from_discriminator_value(parse_node:ParseNode):SapAssignmentRequestCallbackData msgraph_beta.generated.models.Schedule-->Entity msgraph_beta.generated.models.Schedule::|public|activities_included_when_copying_shifts_enabled():bool msgraph_beta.generated.models.Schedule::|public|activities_included_when_copying_shifts_enabled(value:bool):None @@ -252385,6 +254525,36 @@ msgraph_beta.generated.models.security.CortanaBriefingAuditRecord::|public|get_f msgraph_beta.generated.models.security.CortanaBriefingAuditRecord::|public|odata_type:str msgraph_beta.generated.models.security.CortanaBriefingAuditRecord::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.security.CortanaBriefingAuditRecord::|static|public|create_from_discriminator_value(parse_node:ParseNode):CortanaBriefingAuditRecord +msgraph_beta.generated.models.security.CreateAlertInput::|public|additional_data():dict[str, Any] +msgraph_beta.generated.models.security.CreateAlertInput::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.security.CreateAlertInput::|public|backing_store:BackingStore +msgraph_beta.generated.models.security.CreateAlertInput::|public|category():str +msgraph_beta.generated.models.security.CreateAlertInput::|public|category(value:str):None +msgraph_beta.generated.models.security.CreateAlertInput::|public|constructor():None +msgraph_beta.generated.models.security.CreateAlertInput::|public|description():str +msgraph_beta.generated.models.security.CreateAlertInput::|public|description(value:str):None +msgraph_beta.generated.models.security.CreateAlertInput::|public|entity_definitions():list[EntityDefinition] +msgraph_beta.generated.models.security.CreateAlertInput::|public|entity_definitions(value:list[EntityDefinition]):None +msgraph_beta.generated.models.security.CreateAlertInput::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.security.CreateAlertInput::|public|is_excluded_from_correlation():bool +msgraph_beta.generated.models.security.CreateAlertInput::|public|is_excluded_from_correlation(value:bool):None +msgraph_beta.generated.models.security.CreateAlertInput::|public|link_to_incident():int +msgraph_beta.generated.models.security.CreateAlertInput::|public|link_to_incident(value:int):None +msgraph_beta.generated.models.security.CreateAlertInput::|public|mitre_techniques():list[str] +msgraph_beta.generated.models.security.CreateAlertInput::|public|mitre_techniques(value:list[str]):None +msgraph_beta.generated.models.security.CreateAlertInput::|public|odata_type():str +msgraph_beta.generated.models.security.CreateAlertInput::|public|odata_type(value:str):None +msgraph_beta.generated.models.security.CreateAlertInput::|public|recommended_actions():str +msgraph_beta.generated.models.security.CreateAlertInput::|public|recommended_actions(value:str):None +msgraph_beta.generated.models.security.CreateAlertInput::|public|sentinel_workspace():str +msgraph_beta.generated.models.security.CreateAlertInput::|public|sentinel_workspace(value:str):None +msgraph_beta.generated.models.security.CreateAlertInput::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.security.CreateAlertInput::|public|severity():AlertSeverity +msgraph_beta.generated.models.security.CreateAlertInput::|public|severity(value:AlertSeverity):None +msgraph_beta.generated.models.security.CreateAlertInput::|public|title():str +msgraph_beta.generated.models.security.CreateAlertInput::|public|title(value:str):None +msgraph_beta.generated.models.security.CreateAlertInput::|static|public|create_from_discriminator_value(parse_node:ParseNode):CreateAlertInput +msgraph_beta.generated.models.security.CreateAlertInput~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.security.CriticalAssetManagementClassificationRecord-->AuditData msgraph_beta.generated.models.security.CriticalAssetManagementClassificationRecord::|public|constructor():None msgraph_beta.generated.models.security.CriticalAssetManagementClassificationRecord::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] @@ -254338,6 +256508,23 @@ msgraph_beta.generated.models.security.EndpointDiscoveredCloudAppDetail::|public msgraph_beta.generated.models.security.EndpointDiscoveredCloudAppDetail::|public|odata_type:str msgraph_beta.generated.models.security.EndpointDiscoveredCloudAppDetail::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.security.EndpointDiscoveredCloudAppDetail::|static|public|create_from_discriminator_value(parse_node:ParseNode):EndpointDiscoveredCloudAppDetail +msgraph_beta.generated.models.security.EntityDefinition::|public|additional_data():dict[str, Any] +msgraph_beta.generated.models.security.EntityDefinition::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.security.EntityDefinition::|public|backing_store:BackingStore +msgraph_beta.generated.models.security.EntityDefinition::|public|constructor():None +msgraph_beta.generated.models.security.EntityDefinition::|public|entity_identifier():str +msgraph_beta.generated.models.security.EntityDefinition::|public|entity_identifier(value:str):None +msgraph_beta.generated.models.security.EntityDefinition::|public|entity_type():ManualAlertEntityType +msgraph_beta.generated.models.security.EntityDefinition::|public|entity_type(value:ManualAlertEntityType):None +msgraph_beta.generated.models.security.EntityDefinition::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.security.EntityDefinition::|public|identifier_value():str +msgraph_beta.generated.models.security.EntityDefinition::|public|identifier_value(value:str):None +msgraph_beta.generated.models.security.EntityDefinition::|public|odata_type():str +msgraph_beta.generated.models.security.EntityDefinition::|public|odata_type(value:str):None +msgraph_beta.generated.models.security.EntityDefinition::|public|role():EntityDefinitionInputRole +msgraph_beta.generated.models.security.EntityDefinition::|public|role(value:EntityDefinitionInputRole):None +msgraph_beta.generated.models.security.EntityDefinition::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.security.EntityDefinition::|static|public|create_from_discriminator_value(parse_node:ParseNode):EntityDefinition msgraph_beta.generated.models.security.EntityDefinitionInput::|public|additional_data():dict[str, Any] msgraph_beta.generated.models.security.EntityDefinitionInput::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.models.security.EntityDefinitionInput::|public|backing_store:BackingStore @@ -254359,6 +256546,7 @@ msgraph_beta.generated.models.security.EntityDefinitionInputRole::0000-Impacted msgraph_beta.generated.models.security.EntityDefinitionInputRole::0001-Related msgraph_beta.generated.models.security.EntityDefinitionInputRole::0002-UnknownFutureValue msgraph_beta.generated.models.security.EntityDefinitionInput~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.security.EntityDefinition~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.security.EntityMapping::|public|additional_data():dict[str, Any] msgraph_beta.generated.models.security.EntityMapping::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.models.security.EntityMapping::|public|backing_store:BackingStore @@ -261657,6 +263845,8 @@ msgraph_beta.generated.models.ServicePrincipal::|public|key_credentials():list[K msgraph_beta.generated.models.ServicePrincipal::|public|key_credentials(value:list[KeyCredential]):None msgraph_beta.generated.models.ServicePrincipal::|public|license_details():list[LicenseDetails] msgraph_beta.generated.models.ServicePrincipal::|public|license_details(value:list[LicenseDetails]):None +msgraph_beta.generated.models.ServicePrincipal::|public|lifecycle():IdentityLifecycle +msgraph_beta.generated.models.ServicePrincipal::|public|lifecycle(value:IdentityLifecycle):None msgraph_beta.generated.models.ServicePrincipal::|public|login_url():str msgraph_beta.generated.models.ServicePrincipal::|public|login_url(value:str):None msgraph_beta.generated.models.ServicePrincipal::|public|logout_url():str @@ -268604,570 +270794,63 @@ msgraph_beta.generated.models.TenantDataSecurityAndGovernance::|public|protectio msgraph_beta.generated.models.TenantDataSecurityAndGovernance::|public|protection_scopes(value:TenantProtectionScopeContainer):None msgraph_beta.generated.models.TenantDataSecurityAndGovernance::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.TenantDataSecurityAndGovernance::|static|public|create_from_discriminator_value(parse_node:ParseNode):TenantDataSecurityAndGovernance -msgraph_beta.generated.models.tenantGovernanceServices.ActionStep::|public|action_url():ActionUrl -msgraph_beta.generated.models.tenantGovernanceServices.ActionStep::|public|action_url(value:ActionUrl):None -msgraph_beta.generated.models.tenantGovernanceServices.ActionStep::|public|additional_data():dict[str, Any] -msgraph_beta.generated.models.tenantGovernanceServices.ActionStep::|public|additional_data(value:dict[str, Any]):None -msgraph_beta.generated.models.tenantGovernanceServices.ActionStep::|public|backing_store:BackingStore -msgraph_beta.generated.models.tenantGovernanceServices.ActionStep::|public|constructor():None -msgraph_beta.generated.models.tenantGovernanceServices.ActionStep::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.tenantGovernanceServices.ActionStep::|public|odata_type():str -msgraph_beta.generated.models.tenantGovernanceServices.ActionStep::|public|odata_type(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.ActionStep::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.tenantGovernanceServices.ActionStep::|public|step_number():str -msgraph_beta.generated.models.tenantGovernanceServices.ActionStep::|public|step_number(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.ActionStep::|public|text():str -msgraph_beta.generated.models.tenantGovernanceServices.ActionStep::|public|text(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.ActionStep::|static|public|create_from_discriminator_value(parse_node:ParseNode):ActionStep -msgraph_beta.generated.models.tenantGovernanceServices.ActionStep~~>AdditionalDataHolder; BackedModel; Parsable -msgraph_beta.generated.models.tenantGovernanceServices.ActionUrl::|public|additional_data():dict[str, Any] -msgraph_beta.generated.models.tenantGovernanceServices.ActionUrl::|public|additional_data(value:dict[str, Any]):None -msgraph_beta.generated.models.tenantGovernanceServices.ActionUrl::|public|backing_store:BackingStore -msgraph_beta.generated.models.tenantGovernanceServices.ActionUrl::|public|constructor():None -msgraph_beta.generated.models.tenantGovernanceServices.ActionUrl::|public|display_name():str -msgraph_beta.generated.models.tenantGovernanceServices.ActionUrl::|public|display_name(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.ActionUrl::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.tenantGovernanceServices.ActionUrl::|public|odata_type():str -msgraph_beta.generated.models.tenantGovernanceServices.ActionUrl::|public|odata_type(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.ActionUrl::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.tenantGovernanceServices.ActionUrl::|public|url():str -msgraph_beta.generated.models.tenantGovernanceServices.ActionUrl::|public|url(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.ActionUrl::|static|public|create_from_discriminator_value(parse_node:ParseNode):ActionUrl -msgraph_beta.generated.models.tenantGovernanceServices.ActionUrl~~>AdditionalDataHolder; BackedModel; Parsable -msgraph_beta.generated.models.tenantGovernanceServices.B2bRegistrationMetrics-->Entity -msgraph_beta.generated.models.tenantGovernanceServices.B2bRegistrationMetrics::|public|constructor():None -msgraph_beta.generated.models.tenantGovernanceServices.B2bRegistrationMetrics::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.tenantGovernanceServices.B2bRegistrationMetrics::|public|initial():B2BRegistrationMetricsInitial -msgraph_beta.generated.models.tenantGovernanceServices.B2bRegistrationMetrics::|public|initial(value:B2BRegistrationMetricsInitial):None -msgraph_beta.generated.models.tenantGovernanceServices.B2bRegistrationMetrics::|public|investigation_hints():list[ActionStep] -msgraph_beta.generated.models.tenantGovernanceServices.B2bRegistrationMetrics::|public|investigation_hints(value:list[ActionStep]):None -msgraph_beta.generated.models.tenantGovernanceServices.B2bRegistrationMetrics::|public|odata_type:str -msgraph_beta.generated.models.tenantGovernanceServices.B2bRegistrationMetrics::|public|recent():B2BRegistrationMetricsRecent -msgraph_beta.generated.models.tenantGovernanceServices.B2bRegistrationMetrics::|public|recent(value:B2BRegistrationMetricsRecent):None -msgraph_beta.generated.models.tenantGovernanceServices.B2bRegistrationMetrics::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.tenantGovernanceServices.B2bRegistrationMetrics::|static|public|create_from_discriminator_value(parse_node:ParseNode):B2bRegistrationMetrics -msgraph_beta.generated.models.tenantGovernanceServices.B2BRegistrationMetricsBase-->Entity -msgraph_beta.generated.models.tenantGovernanceServices.B2BRegistrationMetricsBase::|public|constructor():None -msgraph_beta.generated.models.tenantGovernanceServices.B2BRegistrationMetricsBase::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.tenantGovernanceServices.B2BRegistrationMetricsBase::|public|inbound_total_users():float -msgraph_beta.generated.models.tenantGovernanceServices.B2BRegistrationMetricsBase::|public|inbound_total_users(value:float):None -msgraph_beta.generated.models.tenantGovernanceServices.B2BRegistrationMetricsBase::|public|odata_type:str -msgraph_beta.generated.models.tenantGovernanceServices.B2BRegistrationMetricsBase::|public|outbound_total_users():float -msgraph_beta.generated.models.tenantGovernanceServices.B2BRegistrationMetricsBase::|public|outbound_total_users(value:float):None -msgraph_beta.generated.models.tenantGovernanceServices.B2BRegistrationMetricsBase::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.tenantGovernanceServices.B2BRegistrationMetricsBase::|public|watermark_date_time():datetime.datetime -msgraph_beta.generated.models.tenantGovernanceServices.B2BRegistrationMetricsBase::|public|watermark_date_time(value:datetime.datetime):None -msgraph_beta.generated.models.tenantGovernanceServices.B2BRegistrationMetricsBase::|static|public|create_from_discriminator_value(parse_node:ParseNode):B2BRegistrationMetricsBase -msgraph_beta.generated.models.tenantGovernanceServices.B2BRegistrationMetricsInitial-->B2BRegistrationMetricsBase -msgraph_beta.generated.models.tenantGovernanceServices.B2BRegistrationMetricsInitial::|public|constructor():None -msgraph_beta.generated.models.tenantGovernanceServices.B2BRegistrationMetricsInitial::|public|created_date_time():datetime.datetime -msgraph_beta.generated.models.tenantGovernanceServices.B2BRegistrationMetricsInitial::|public|created_date_time(value:datetime.datetime):None -msgraph_beta.generated.models.tenantGovernanceServices.B2BRegistrationMetricsInitial::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.tenantGovernanceServices.B2BRegistrationMetricsInitial::|public|odata_type:str -msgraph_beta.generated.models.tenantGovernanceServices.B2BRegistrationMetricsInitial::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.tenantGovernanceServices.B2BRegistrationMetricsInitial::|static|public|create_from_discriminator_value(parse_node:ParseNode):B2BRegistrationMetricsInitial -msgraph_beta.generated.models.tenantGovernanceServices.B2BRegistrationMetricsRecent-->B2BRegistrationMetricsBase -msgraph_beta.generated.models.tenantGovernanceServices.B2BRegistrationMetricsRecent::|public|constructor():None -msgraph_beta.generated.models.tenantGovernanceServices.B2BRegistrationMetricsRecent::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.tenantGovernanceServices.B2BRegistrationMetricsRecent::|public|odata_type:str -msgraph_beta.generated.models.tenantGovernanceServices.B2BRegistrationMetricsRecent::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.tenantGovernanceServices.B2BRegistrationMetricsRecent::|public|update_date_time():datetime.datetime -msgraph_beta.generated.models.tenantGovernanceServices.B2BRegistrationMetricsRecent::|public|update_date_time(value:datetime.datetime):None -msgraph_beta.generated.models.tenantGovernanceServices.B2BRegistrationMetricsRecent::|static|public|create_from_discriminator_value(parse_node:ParseNode):B2BRegistrationMetricsRecent -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetrics-->Entity -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetrics::|public|constructor():None -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetrics::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetrics::|public|initial():B2BSignInActivityMetricsInitial -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetrics::|public|initial(value:B2BSignInActivityMetricsInitial):None -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetrics::|public|investigation_hints():list[ActionStep] -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetrics::|public|investigation_hints(value:list[ActionStep]):None -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetrics::|public|odata_type:str -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetrics::|public|recent():B2BSignInActivityMetricsRecent -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetrics::|public|recent(value:B2BSignInActivityMetricsRecent):None -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetrics::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetrics::|static|public|create_from_discriminator_value(parse_node:ParseNode):B2BSignInActivityMetrics -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetricsBase-->Entity -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetricsBase::|public|constructor():None -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetricsBase::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetricsBase::|public|inbound_monthly_total_applications():float -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetricsBase::|public|inbound_monthly_total_applications(value:float):None -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetricsBase::|public|inbound_monthly_total_users():float -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetricsBase::|public|inbound_monthly_total_users(value:float):None -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetricsBase::|public|odata_type:str -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetricsBase::|public|outbound_monthly_total_applications():float -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetricsBase::|public|outbound_monthly_total_applications(value:float):None -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetricsBase::|public|outbound_monthly_total_users():float -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetricsBase::|public|outbound_monthly_total_users(value:float):None -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetricsBase::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetricsBase::|public|watermark_date_time():datetime.datetime -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetricsBase::|public|watermark_date_time(value:datetime.datetime):None -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetricsBase::|static|public|create_from_discriminator_value(parse_node:ParseNode):B2BSignInActivityMetricsBase -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetricsInitial-->B2BSignInActivityMetricsBase -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetricsInitial::|public|constructor():None -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetricsInitial::|public|created_date_time():datetime.datetime -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetricsInitial::|public|created_date_time(value:datetime.datetime):None -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetricsInitial::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetricsInitial::|public|odata_type:str -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetricsInitial::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetricsInitial::|static|public|create_from_discriminator_value(parse_node:ParseNode):B2BSignInActivityMetricsInitial -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetricsRecent-->B2BSignInActivityMetricsBase -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetricsRecent::|public|constructor():None -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetricsRecent::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetricsRecent::|public|odata_type:str -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetricsRecent::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetricsRecent::|public|update_date_time():datetime.datetime -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetricsRecent::|public|update_date_time(value:datetime.datetime):None -msgraph_beta.generated.models.tenantGovernanceServices.B2BSignInActivityMetricsRecent::|static|public|create_from_discriminator_value(parse_node:ParseNode):B2BSignInActivityMetricsRecent -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetrics-->Entity -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetrics::|public|constructor():None -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetrics::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetrics::|public|initial():BillingMetricsInitial -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetrics::|public|initial(value:BillingMetricsInitial):None -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetrics::|public|investigation_hints():list[ActionStep] -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetrics::|public|investigation_hints(value:list[ActionStep]):None -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetrics::|public|odata_type:str -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetrics::|public|recent():BillingMetricsRecent -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetrics::|public|recent(value:BillingMetricsRecent):None -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetrics::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetrics::|static|public|create_from_discriminator_value(parse_node:ParseNode):BillingMetrics -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetricsBase-->Entity -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetricsBase::|public|constructor():None -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetricsBase::|public|foreign_associated_tenant_billing_management_active_count():float -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetricsBase::|public|foreign_associated_tenant_billing_management_active_count(value:float):None -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetricsBase::|public|foreign_associated_tenant_count():float -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetricsBase::|public|foreign_associated_tenant_count(value:float):None -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetricsBase::|public|foreign_associated_tenant_provisioning_active_count():float -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetricsBase::|public|foreign_associated_tenant_provisioning_active_count(value:float):None -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetricsBase::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetricsBase::|public|local_associated_tenant_billing_management_active_count():float -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetricsBase::|public|local_associated_tenant_billing_management_active_count(value:float):None -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetricsBase::|public|local_associated_tenant_count():float -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetricsBase::|public|local_associated_tenant_count(value:float):None -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetricsBase::|public|local_associated_tenant_ids():list[str] -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetricsBase::|public|local_associated_tenant_ids(value:list[str]):None -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetricsBase::|public|local_associated_tenant_provisioning_active_count():float -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetricsBase::|public|local_associated_tenant_provisioning_active_count(value:float):None -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetricsBase::|public|odata_type:str -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetricsBase::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetricsBase::|public|watermark_date_time():datetime.datetime -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetricsBase::|public|watermark_date_time(value:datetime.datetime):None -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetricsBase::|static|public|create_from_discriminator_value(parse_node:ParseNode):BillingMetricsBase -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetricsInitial-->BillingMetricsBase -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetricsInitial::|public|constructor():None -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetricsInitial::|public|created_date_time():datetime.datetime -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetricsInitial::|public|created_date_time(value:datetime.datetime):None -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetricsInitial::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetricsInitial::|public|odata_type:str -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetricsInitial::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetricsInitial::|static|public|create_from_discriminator_value(parse_node:ParseNode):BillingMetricsInitial -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetricsRecent-->BillingMetricsBase -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetricsRecent::|public|constructor():None -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetricsRecent::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetricsRecent::|public|odata_type:str -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetricsRecent::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetricsRecent::|public|update_date_time():datetime.datetime -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetricsRecent::|public|update_date_time(value:datetime.datetime):None -msgraph_beta.generated.models.tenantGovernanceServices.BillingMetricsRecent::|static|public|create_from_discriminator_value(parse_node:ParseNode):BillingMetricsRecent -msgraph_beta.generated.models.tenantGovernanceServices.DelegatedAdministrationRoleAssignment::|public|additional_data():dict[str, Any] -msgraph_beta.generated.models.tenantGovernanceServices.DelegatedAdministrationRoleAssignment::|public|additional_data(value:dict[str, Any]):None -msgraph_beta.generated.models.tenantGovernanceServices.DelegatedAdministrationRoleAssignment::|public|backing_store:BackingStore -msgraph_beta.generated.models.tenantGovernanceServices.DelegatedAdministrationRoleAssignment::|public|constructor():None -msgraph_beta.generated.models.tenantGovernanceServices.DelegatedAdministrationRoleAssignment::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.tenantGovernanceServices.DelegatedAdministrationRoleAssignment::|public|group():Group -msgraph_beta.generated.models.tenantGovernanceServices.DelegatedAdministrationRoleAssignment::|public|group(value:Group):None -msgraph_beta.generated.models.tenantGovernanceServices.DelegatedAdministrationRoleAssignment::|public|group_display_name():str -msgraph_beta.generated.models.tenantGovernanceServices.DelegatedAdministrationRoleAssignment::|public|group_display_name(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.DelegatedAdministrationRoleAssignment::|public|odata_type():str -msgraph_beta.generated.models.tenantGovernanceServices.DelegatedAdministrationRoleAssignment::|public|odata_type(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.DelegatedAdministrationRoleAssignment::|public|role_templates():list[RoleTemplate] -msgraph_beta.generated.models.tenantGovernanceServices.DelegatedAdministrationRoleAssignment::|public|role_templates(value:list[RoleTemplate]):None -msgraph_beta.generated.models.tenantGovernanceServices.DelegatedAdministrationRoleAssignment::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.tenantGovernanceServices.DelegatedAdministrationRoleAssignment::|static|public|create_from_discriminator_value(parse_node:ParseNode):DelegatedAdministrationRoleAssignment -msgraph_beta.generated.models.tenantGovernanceServices.DelegatedAdministrationRoleAssignmentSnapshot::|public|additional_data():dict[str, Any] -msgraph_beta.generated.models.tenantGovernanceServices.DelegatedAdministrationRoleAssignmentSnapshot::|public|additional_data(value:dict[str, Any]):None -msgraph_beta.generated.models.tenantGovernanceServices.DelegatedAdministrationRoleAssignmentSnapshot::|public|backing_store:BackingStore -msgraph_beta.generated.models.tenantGovernanceServices.DelegatedAdministrationRoleAssignmentSnapshot::|public|constructor():None -msgraph_beta.generated.models.tenantGovernanceServices.DelegatedAdministrationRoleAssignmentSnapshot::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.tenantGovernanceServices.DelegatedAdministrationRoleAssignmentSnapshot::|public|group_display_name():str -msgraph_beta.generated.models.tenantGovernanceServices.DelegatedAdministrationRoleAssignmentSnapshot::|public|group_display_name(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.DelegatedAdministrationRoleAssignmentSnapshot::|public|group_id():str -msgraph_beta.generated.models.tenantGovernanceServices.DelegatedAdministrationRoleAssignmentSnapshot::|public|group_id(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.DelegatedAdministrationRoleAssignmentSnapshot::|public|odata_type():str -msgraph_beta.generated.models.tenantGovernanceServices.DelegatedAdministrationRoleAssignmentSnapshot::|public|odata_type(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.DelegatedAdministrationRoleAssignmentSnapshot::|public|role_templates():list[RoleTemplate] -msgraph_beta.generated.models.tenantGovernanceServices.DelegatedAdministrationRoleAssignmentSnapshot::|public|role_templates(value:list[RoleTemplate]):None -msgraph_beta.generated.models.tenantGovernanceServices.DelegatedAdministrationRoleAssignmentSnapshot::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.tenantGovernanceServices.DelegatedAdministrationRoleAssignmentSnapshot::|static|public|create_from_discriminator_value(parse_node:ParseNode):DelegatedAdministrationRoleAssignmentSnapshot -msgraph_beta.generated.models.tenantGovernanceServices.DelegatedAdministrationRoleAssignmentSnapshot~~>AdditionalDataHolder; BackedModel; Parsable -msgraph_beta.generated.models.tenantGovernanceServices.DelegatedAdministrationRoleAssignment~~>AdditionalDataHolder; BackedModel; Parsable -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceInvitation-->Entity -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceInvitation::|public|constructor():None -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceInvitation::|public|created_date_time():datetime.datetime -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceInvitation::|public|created_date_time(value:datetime.datetime):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceInvitation::|public|expiration_date_time():datetime.datetime -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceInvitation::|public|expiration_date_time(value:datetime.datetime):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceInvitation::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceInvitation::|public|governed_tenant_id():str -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceInvitation::|public|governed_tenant_id(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceInvitation::|public|governed_tenant_name():str -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceInvitation::|public|governed_tenant_name(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceInvitation::|public|governing_tenant_id():str -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceInvitation::|public|governing_tenant_id(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceInvitation::|public|governing_tenant_name():str -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceInvitation::|public|governing_tenant_name(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceInvitation::|public|odata_type:str -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceInvitation::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceInvitation::|static|public|create_from_discriminator_value(parse_node:ParseNode):GovernanceInvitation -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceInvitationCollectionResponse-->BaseCollectionPaginationCountResponse -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceInvitationCollectionResponse::|public|constructor():None -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceInvitationCollectionResponse::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceInvitationCollectionResponse::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceInvitationCollectionResponse::|public|value():list[GovernanceInvitation] -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceInvitationCollectionResponse::|public|value(value:list[GovernanceInvitation]):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceInvitationCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):GovernanceInvitationCollectionResponse -msgraph_beta.generated.models.tenantGovernanceServices.GovernancePolicyTemplate-->Entity -msgraph_beta.generated.models.tenantGovernanceServices.GovernancePolicyTemplate::|public|constructor():None -msgraph_beta.generated.models.tenantGovernanceServices.GovernancePolicyTemplate::|public|created_date_time():datetime.datetime -msgraph_beta.generated.models.tenantGovernanceServices.GovernancePolicyTemplate::|public|created_date_time(value:datetime.datetime):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernancePolicyTemplate::|public|delegated_administration_role_assignments():list[DelegatedAdministrationRoleAssignment] -msgraph_beta.generated.models.tenantGovernanceServices.GovernancePolicyTemplate::|public|delegated_administration_role_assignments(value:list[DelegatedAdministrationRoleAssignment]):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernancePolicyTemplate::|public|description():str -msgraph_beta.generated.models.tenantGovernanceServices.GovernancePolicyTemplate::|public|description(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernancePolicyTemplate::|public|display_name():str -msgraph_beta.generated.models.tenantGovernanceServices.GovernancePolicyTemplate::|public|display_name(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernancePolicyTemplate::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.tenantGovernanceServices.GovernancePolicyTemplate::|public|governed_tenant_can_terminate():bool -msgraph_beta.generated.models.tenantGovernanceServices.GovernancePolicyTemplate::|public|governed_tenant_can_terminate(value:bool):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernancePolicyTemplate::|public|last_modified_date_time():datetime.datetime -msgraph_beta.generated.models.tenantGovernanceServices.GovernancePolicyTemplate::|public|last_modified_date_time(value:datetime.datetime):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernancePolicyTemplate::|public|multi_tenant_applications_to_provision():list[MultiTenantApplicationsToProvision] -msgraph_beta.generated.models.tenantGovernanceServices.GovernancePolicyTemplate::|public|multi_tenant_applications_to_provision(value:list[MultiTenantApplicationsToProvision]):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernancePolicyTemplate::|public|odata_type:str -msgraph_beta.generated.models.tenantGovernanceServices.GovernancePolicyTemplate::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernancePolicyTemplate::|public|version():str -msgraph_beta.generated.models.tenantGovernanceServices.GovernancePolicyTemplate::|public|version(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernancePolicyTemplate::|static|public|create_from_discriminator_value(parse_node:ParseNode):GovernancePolicyTemplate -msgraph_beta.generated.models.tenantGovernanceServices.GovernancePolicyTemplateCollectionResponse-->BaseCollectionPaginationCountResponse -msgraph_beta.generated.models.tenantGovernanceServices.GovernancePolicyTemplateCollectionResponse::|public|constructor():None -msgraph_beta.generated.models.tenantGovernanceServices.GovernancePolicyTemplateCollectionResponse::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.tenantGovernanceServices.GovernancePolicyTemplateCollectionResponse::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernancePolicyTemplateCollectionResponse::|public|value():list[GovernancePolicyTemplate] -msgraph_beta.generated.models.tenantGovernanceServices.GovernancePolicyTemplateCollectionResponse::|public|value(value:list[GovernancePolicyTemplate]):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernancePolicyTemplateCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):GovernancePolicyTemplateCollectionResponse -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRelationship-->Entity -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRelationship::|public|constructor():None -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRelationship::|public|created_type():RelationshipCreationType -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRelationship::|public|created_type(value:RelationshipCreationType):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRelationship::|public|creation_date_time():datetime.datetime -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRelationship::|public|creation_date_time(value:datetime.datetime):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRelationship::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRelationship::|public|governed_tenant_id():str -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRelationship::|public|governed_tenant_id(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRelationship::|public|governed_tenant_name():str -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRelationship::|public|governed_tenant_name(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRelationship::|public|governing_tenant_id():str -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRelationship::|public|governing_tenant_id(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRelationship::|public|governing_tenant_name():str -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRelationship::|public|governing_tenant_name(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRelationship::|public|odata_type:str -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRelationship::|public|policy_snapshot():RelationshipPolicy -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRelationship::|public|policy_snapshot(value:RelationshipPolicy):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRelationship::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRelationship::|public|status():RelationshipStatus -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRelationship::|public|status(value:RelationshipStatus):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRelationship::|static|public|create_from_discriminator_value(parse_node:ParseNode):GovernanceRelationship -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRelationshipCollectionResponse-->BaseCollectionPaginationCountResponse -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRelationshipCollectionResponse::|public|constructor():None -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRelationshipCollectionResponse::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRelationshipCollectionResponse::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRelationshipCollectionResponse::|public|value():list[GovernanceRelationship] -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRelationshipCollectionResponse::|public|value(value:list[GovernanceRelationship]):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRelationshipCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):GovernanceRelationshipCollectionResponse -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRequest-->Entity -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRequest::|public|constructor():None -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRequest::|public|expiration_date_time():datetime.datetime -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRequest::|public|expiration_date_time(value:datetime.datetime):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRequest::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRequest::|public|governance_policy_template():GovernancePolicyTemplate -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRequest::|public|governance_policy_template(value:GovernancePolicyTemplate):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRequest::|public|governed_tenant_id():str -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRequest::|public|governed_tenant_id(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRequest::|public|governed_tenant_name():str -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRequest::|public|governed_tenant_name(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRequest::|public|governing_tenant_id():str -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRequest::|public|governing_tenant_id(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRequest::|public|governing_tenant_name():str -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRequest::|public|governing_tenant_name(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRequest::|public|odata_type:str -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRequest::|public|policy_snapshot():RelationshipPolicy -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRequest::|public|policy_snapshot(value:RelationshipPolicy):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRequest::|public|request_date_time():datetime.datetime -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRequest::|public|request_date_time(value:datetime.datetime):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRequest::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRequest::|public|status():RequestStatus -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRequest::|public|status(value:RequestStatus):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRequest::|static|public|create_from_discriminator_value(parse_node:ParseNode):GovernanceRequest -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRequestCollectionResponse-->BaseCollectionPaginationCountResponse -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRequestCollectionResponse::|public|constructor():None -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRequestCollectionResponse::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRequestCollectionResponse::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRequestCollectionResponse::|public|value():list[GovernanceRequest] -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRequestCollectionResponse::|public|value(value:list[GovernanceRequest]):None -msgraph_beta.generated.models.tenantGovernanceServices.GovernanceRequestCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):GovernanceRequestCollectionResponse -msgraph_beta.generated.models.tenantGovernanceServices.LongRunningOperation-->Entity -msgraph_beta.generated.models.tenantGovernanceServices.LongRunningOperation::|public|constructor():None -msgraph_beta.generated.models.tenantGovernanceServices.LongRunningOperation::|public|created_date_time():datetime.datetime -msgraph_beta.generated.models.tenantGovernanceServices.LongRunningOperation::|public|created_date_time(value:datetime.datetime):None -msgraph_beta.generated.models.tenantGovernanceServices.LongRunningOperation::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.tenantGovernanceServices.LongRunningOperation::|public|last_action_date_time():datetime.datetime -msgraph_beta.generated.models.tenantGovernanceServices.LongRunningOperation::|public|last_action_date_time(value:datetime.datetime):None -msgraph_beta.generated.models.tenantGovernanceServices.LongRunningOperation::|public|odata_type:str -msgraph_beta.generated.models.tenantGovernanceServices.LongRunningOperation::|public|resource_location():str -msgraph_beta.generated.models.tenantGovernanceServices.LongRunningOperation::|public|resource_location(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.LongRunningOperation::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.tenantGovernanceServices.LongRunningOperation::|public|status():LongRunningOperationStatus -msgraph_beta.generated.models.tenantGovernanceServices.LongRunningOperation::|public|status(value:LongRunningOperationStatus):None -msgraph_beta.generated.models.tenantGovernanceServices.LongRunningOperation::|public|status_detail():str -msgraph_beta.generated.models.tenantGovernanceServices.LongRunningOperation::|public|status_detail(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.LongRunningOperation::|static|public|create_from_discriminator_value(parse_node:ParseNode):LongRunningOperation -msgraph_beta.generated.models.tenantGovernanceServices.LongRunningOperationStatus::0000-NotStarted -msgraph_beta.generated.models.tenantGovernanceServices.LongRunningOperationStatus::0001-Running -msgraph_beta.generated.models.tenantGovernanceServices.LongRunningOperationStatus::0002-Succeeded -msgraph_beta.generated.models.tenantGovernanceServices.LongRunningOperationStatus::0003-Failed -msgraph_beta.generated.models.tenantGovernanceServices.LongRunningOperationStatus::0004-UnknownFutureValue -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationMetrics-->Entity -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationMetrics::|public|constructor():None -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationMetrics::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationMetrics::|public|initial():MultiTenantApplicationMetricsInitial -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationMetrics::|public|initial(value:MultiTenantApplicationMetricsInitial):None -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationMetrics::|public|investigation_hints():list[ActionStep] -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationMetrics::|public|investigation_hints(value:list[ActionStep]):None -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationMetrics::|public|odata_type:str -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationMetrics::|public|recent():MultiTenantApplicationMetricsRecent -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationMetrics::|public|recent(value:MultiTenantApplicationMetricsRecent):None -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationMetrics::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationMetrics::|static|public|create_from_discriminator_value(parse_node:ParseNode):MultiTenantApplicationMetrics -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationMetricsBase-->Entity -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationMetricsBase::|public|constructor():None -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationMetricsBase::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationMetricsBase::|public|inbound_monthly_total_applications():float -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationMetricsBase::|public|inbound_monthly_total_applications(value:float):None -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationMetricsBase::|public|odata_type:str -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationMetricsBase::|public|outbound_monthly_total_applications():float -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationMetricsBase::|public|outbound_monthly_total_applications(value:float):None -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationMetricsBase::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationMetricsBase::|public|watermark_date_time():datetime.datetime -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationMetricsBase::|public|watermark_date_time(value:datetime.datetime):None -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationMetricsBase::|static|public|create_from_discriminator_value(parse_node:ParseNode):MultiTenantApplicationMetricsBase -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationMetricsInitial-->MultiTenantApplicationMetricsBase -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationMetricsInitial::|public|constructor():None -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationMetricsInitial::|public|created_date_time():datetime.datetime -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationMetricsInitial::|public|created_date_time(value:datetime.datetime):None -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationMetricsInitial::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationMetricsInitial::|public|odata_type:str -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationMetricsInitial::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationMetricsInitial::|static|public|create_from_discriminator_value(parse_node:ParseNode):MultiTenantApplicationMetricsInitial -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationMetricsRecent-->MultiTenantApplicationMetricsBase -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationMetricsRecent::|public|constructor():None -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationMetricsRecent::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationMetricsRecent::|public|odata_type:str -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationMetricsRecent::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationMetricsRecent::|public|update_date_time():datetime.datetime -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationMetricsRecent::|public|update_date_time(value:datetime.datetime):None -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationMetricsRecent::|static|public|create_from_discriminator_value(parse_node:ParseNode):MultiTenantApplicationMetricsRecent -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationsToProvision::|public|additional_data():dict[str, Any] -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationsToProvision::|public|additional_data(value:dict[str, Any]):None -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationsToProvision::|public|app_id():str -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationsToProvision::|public|app_id(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationsToProvision::|public|backing_store:BackingStore -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationsToProvision::|public|constructor():None -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationsToProvision::|public|display_name():str -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationsToProvision::|public|display_name(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationsToProvision::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationsToProvision::|public|object_id():str -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationsToProvision::|public|object_id(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationsToProvision::|public|odata_type():str -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationsToProvision::|public|odata_type(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationsToProvision::|public|required_resource_accesses():list[RequiredResourceAccess] -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationsToProvision::|public|required_resource_accesses(value:list[RequiredResourceAccess]):None -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationsToProvision::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationsToProvision::|static|public|create_from_discriminator_value(parse_node:ParseNode):MultiTenantApplicationsToProvision -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationsToProvisionSnapshot::|public|additional_data():dict[str, Any] -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationsToProvisionSnapshot::|public|additional_data(value:dict[str, Any]):None -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationsToProvisionSnapshot::|public|app_id():str -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationsToProvisionSnapshot::|public|app_id(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationsToProvisionSnapshot::|public|backing_store:BackingStore -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationsToProvisionSnapshot::|public|constructor():None -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationsToProvisionSnapshot::|public|display_name():str -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationsToProvisionSnapshot::|public|display_name(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationsToProvisionSnapshot::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationsToProvisionSnapshot::|public|object_id():str -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationsToProvisionSnapshot::|public|object_id(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationsToProvisionSnapshot::|public|odata_type():str -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationsToProvisionSnapshot::|public|odata_type(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationsToProvisionSnapshot::|public|required_resource_accesses():list[RequiredResourceAccess] -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationsToProvisionSnapshot::|public|required_resource_accesses(value:list[RequiredResourceAccess]):None -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationsToProvisionSnapshot::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationsToProvisionSnapshot::|static|public|create_from_discriminator_value(parse_node:ParseNode):MultiTenantApplicationsToProvisionSnapshot -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationsToProvisionSnapshot~~>AdditionalDataHolder; BackedModel; Parsable -msgraph_beta.generated.models.tenantGovernanceServices.MultiTenantApplicationsToProvision~~>AdditionalDataHolder; BackedModel; Parsable -msgraph_beta.generated.models.tenantGovernanceServices.PermissionType::0000-Role -msgraph_beta.generated.models.tenantGovernanceServices.PermissionType::0001-Scope -msgraph_beta.generated.models.tenantGovernanceServices.PermissionType::0002-UnknownFutureValue -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenant-->Entity -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenant::|public|app_b2_b_sign_in_activity_metrics():B2BSignInActivityMetrics -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenant::|public|app_b2_b_sign_in_activity_metrics(value:B2BSignInActivityMetrics):None -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenant::|public|b2_b_registration_metrics():B2bRegistrationMetrics -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenant::|public|b2_b_registration_metrics(value:B2bRegistrationMetrics):None -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenant::|public|b2_b_sign_in_activity_metrics():B2BSignInActivityMetrics -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenant::|public|b2_b_sign_in_activity_metrics(value:B2BSignInActivityMetrics):None -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenant::|public|billing_metrics():BillingMetrics -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenant::|public|billing_metrics(value:BillingMetrics):None -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenant::|public|constructor():None -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenant::|public|created_date_time():datetime.datetime -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenant::|public|created_date_time(value:datetime.datetime):None -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenant::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenant::|public|is_microsoft_infrastructure():bool -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenant::|public|is_microsoft_infrastructure(value:bool):None -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenant::|public|multi_tenant_application_metrics():MultiTenantApplicationMetrics -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenant::|public|multi_tenant_application_metrics(value:MultiTenantApplicationMetrics):None -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenant::|public|odata_type:str -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenant::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenant::|static|public|create_from_discriminator_value(parse_node:ParseNode):RelatedTenant -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenantCollectionResponse-->BaseCollectionPaginationCountResponse -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenantCollectionResponse::|public|constructor():None -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenantCollectionResponse::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenantCollectionResponse::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenantCollectionResponse::|public|value():list[RelatedTenant] -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenantCollectionResponse::|public|value(value:list[RelatedTenant]):None -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenantCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):RelatedTenantCollectionResponse -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenantsRefreshRequest-->Entity -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenantsRefreshRequest::|public|constructor():None -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenantsRefreshRequest::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenantsRefreshRequest::|public|location():str -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenantsRefreshRequest::|public|location(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenantsRefreshRequest::|public|odata_type:str -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenantsRefreshRequest::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenantsRefreshRequest::|static|public|create_from_discriminator_value(parse_node:ParseNode):RelatedTenantsRefreshRequest -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenantsRefreshStatus::|public|additional_data():dict[str, Any] -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenantsRefreshStatus::|public|additional_data(value:dict[str, Any]):None -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenantsRefreshStatus::|public|backing_store:BackingStore -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenantsRefreshStatus::|public|constructor():None -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenantsRefreshStatus::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenantsRefreshStatus::|public|is_first_refresh():bool -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenantsRefreshStatus::|public|is_first_refresh(value:bool):None -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenantsRefreshStatus::|public|most_recent_refresh_request_status():str -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenantsRefreshStatus::|public|most_recent_refresh_request_status(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenantsRefreshStatus::|public|most_recent_refresh_time():str -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenantsRefreshStatus::|public|most_recent_refresh_time(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenantsRefreshStatus::|public|odata_type():str -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenantsRefreshStatus::|public|odata_type(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenantsRefreshStatus::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenantsRefreshStatus::|static|public|create_from_discriminator_value(parse_node:ParseNode):RelatedTenantsRefreshStatus -msgraph_beta.generated.models.tenantGovernanceServices.RelatedTenantsRefreshStatus~~>AdditionalDataHolder; BackedModel; Parsable -msgraph_beta.generated.models.tenantGovernanceServices.RelationshipCreationType::0000-ApprovedByAdmin -msgraph_beta.generated.models.tenantGovernanceServices.RelationshipCreationType::0001-AddOnTenant -msgraph_beta.generated.models.tenantGovernanceServices.RelationshipCreationType::0002-UnknownFutureValue -msgraph_beta.generated.models.tenantGovernanceServices.RelationshipPolicy::|public|additional_data():dict[str, Any] -msgraph_beta.generated.models.tenantGovernanceServices.RelationshipPolicy::|public|additional_data(value:dict[str, Any]):None -msgraph_beta.generated.models.tenantGovernanceServices.RelationshipPolicy::|public|backing_store:BackingStore -msgraph_beta.generated.models.tenantGovernanceServices.RelationshipPolicy::|public|constructor():None -msgraph_beta.generated.models.tenantGovernanceServices.RelationshipPolicy::|public|delegated_administration_role_assignments():list[DelegatedAdministrationRoleAssignmentSnapshot] -msgraph_beta.generated.models.tenantGovernanceServices.RelationshipPolicy::|public|delegated_administration_role_assignments(value:list[DelegatedAdministrationRoleAssignmentSnapshot]):None -msgraph_beta.generated.models.tenantGovernanceServices.RelationshipPolicy::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.tenantGovernanceServices.RelationshipPolicy::|public|governed_tenant_can_terminate():bool -msgraph_beta.generated.models.tenantGovernanceServices.RelationshipPolicy::|public|governed_tenant_can_terminate(value:bool):None -msgraph_beta.generated.models.tenantGovernanceServices.RelationshipPolicy::|public|multi_tenant_applications_to_provision():list[MultiTenantApplicationsToProvisionSnapshot] -msgraph_beta.generated.models.tenantGovernanceServices.RelationshipPolicy::|public|multi_tenant_applications_to_provision(value:list[MultiTenantApplicationsToProvisionSnapshot]):None -msgraph_beta.generated.models.tenantGovernanceServices.RelationshipPolicy::|public|odata_type():str -msgraph_beta.generated.models.tenantGovernanceServices.RelationshipPolicy::|public|odata_type(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.RelationshipPolicy::|public|policy_id():str -msgraph_beta.generated.models.tenantGovernanceServices.RelationshipPolicy::|public|policy_id(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.RelationshipPolicy::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.tenantGovernanceServices.RelationshipPolicy::|public|version():int -msgraph_beta.generated.models.tenantGovernanceServices.RelationshipPolicy::|public|version(value:int):None -msgraph_beta.generated.models.tenantGovernanceServices.RelationshipPolicy::|static|public|create_from_discriminator_value(parse_node:ParseNode):RelationshipPolicy -msgraph_beta.generated.models.tenantGovernanceServices.RelationshipPolicy~~>AdditionalDataHolder; BackedModel; Parsable -msgraph_beta.generated.models.tenantGovernanceServices.RelationshipStatus::0000-Active -msgraph_beta.generated.models.tenantGovernanceServices.RelationshipStatus::0001-Terminated -msgraph_beta.generated.models.tenantGovernanceServices.RelationshipStatus::0002-TerminationRequestedByGoverningTenant -msgraph_beta.generated.models.tenantGovernanceServices.RelationshipStatus::0003-UnknownFutureValue -msgraph_beta.generated.models.tenantGovernanceServices.RequestStatus::0000-Pending -msgraph_beta.generated.models.tenantGovernanceServices.RequestStatus::0001-Accepted -msgraph_beta.generated.models.tenantGovernanceServices.RequestStatus::0002-Rejected -msgraph_beta.generated.models.tenantGovernanceServices.RequestStatus::0003-UnknownFutureValue -msgraph_beta.generated.models.tenantGovernanceServices.RequiredResourceAccess::|public|additional_data():dict[str, Any] -msgraph_beta.generated.models.tenantGovernanceServices.RequiredResourceAccess::|public|additional_data(value:dict[str, Any]):None -msgraph_beta.generated.models.tenantGovernanceServices.RequiredResourceAccess::|public|backing_store:BackingStore -msgraph_beta.generated.models.tenantGovernanceServices.RequiredResourceAccess::|public|constructor():None -msgraph_beta.generated.models.tenantGovernanceServices.RequiredResourceAccess::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.tenantGovernanceServices.RequiredResourceAccess::|public|odata_type():str -msgraph_beta.generated.models.tenantGovernanceServices.RequiredResourceAccess::|public|odata_type(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.RequiredResourceAccess::|public|permissions():list[ResourcePermission] -msgraph_beta.generated.models.tenantGovernanceServices.RequiredResourceAccess::|public|permissions(value:list[ResourcePermission]):None -msgraph_beta.generated.models.tenantGovernanceServices.RequiredResourceAccess::|public|resource_app_id():str -msgraph_beta.generated.models.tenantGovernanceServices.RequiredResourceAccess::|public|resource_app_id(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.RequiredResourceAccess::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.tenantGovernanceServices.RequiredResourceAccess::|static|public|create_from_discriminator_value(parse_node:ParseNode):RequiredResourceAccess -msgraph_beta.generated.models.tenantGovernanceServices.RequiredResourceAccess~~>AdditionalDataHolder; BackedModel; Parsable -msgraph_beta.generated.models.tenantGovernanceServices.ResourcePermission::|public|additional_data():dict[str, Any] -msgraph_beta.generated.models.tenantGovernanceServices.ResourcePermission::|public|additional_data(value:dict[str, Any]):None -msgraph_beta.generated.models.tenantGovernanceServices.ResourcePermission::|public|backing_store:BackingStore -msgraph_beta.generated.models.tenantGovernanceServices.ResourcePermission::|public|constructor():None -msgraph_beta.generated.models.tenantGovernanceServices.ResourcePermission::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.tenantGovernanceServices.ResourcePermission::|public|id():str -msgraph_beta.generated.models.tenantGovernanceServices.ResourcePermission::|public|id(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.ResourcePermission::|public|name():str -msgraph_beta.generated.models.tenantGovernanceServices.ResourcePermission::|public|name(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.ResourcePermission::|public|odata_type():str -msgraph_beta.generated.models.tenantGovernanceServices.ResourcePermission::|public|odata_type(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.ResourcePermission::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.tenantGovernanceServices.ResourcePermission::|public|type():PermissionType -msgraph_beta.generated.models.tenantGovernanceServices.ResourcePermission::|public|type(value:PermissionType):None -msgraph_beta.generated.models.tenantGovernanceServices.ResourcePermission::|static|public|create_from_discriminator_value(parse_node:ParseNode):ResourcePermission -msgraph_beta.generated.models.tenantGovernanceServices.ResourcePermission~~>AdditionalDataHolder; BackedModel; Parsable -msgraph_beta.generated.models.tenantGovernanceServices.RoleTemplate::|public|additional_data():dict[str, Any] -msgraph_beta.generated.models.tenantGovernanceServices.RoleTemplate::|public|additional_data(value:dict[str, Any]):None -msgraph_beta.generated.models.tenantGovernanceServices.RoleTemplate::|public|backing_store:BackingStore -msgraph_beta.generated.models.tenantGovernanceServices.RoleTemplate::|public|constructor():None -msgraph_beta.generated.models.tenantGovernanceServices.RoleTemplate::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.tenantGovernanceServices.RoleTemplate::|public|id():str -msgraph_beta.generated.models.tenantGovernanceServices.RoleTemplate::|public|id(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.RoleTemplate::|public|name():str -msgraph_beta.generated.models.tenantGovernanceServices.RoleTemplate::|public|name(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.RoleTemplate::|public|odata_type():str -msgraph_beta.generated.models.tenantGovernanceServices.RoleTemplate::|public|odata_type(value:str):None -msgraph_beta.generated.models.tenantGovernanceServices.RoleTemplate::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.tenantGovernanceServices.RoleTemplate::|static|public|create_from_discriminator_value(parse_node:ParseNode):RoleTemplate -msgraph_beta.generated.models.tenantGovernanceServices.RoleTemplate~~>AdditionalDataHolder; BackedModel; Parsable -msgraph_beta.generated.models.tenantGovernanceServices.TenantGovernance-->Entity -msgraph_beta.generated.models.tenantGovernanceServices.TenantGovernance::|public|constructor():None -msgraph_beta.generated.models.tenantGovernanceServices.TenantGovernance::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.tenantGovernanceServices.TenantGovernance::|public|governance_invitations():list[GovernanceInvitation] -msgraph_beta.generated.models.tenantGovernanceServices.TenantGovernance::|public|governance_invitations(value:list[GovernanceInvitation]):None -msgraph_beta.generated.models.tenantGovernanceServices.TenantGovernance::|public|governance_policy_templates():list[GovernancePolicyTemplate] -msgraph_beta.generated.models.tenantGovernanceServices.TenantGovernance::|public|governance_policy_templates(value:list[GovernancePolicyTemplate]):None -msgraph_beta.generated.models.tenantGovernanceServices.TenantGovernance::|public|governance_relationships():list[GovernanceRelationship] -msgraph_beta.generated.models.tenantGovernanceServices.TenantGovernance::|public|governance_relationships(value:list[GovernanceRelationship]):None -msgraph_beta.generated.models.tenantGovernanceServices.TenantGovernance::|public|governance_requests():list[GovernanceRequest] -msgraph_beta.generated.models.tenantGovernanceServices.TenantGovernance::|public|governance_requests(value:list[GovernanceRequest]):None -msgraph_beta.generated.models.tenantGovernanceServices.TenantGovernance::|public|odata_type:str -msgraph_beta.generated.models.tenantGovernanceServices.TenantGovernance::|public|related_tenants():list[RelatedTenant] -msgraph_beta.generated.models.tenantGovernanceServices.TenantGovernance::|public|related_tenants(value:list[RelatedTenant]):None -msgraph_beta.generated.models.tenantGovernanceServices.TenantGovernance::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.tenantGovernanceServices.TenantGovernance::|public|settings():TenantGovernanceSetting -msgraph_beta.generated.models.tenantGovernanceServices.TenantGovernance::|public|settings(value:TenantGovernanceSetting):None -msgraph_beta.generated.models.tenantGovernanceServices.TenantGovernance::|static|public|create_from_discriminator_value(parse_node:ParseNode):TenantGovernance -msgraph_beta.generated.models.tenantGovernanceServices.TenantGovernanceSetting-->Entity -msgraph_beta.generated.models.tenantGovernanceServices.TenantGovernanceSetting::|public|can_receive_invitations():bool -msgraph_beta.generated.models.tenantGovernanceServices.TenantGovernanceSetting::|public|can_receive_invitations(value:bool):None -msgraph_beta.generated.models.tenantGovernanceServices.TenantGovernanceSetting::|public|constructor():None -msgraph_beta.generated.models.tenantGovernanceServices.TenantGovernanceSetting::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.tenantGovernanceServices.TenantGovernanceSetting::|public|is_related_tenants_enabled():bool -msgraph_beta.generated.models.tenantGovernanceServices.TenantGovernanceSetting::|public|is_related_tenants_enabled(value:bool):None -msgraph_beta.generated.models.tenantGovernanceServices.TenantGovernanceSetting::|public|odata_type:str -msgraph_beta.generated.models.tenantGovernanceServices.TenantGovernanceSetting::|public|serialize(writer:SerializationWriter):None -msgraph_beta.generated.models.tenantGovernanceServices.TenantGovernanceSetting::|static|public|create_from_discriminator_value(parse_node:ParseNode):TenantGovernanceSetting +msgraph_beta.generated.models.TenantGovernance-->Entity +msgraph_beta.generated.models.TenantGovernance::|public|constructor():None +msgraph_beta.generated.models.TenantGovernance::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.TenantGovernance::|public|governance_invitations():list[GovernanceInvitation] +msgraph_beta.generated.models.TenantGovernance::|public|governance_invitations(value:list[GovernanceInvitation]):None +msgraph_beta.generated.models.TenantGovernance::|public|governance_policy_templates():list[TenantGovernancePolicyTemplate] +msgraph_beta.generated.models.TenantGovernance::|public|governance_policy_templates(value:list[TenantGovernancePolicyTemplate]):None +msgraph_beta.generated.models.TenantGovernance::|public|governance_relationships():list[GovernanceRelationship] +msgraph_beta.generated.models.TenantGovernance::|public|governance_relationships(value:list[GovernanceRelationship]):None +msgraph_beta.generated.models.TenantGovernance::|public|governance_requests():list[GovernanceRequest] +msgraph_beta.generated.models.TenantGovernance::|public|governance_requests(value:list[GovernanceRequest]):None +msgraph_beta.generated.models.TenantGovernance::|public|odata_type:str +msgraph_beta.generated.models.TenantGovernance::|public|related_tenants():list[RelatedTenant] +msgraph_beta.generated.models.TenantGovernance::|public|related_tenants(value:list[RelatedTenant]):None +msgraph_beta.generated.models.TenantGovernance::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.TenantGovernance::|public|settings():TenantGovernanceSetting +msgraph_beta.generated.models.TenantGovernance::|public|settings(value:TenantGovernanceSetting):None +msgraph_beta.generated.models.TenantGovernance::|static|public|create_from_discriminator_value(parse_node:ParseNode):TenantGovernance +msgraph_beta.generated.models.TenantGovernancePolicyTemplate-->Entity +msgraph_beta.generated.models.TenantGovernancePolicyTemplate::|public|constructor():None +msgraph_beta.generated.models.TenantGovernancePolicyTemplate::|public|created_date_time():datetime.datetime +msgraph_beta.generated.models.TenantGovernancePolicyTemplate::|public|created_date_time(value:datetime.datetime):None +msgraph_beta.generated.models.TenantGovernancePolicyTemplate::|public|delegated_administration_role_assignments():list[DelegatedAdministrationRoleAssignment] +msgraph_beta.generated.models.TenantGovernancePolicyTemplate::|public|delegated_administration_role_assignments(value:list[DelegatedAdministrationRoleAssignment]):None +msgraph_beta.generated.models.TenantGovernancePolicyTemplate::|public|description():str +msgraph_beta.generated.models.TenantGovernancePolicyTemplate::|public|description(value:str):None +msgraph_beta.generated.models.TenantGovernancePolicyTemplate::|public|display_name():str +msgraph_beta.generated.models.TenantGovernancePolicyTemplate::|public|display_name(value:str):None +msgraph_beta.generated.models.TenantGovernancePolicyTemplate::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.TenantGovernancePolicyTemplate::|public|governed_tenant_can_terminate():bool +msgraph_beta.generated.models.TenantGovernancePolicyTemplate::|public|governed_tenant_can_terminate(value:bool):None +msgraph_beta.generated.models.TenantGovernancePolicyTemplate::|public|last_modified_date_time():datetime.datetime +msgraph_beta.generated.models.TenantGovernancePolicyTemplate::|public|last_modified_date_time(value:datetime.datetime):None +msgraph_beta.generated.models.TenantGovernancePolicyTemplate::|public|multi_tenant_applications_to_provision():list[MultiTenantApplicationsToProvision] +msgraph_beta.generated.models.TenantGovernancePolicyTemplate::|public|multi_tenant_applications_to_provision(value:list[MultiTenantApplicationsToProvision]):None +msgraph_beta.generated.models.TenantGovernancePolicyTemplate::|public|odata_type:str +msgraph_beta.generated.models.TenantGovernancePolicyTemplate::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.TenantGovernancePolicyTemplate::|public|version():str +msgraph_beta.generated.models.TenantGovernancePolicyTemplate::|public|version(value:str):None +msgraph_beta.generated.models.TenantGovernancePolicyTemplate::|static|public|create_from_discriminator_value(parse_node:ParseNode):TenantGovernancePolicyTemplate +msgraph_beta.generated.models.TenantGovernancePolicyTemplateCollectionResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.models.TenantGovernancePolicyTemplateCollectionResponse::|public|constructor():None +msgraph_beta.generated.models.TenantGovernancePolicyTemplateCollectionResponse::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.TenantGovernancePolicyTemplateCollectionResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.TenantGovernancePolicyTemplateCollectionResponse::|public|value():list[TenantGovernancePolicyTemplate] +msgraph_beta.generated.models.TenantGovernancePolicyTemplateCollectionResponse::|public|value(value:list[TenantGovernancePolicyTemplate]):None +msgraph_beta.generated.models.TenantGovernancePolicyTemplateCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):TenantGovernancePolicyTemplateCollectionResponse +msgraph_beta.generated.models.TenantGovernanceSetting-->Entity +msgraph_beta.generated.models.TenantGovernanceSetting::|public|can_receive_invitations():bool +msgraph_beta.generated.models.TenantGovernanceSetting::|public|can_receive_invitations(value:bool):None +msgraph_beta.generated.models.TenantGovernanceSetting::|public|constructor():None +msgraph_beta.generated.models.TenantGovernanceSetting::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.TenantGovernanceSetting::|public|is_related_tenants_enabled():bool +msgraph_beta.generated.models.TenantGovernanceSetting::|public|is_related_tenants_enabled(value:bool):None +msgraph_beta.generated.models.TenantGovernanceSetting::|public|odata_type:str +msgraph_beta.generated.models.TenantGovernanceSetting::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.TenantGovernanceSetting::|static|public|create_from_discriminator_value(parse_node:ParseNode):TenantGovernanceSetting msgraph_beta.generated.models.TenantInformation::|public|additional_data():dict[str, Any] msgraph_beta.generated.models.TenantInformation::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.models.TenantInformation::|public|backing_store:BackingStore @@ -269568,6 +271251,8 @@ msgraph_beta.generated.models.TextClassificationRequest-->Entity msgraph_beta.generated.models.TextClassificationRequest::|public|constructor():None msgraph_beta.generated.models.TextClassificationRequest::|public|content_meta_data():ClassificationRequestContentMetaData msgraph_beta.generated.models.TextClassificationRequest::|public|content_meta_data(value:ClassificationRequestContentMetaData):None +msgraph_beta.generated.models.TextClassificationRequest::|public|embeddings():list[EmbeddingInput] +msgraph_beta.generated.models.TextClassificationRequest::|public|embeddings(value:list[EmbeddingInput]):None msgraph_beta.generated.models.TextClassificationRequest::|public|file_extension():str msgraph_beta.generated.models.TextClassificationRequest::|public|file_extension(value:str):None msgraph_beta.generated.models.TextClassificationRequest::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] @@ -272677,6 +274362,7 @@ msgraph_beta.generated.models.UserActivityTypes::0006-CopyToClipboard msgraph_beta.generated.models.UserActivityTypes::0007-PasteFromClipboard msgraph_beta.generated.models.UserActivityTypes::0008-Print msgraph_beta.generated.models.UserActivityTypes::0009-AccessDebugTools +msgraph_beta.generated.models.UserActivityTypes::0010-ContentFiltering msgraph_beta.generated.models.UserAnalytics-->Entity msgraph_beta.generated.models.UserAnalytics::|public|activity_statistics():list[ActivityStatistics] msgraph_beta.generated.models.UserAnalytics::|public|activity_statistics(value:list[ActivityStatistics]):None @@ -281265,13 +282951,22 @@ msgraph_beta.generated.models.WindowsManagedAppClipboardSharingLevel::0001-None_ msgraph_beta.generated.models.WindowsManagedAppClipboardSharingLevel::0002-UnknownFutureValue msgraph_beta.generated.models.WindowsManagedAppDataTransferLevel::0000-AllApps msgraph_beta.generated.models.WindowsManagedAppDataTransferLevel::0001-None_ +msgraph_beta.generated.models.WindowsManagedAppDataTransferLevel::0002-SelectedApps +msgraph_beta.generated.models.WindowsManagedAppDataTransferLevel::0003-UnknownFutureValue +msgraph_beta.generated.models.WindowsManagedAppDataTransferLocations::0000-None_ +msgraph_beta.generated.models.WindowsManagedAppDataTransferLocations::0001-OneDriveForBusiness +msgraph_beta.generated.models.WindowsManagedAppDataTransferLocations::0002-UnknownFutureValue msgraph_beta.generated.models.WindowsManagedAppProtection-->ManagedAppPolicy msgraph_beta.generated.models.WindowsManagedAppProtection::|public|allowed_inbound_data_transfer_sources():WindowsManagedAppDataTransferLevel msgraph_beta.generated.models.WindowsManagedAppProtection::|public|allowed_inbound_data_transfer_sources(value:WindowsManagedAppDataTransferLevel):None +msgraph_beta.generated.models.WindowsManagedAppProtection::|public|allowed_inbound_data_transfer_source_apps():WindowsManagedAppDataTransferLocations +msgraph_beta.generated.models.WindowsManagedAppProtection::|public|allowed_inbound_data_transfer_source_apps(value:WindowsManagedAppDataTransferLocations):None msgraph_beta.generated.models.WindowsManagedAppProtection::|public|allowed_outbound_clipboard_sharing_level():WindowsManagedAppClipboardSharingLevel msgraph_beta.generated.models.WindowsManagedAppProtection::|public|allowed_outbound_clipboard_sharing_level(value:WindowsManagedAppClipboardSharingLevel):None msgraph_beta.generated.models.WindowsManagedAppProtection::|public|allowed_outbound_data_transfer_destinations():WindowsManagedAppDataTransferLevel msgraph_beta.generated.models.WindowsManagedAppProtection::|public|allowed_outbound_data_transfer_destinations(value:WindowsManagedAppDataTransferLevel):None +msgraph_beta.generated.models.WindowsManagedAppProtection::|public|allowed_outbound_data_transfer_destination_apps():WindowsManagedAppDataTransferLocations +msgraph_beta.generated.models.WindowsManagedAppProtection::|public|allowed_outbound_data_transfer_destination_apps(value:WindowsManagedAppDataTransferLocations):None msgraph_beta.generated.models.WindowsManagedAppProtection::|public|apps():list[ManagedMobileApp] msgraph_beta.generated.models.WindowsManagedAppProtection::|public|apps(value:list[ManagedMobileApp]):None msgraph_beta.generated.models.WindowsManagedAppProtection::|public|app_action_if_unable_to_authenticate_user():ManagedAppRemediationAction @@ -315814,6 +317509,7 @@ msgraph_beta.generated.security.alerts_v2.Alerts_v2RequestBuilder::|public|by_al msgraph_beta.generated.security.alerts_v2.Alerts_v2RequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None msgraph_beta.generated.security.alerts_v2.Alerts_v2RequestBuilder::|public|count:CountRequestBuilder msgraph_beta.generated.security.alerts_v2.Alerts_v2RequestBuilder::|public|get(request_configuration?:RequestConfiguration[Alerts_v2RequestBuilderGetQueryParameters]):AlertCollectionResponse +msgraph_beta.generated.security.alerts_v2.Alerts_v2RequestBuilder::|public|microsoft_graph_security_create_alert:MicrosoftGraphSecurityCreateAlertRequestBuilder msgraph_beta.generated.security.alerts_v2.Alerts_v2RequestBuilder::|public|microsoft_graph_security_move_alerts:MicrosoftGraphSecurityMoveAlertsRequestBuilder msgraph_beta.generated.security.alerts_v2.Alerts_v2RequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] msgraph_beta.generated.security.alerts_v2.Alerts_v2RequestBuilder::|public|post(body:Alert; request_configuration?:RequestConfiguration[QueryParameters]):Alert @@ -315875,6 +317571,25 @@ msgraph_beta.generated.security.alerts_v2.item.comments.count.CountRequestBuilde msgraph_beta.generated.security.alerts_v2.item.comments.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.security.alerts_v2.item.comments.count.CountRequestBuilder::|public|url_template:str msgraph_beta.generated.security.alerts_v2.item.comments.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph_beta.generated.security.alerts_v2.microsoftGraphSecurityCreateAlert.CreateAlertPostRequestBody::|public|additional_data():dict[str, Any] +msgraph_beta.generated.security.alerts_v2.microsoftGraphSecurityCreateAlert.CreateAlertPostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.security.alerts_v2.microsoftGraphSecurityCreateAlert.CreateAlertPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.security.alerts_v2.microsoftGraphSecurityCreateAlert.CreateAlertPostRequestBody::|public|constructor():None +msgraph_beta.generated.security.alerts_v2.microsoftGraphSecurityCreateAlert.CreateAlertPostRequestBody::|public|create_alert_input():CreateAlertInput +msgraph_beta.generated.security.alerts_v2.microsoftGraphSecurityCreateAlert.CreateAlertPostRequestBody::|public|create_alert_input(value:CreateAlertInput):None +msgraph_beta.generated.security.alerts_v2.microsoftGraphSecurityCreateAlert.CreateAlertPostRequestBody::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.security.alerts_v2.microsoftGraphSecurityCreateAlert.CreateAlertPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.security.alerts_v2.microsoftGraphSecurityCreateAlert.CreateAlertPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):CreateAlertPostRequestBody +msgraph_beta.generated.security.alerts_v2.microsoftGraphSecurityCreateAlert.CreateAlertPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.security.alerts_v2.microsoftGraphSecurityCreateAlert.MicrosoftGraphSecurityCreateAlertRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.security.alerts_v2.microsoftGraphSecurityCreateAlert.MicrosoftGraphSecurityCreateAlertRequestBuilder.MicrosoftGraphSecurityCreateAlertRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.security.alerts_v2.microsoftGraphSecurityCreateAlert.MicrosoftGraphSecurityCreateAlertRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.security.alerts_v2.microsoftGraphSecurityCreateAlert.MicrosoftGraphSecurityCreateAlertRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.security.alerts_v2.microsoftGraphSecurityCreateAlert.MicrosoftGraphSecurityCreateAlertRequestBuilder::|public|post(body:CreateAlertPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):Alert +msgraph_beta.generated.security.alerts_v2.microsoftGraphSecurityCreateAlert.MicrosoftGraphSecurityCreateAlertRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.security.alerts_v2.microsoftGraphSecurityCreateAlert.MicrosoftGraphSecurityCreateAlertRequestBuilder::|public|to_post_request_information(body:CreateAlertPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.security.alerts_v2.microsoftGraphSecurityCreateAlert.MicrosoftGraphSecurityCreateAlertRequestBuilder::|public|url_template:str +msgraph_beta.generated.security.alerts_v2.microsoftGraphSecurityCreateAlert.MicrosoftGraphSecurityCreateAlertRequestBuilder::|public|with_url(raw_url:str):MicrosoftGraphSecurityCreateAlertRequestBuilder msgraph_beta.generated.security.alerts_v2.microsoftGraphSecurityMoveAlerts.MicrosoftGraphSecurityMoveAlertsRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.security.alerts_v2.microsoftGraphSecurityMoveAlerts.MicrosoftGraphSecurityMoveAlertsRequestBuilder.MicrosoftGraphSecurityMoveAlertsRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.security.alerts_v2.microsoftGraphSecurityMoveAlerts.MicrosoftGraphSecurityMoveAlertsRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None @@ -326342,6 +328057,82 @@ msgraph_beta.generated.servicePrincipals.item.licenseDetails.LicenseDetailsReque msgraph_beta.generated.servicePrincipals.item.licenseDetails.LicenseDetailsRequestBuilder::|public|to_post_request_information(body:LicenseDetails; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.servicePrincipals.item.licenseDetails.LicenseDetailsRequestBuilder::|public|url_template:str msgraph_beta.generated.servicePrincipals.item.licenseDetails.LicenseDetailsRequestBuilder::|public|with_url(raw_url:str):LicenseDetailsRequestBuilder +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.ComplianceIssuesRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.ComplianceIssuesRequestBuilder.ComplianceIssuesRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.ComplianceIssuesRequestBuilder.ComplianceIssuesRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.ComplianceIssuesRequestBuilder.ComplianceIssuesRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.ComplianceIssuesRequestBuilder.ComplianceIssuesRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.ComplianceIssuesRequestBuilder.ComplianceIssuesRequestBuilderGetQueryParameters::|public|orderby:list[str] +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.ComplianceIssuesRequestBuilder.ComplianceIssuesRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.ComplianceIssuesRequestBuilder.ComplianceIssuesRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.ComplianceIssuesRequestBuilder.ComplianceIssuesRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.ComplianceIssuesRequestBuilder.ComplianceIssuesRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.ComplianceIssuesRequestBuilder.ComplianceIssuesRequestBuilderGetRequestConfiguration-->RequestConfiguration[ComplianceIssuesRequestBuilderGetQueryParameters] +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.ComplianceIssuesRequestBuilder::|public|by_compliance_issue_id(compliance_issue_id:str):ComplianceIssueItemRequestBuilder +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.ComplianceIssuesRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.ComplianceIssuesRequestBuilder::|public|count:CountRequestBuilder +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.ComplianceIssuesRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ComplianceIssuesRequestBuilderGetQueryParameters]):ComplianceIssueCollectionResponse +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.ComplianceIssuesRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.ComplianceIssuesRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.ComplianceIssuesRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ComplianceIssuesRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.ComplianceIssuesRequestBuilder::|public|url_template:str +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.ComplianceIssuesRequestBuilder::|public|with_url(raw_url:str):ComplianceIssuesRequestBuilder +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.count.CountRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.count.CountRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.count.CountRequestBuilder::|public|url_template:str +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.item.ComplianceIssueItemRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.item.ComplianceIssueItemRequestBuilder.ComplianceIssueItemRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.item.ComplianceIssueItemRequestBuilder.ComplianceIssueItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.item.ComplianceIssueItemRequestBuilder.ComplianceIssueItemRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.item.ComplianceIssueItemRequestBuilder.ComplianceIssueItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[ComplianceIssueItemRequestBuilderGetQueryParameters] +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.item.ComplianceIssueItemRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.item.ComplianceIssueItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ComplianceIssueItemRequestBuilderGetQueryParameters]):ComplianceIssue +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.item.ComplianceIssueItemRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.item.ComplianceIssueItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.item.ComplianceIssueItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ComplianceIssueItemRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.item.ComplianceIssueItemRequestBuilder::|public|url_template:str +msgraph_beta.generated.servicePrincipals.item.lifecycle.complianceIssues.item.ComplianceIssueItemRequestBuilder::|public|with_url(raw_url:str):ComplianceIssueItemRequestBuilder +msgraph_beta.generated.servicePrincipals.item.lifecycle.effectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.servicePrincipals.item.lifecycle.effectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder.EffectiveGoverningPolicyRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.servicePrincipals.item.lifecycle.effectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder.EffectiveGoverningPolicyRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.servicePrincipals.item.lifecycle.effectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder.EffectiveGoverningPolicyRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.servicePrincipals.item.lifecycle.effectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder.EffectiveGoverningPolicyRequestBuilderGetRequestConfiguration-->RequestConfiguration[EffectiveGoverningPolicyRequestBuilderGetQueryParameters] +msgraph_beta.generated.servicePrincipals.item.lifecycle.effectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.servicePrincipals.item.lifecycle.effectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder::|public|get(request_configuration?:RequestConfiguration[EffectiveGoverningPolicyRequestBuilderGetQueryParameters]):LifecyclePolicy +msgraph_beta.generated.servicePrincipals.item.lifecycle.effectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.servicePrincipals.item.lifecycle.effectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.servicePrincipals.item.lifecycle.effectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[EffectiveGoverningPolicyRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.servicePrincipals.item.lifecycle.effectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder::|public|url_template:str +msgraph_beta.generated.servicePrincipals.item.lifecycle.effectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder::|public|with_url(raw_url:str):EffectiveGoverningPolicyRequestBuilder +msgraph_beta.generated.servicePrincipals.item.lifecycle.LifecycleRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.servicePrincipals.item.lifecycle.LifecycleRequestBuilder.LifecycleRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.servicePrincipals.item.lifecycle.LifecycleRequestBuilder.LifecycleRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.servicePrincipals.item.lifecycle.LifecycleRequestBuilder.LifecycleRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.servicePrincipals.item.lifecycle.LifecycleRequestBuilder.LifecycleRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.servicePrincipals.item.lifecycle.LifecycleRequestBuilder.LifecycleRequestBuilderGetRequestConfiguration-->RequestConfiguration[LifecycleRequestBuilderGetQueryParameters] +msgraph_beta.generated.servicePrincipals.item.lifecycle.LifecycleRequestBuilder.LifecycleRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.servicePrincipals.item.lifecycle.LifecycleRequestBuilder::|public|compliance_issues:ComplianceIssuesRequestBuilder +msgraph_beta.generated.servicePrincipals.item.lifecycle.LifecycleRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.servicePrincipals.item.lifecycle.LifecycleRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.servicePrincipals.item.lifecycle.LifecycleRequestBuilder::|public|effective_governing_policy:EffectiveGoverningPolicyRequestBuilder +msgraph_beta.generated.servicePrincipals.item.lifecycle.LifecycleRequestBuilder::|public|get(request_configuration?:RequestConfiguration[LifecycleRequestBuilderGetQueryParameters]):IdentityLifecycle +msgraph_beta.generated.servicePrincipals.item.lifecycle.LifecycleRequestBuilder::|public|patch(body:IdentityLifecycle; request_configuration?:RequestConfiguration[QueryParameters]):IdentityLifecycle +msgraph_beta.generated.servicePrincipals.item.lifecycle.LifecycleRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.servicePrincipals.item.lifecycle.LifecycleRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.servicePrincipals.item.lifecycle.LifecycleRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.servicePrincipals.item.lifecycle.LifecycleRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[LifecycleRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.servicePrincipals.item.lifecycle.LifecycleRequestBuilder::|public|to_patch_request_information(body:IdentityLifecycle; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.servicePrincipals.item.lifecycle.LifecycleRequestBuilder::|public|url_template:str +msgraph_beta.generated.servicePrincipals.item.lifecycle.LifecycleRequestBuilder::|public|with_url(raw_url:str):LifecycleRequestBuilder msgraph_beta.generated.servicePrincipals.item.memberOf.count.CountRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.servicePrincipals.item.memberOf.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str msgraph_beta.generated.servicePrincipals.item.memberOf.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str @@ -326521,6 +328312,15 @@ msgraph_beta.generated.servicePrincipals.item.memberOf.MemberOfRequestBuilder::| msgraph_beta.generated.servicePrincipals.item.memberOf.MemberOfRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[MemberOfRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.servicePrincipals.item.memberOf.MemberOfRequestBuilder::|public|url_template:str msgraph_beta.generated.servicePrincipals.item.memberOf.MemberOfRequestBuilder::|public|with_url(raw_url:str):MemberOfRequestBuilder +msgraph_beta.generated.servicePrincipals.item.microsoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.servicePrincipals.item.microsoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder.MicrosoftGraphIdentityGovernanceAttestRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.servicePrincipals.item.microsoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.servicePrincipals.item.microsoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.servicePrincipals.item.microsoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.servicePrincipals.item.microsoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.servicePrincipals.item.microsoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.servicePrincipals.item.microsoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder::|public|url_template:str +msgraph_beta.generated.servicePrincipals.item.microsoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder::|public|with_url(raw_url:str):MicrosoftGraphIdentityGovernanceAttestRequestBuilder msgraph_beta.generated.servicePrincipals.item.oauth2PermissionGrants.count.CountRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.servicePrincipals.item.oauth2PermissionGrants.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str msgraph_beta.generated.servicePrincipals.item.oauth2PermissionGrants.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str @@ -327295,7 +329095,9 @@ msgraph_beta.generated.servicePrincipals.item.ServicePrincipalItemRequestBuilder msgraph_beta.generated.servicePrincipals.item.ServicePrincipalItemRequestBuilder::|public|get_password_single_sign_on_credentials:GetPasswordSingleSignOnCredentialsRequestBuilder msgraph_beta.generated.servicePrincipals.item.ServicePrincipalItemRequestBuilder::|public|home_realm_discovery_policies:HomeRealmDiscoveryPoliciesRequestBuilder msgraph_beta.generated.servicePrincipals.item.ServicePrincipalItemRequestBuilder::|public|license_details:LicenseDetailsRequestBuilder +msgraph_beta.generated.servicePrincipals.item.ServicePrincipalItemRequestBuilder::|public|lifecycle:LifecycleRequestBuilder msgraph_beta.generated.servicePrincipals.item.ServicePrincipalItemRequestBuilder::|public|member_of:MemberOfRequestBuilder +msgraph_beta.generated.servicePrincipals.item.ServicePrincipalItemRequestBuilder::|public|microsoft_graph_identity_governance_attest:MicrosoftGraphIdentityGovernanceAttestRequestBuilder msgraph_beta.generated.servicePrincipals.item.ServicePrincipalItemRequestBuilder::|public|oauth2_permission_grants:Oauth2PermissionGrantsRequestBuilder msgraph_beta.generated.servicePrincipals.item.ServicePrincipalItemRequestBuilder::|public|owned_objects:OwnedObjectsRequestBuilder msgraph_beta.generated.servicePrincipals.item.ServicePrincipalItemRequestBuilder::|public|owners:OwnersRequestBuilder @@ -386807,6 +388609,7 @@ msgraph_beta.generated.users.item.devices.DevicesRequestBuilder::|public|delta:D msgraph_beta.generated.users.item.devices.DevicesRequestBuilder::|public|get(request_configuration?:RequestConfiguration[DevicesRequestBuilderGetQueryParameters]):DeviceCollectionResponse msgraph_beta.generated.users.item.devices.DevicesRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] msgraph_beta.generated.users.item.devices.DevicesRequestBuilder::|public|post(body:Device; request_configuration?:RequestConfiguration[QueryParameters]):Device +msgraph_beta.generated.users.item.devices.DevicesRequestBuilder::|public|provision:ProvisionRequestBuilder msgraph_beta.generated.users.item.devices.DevicesRequestBuilder::|public|request_adapter:RequestAdapter msgraph_beta.generated.users.item.devices.DevicesRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[DevicesRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.users.item.devices.DevicesRequestBuilder::|public|to_post_request_information(body:Device; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation @@ -387826,6 +389629,25 @@ msgraph_beta.generated.users.item.devices.item.usageRights.UsageRightsRequestBui msgraph_beta.generated.users.item.devices.item.usageRights.UsageRightsRequestBuilder::|public|to_post_request_information(body:UsageRight; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.users.item.devices.item.usageRights.UsageRightsRequestBuilder::|public|url_template:str msgraph_beta.generated.users.item.devices.item.usageRights.UsageRightsRequestBuilder::|public|with_url(raw_url:str):UsageRightsRequestBuilder +msgraph_beta.generated.users.item.devices.provision.ProvisionPostRequestBody::|public|additional_data():dict[str, Any] +msgraph_beta.generated.users.item.devices.provision.ProvisionPostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.users.item.devices.provision.ProvisionPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.users.item.devices.provision.ProvisionPostRequestBody::|public|constructor():None +msgraph_beta.generated.users.item.devices.provision.ProvisionPostRequestBody::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.users.item.devices.provision.ProvisionPostRequestBody::|public|provisioning_blob():str +msgraph_beta.generated.users.item.devices.provision.ProvisionPostRequestBody::|public|provisioning_blob(value:str):None +msgraph_beta.generated.users.item.devices.provision.ProvisionPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.users.item.devices.provision.ProvisionPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):ProvisionPostRequestBody +msgraph_beta.generated.users.item.devices.provision.ProvisionPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.users.item.devices.provision.ProvisionRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.users.item.devices.provision.ProvisionRequestBuilder.ProvisionRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.users.item.devices.provision.ProvisionRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.users.item.devices.provision.ProvisionRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.users.item.devices.provision.ProvisionRequestBuilder::|public|post(body:ProvisionPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):ProvisionResponse +msgraph_beta.generated.users.item.devices.provision.ProvisionRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.users.item.devices.provision.ProvisionRequestBuilder::|public|to_post_request_information(body:ProvisionPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.users.item.devices.provision.ProvisionRequestBuilder::|public|url_template:str +msgraph_beta.generated.users.item.devices.provision.ProvisionRequestBuilder::|public|with_url(raw_url:str):ProvisionRequestBuilder msgraph_beta.generated.users.item.devicesWithDeviceId.DevicesWithDeviceIdRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.users.item.devicesWithDeviceId.DevicesWithDeviceIdRequestBuilder.DevicesWithDeviceIdRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.users.item.devicesWithDeviceId.DevicesWithDeviceIdRequestBuilder.DevicesWithDeviceIdRequestBuilderGetQueryParameters::|public|expand:list[str] @@ -388063,6 +389885,7 @@ msgraph_beta.generated.users.item.distributionLists.item.DistributionListItemReq msgraph_beta.generated.users.item.distributionLists.item.DistributionListItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None msgraph_beta.generated.users.item.distributionLists.item.DistributionListItemRequestBuilder::|public|delete_members:DeleteMembersRequestBuilder msgraph_beta.generated.users.item.distributionLists.item.DistributionListItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[DistributionListItemRequestBuilderGetQueryParameters]):DistributionList +msgraph_beta.generated.users.item.distributionLists.item.DistributionListItemRequestBuilder::|public|members:MembersRequestBuilder msgraph_beta.generated.users.item.distributionLists.item.DistributionListItemRequestBuilder::|public|patch(body:DistributionList; request_configuration?:RequestConfiguration[QueryParameters]):DistributionList msgraph_beta.generated.users.item.distributionLists.item.DistributionListItemRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] msgraph_beta.generated.users.item.distributionLists.item.DistributionListItemRequestBuilder::|public|request_adapter:RequestAdapter @@ -388071,6 +389894,63 @@ msgraph_beta.generated.users.item.distributionLists.item.DistributionListItemReq msgraph_beta.generated.users.item.distributionLists.item.DistributionListItemRequestBuilder::|public|to_patch_request_information(body:DistributionList; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.users.item.distributionLists.item.DistributionListItemRequestBuilder::|public|url_template:str msgraph_beta.generated.users.item.distributionLists.item.DistributionListItemRequestBuilder::|public|with_url(raw_url:str):DistributionListItemRequestBuilder +msgraph_beta.generated.users.item.distributionLists.item.members.count.CountRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.users.item.distributionLists.item.members.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.users.item.distributionLists.item.members.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.users.item.distributionLists.item.members.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.users.item.distributionLists.item.members.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph_beta.generated.users.item.distributionLists.item.members.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.users.item.distributionLists.item.members.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph_beta.generated.users.item.distributionLists.item.members.count.CountRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.users.item.distributionLists.item.members.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.users.item.distributionLists.item.members.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.users.item.distributionLists.item.members.count.CountRequestBuilder::|public|url_template:str +msgraph_beta.generated.users.item.distributionLists.item.members.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph_beta.generated.users.item.distributionLists.item.members.item.contact.ContactRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.users.item.distributionLists.item.members.item.contact.ContactRequestBuilder.ContactRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.users.item.distributionLists.item.members.item.contact.ContactRequestBuilder.ContactRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.users.item.distributionLists.item.members.item.contact.ContactRequestBuilder.ContactRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.users.item.distributionLists.item.members.item.contact.ContactRequestBuilder.ContactRequestBuilderGetRequestConfiguration-->RequestConfiguration[ContactRequestBuilderGetQueryParameters] +msgraph_beta.generated.users.item.distributionLists.item.members.item.contact.ContactRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.users.item.distributionLists.item.members.item.contact.ContactRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ContactRequestBuilderGetQueryParameters]):Contact +msgraph_beta.generated.users.item.distributionLists.item.members.item.contact.ContactRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.users.item.distributionLists.item.members.item.contact.ContactRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.users.item.distributionLists.item.members.item.contact.ContactRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ContactRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.users.item.distributionLists.item.members.item.contact.ContactRequestBuilder::|public|url_template:str +msgraph_beta.generated.users.item.distributionLists.item.members.item.contact.ContactRequestBuilder::|public|with_url(raw_url:str):ContactRequestBuilder +msgraph_beta.generated.users.item.distributionLists.item.members.item.DistributionListMemberItemRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.users.item.distributionLists.item.members.item.DistributionListMemberItemRequestBuilder.DistributionListMemberItemRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.users.item.distributionLists.item.members.item.DistributionListMemberItemRequestBuilder.DistributionListMemberItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.users.item.distributionLists.item.members.item.DistributionListMemberItemRequestBuilder.DistributionListMemberItemRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.users.item.distributionLists.item.members.item.DistributionListMemberItemRequestBuilder.DistributionListMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[DistributionListMemberItemRequestBuilderGetQueryParameters] +msgraph_beta.generated.users.item.distributionLists.item.members.item.DistributionListMemberItemRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.users.item.distributionLists.item.members.item.DistributionListMemberItemRequestBuilder::|public|contact:ContactRequestBuilder +msgraph_beta.generated.users.item.distributionLists.item.members.item.DistributionListMemberItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[DistributionListMemberItemRequestBuilderGetQueryParameters]):DistributionListMember +msgraph_beta.generated.users.item.distributionLists.item.members.item.DistributionListMemberItemRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.users.item.distributionLists.item.members.item.DistributionListMemberItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.users.item.distributionLists.item.members.item.DistributionListMemberItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[DistributionListMemberItemRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.users.item.distributionLists.item.members.item.DistributionListMemberItemRequestBuilder::|public|url_template:str +msgraph_beta.generated.users.item.distributionLists.item.members.item.DistributionListMemberItemRequestBuilder::|public|with_url(raw_url:str):DistributionListMemberItemRequestBuilder +msgraph_beta.generated.users.item.distributionLists.item.members.MembersRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.users.item.distributionLists.item.members.MembersRequestBuilder.MembersRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.users.item.distributionLists.item.members.MembersRequestBuilder.MembersRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.users.item.distributionLists.item.members.MembersRequestBuilder.MembersRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.users.item.distributionLists.item.members.MembersRequestBuilder.MembersRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.users.item.distributionLists.item.members.MembersRequestBuilder.MembersRequestBuilderGetQueryParameters::|public|orderby:list[str] +msgraph_beta.generated.users.item.distributionLists.item.members.MembersRequestBuilder.MembersRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.users.item.distributionLists.item.members.MembersRequestBuilder.MembersRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.users.item.distributionLists.item.members.MembersRequestBuilder.MembersRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.users.item.distributionLists.item.members.MembersRequestBuilder.MembersRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.users.item.distributionLists.item.members.MembersRequestBuilder.MembersRequestBuilderGetRequestConfiguration-->RequestConfiguration[MembersRequestBuilderGetQueryParameters] +msgraph_beta.generated.users.item.distributionLists.item.members.MembersRequestBuilder::|public|by_distribution_list_member_id(distribution_list_member_id:str):DistributionListMemberItemRequestBuilder +msgraph_beta.generated.users.item.distributionLists.item.members.MembersRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.users.item.distributionLists.item.members.MembersRequestBuilder::|public|count:CountRequestBuilder +msgraph_beta.generated.users.item.distributionLists.item.members.MembersRequestBuilder::|public|get(request_configuration?:RequestConfiguration[MembersRequestBuilderGetQueryParameters]):DistributionListMemberCollectionResponse +msgraph_beta.generated.users.item.distributionLists.item.members.MembersRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.users.item.distributionLists.item.members.MembersRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.users.item.distributionLists.item.members.MembersRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[MembersRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.users.item.distributionLists.item.members.MembersRequestBuilder::|public|url_template:str +msgraph_beta.generated.users.item.distributionLists.item.members.MembersRequestBuilder::|public|with_url(raw_url:str):MembersRequestBuilder msgraph_beta.generated.users.item.drive.DriveRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.users.item.drive.DriveRequestBuilder.DriveRequestBuilderGetQueryParameters::|public|expand:list[str] msgraph_beta.generated.users.item.drive.DriveRequestBuilder.DriveRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str @@ -392778,6 +394658,15 @@ msgraph_beta.generated.users.item.managedDevices.item.bypassActivationLock.Bypas msgraph_beta.generated.users.item.managedDevices.item.bypassActivationLock.BypassActivationLockRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.users.item.managedDevices.item.bypassActivationLock.BypassActivationLockRequestBuilder::|public|url_template:str msgraph_beta.generated.users.item.managedDevices.item.bypassActivationLock.BypassActivationLockRequestBuilder::|public|with_url(raw_url:str):BypassActivationLockRequestBuilder +msgraph_beta.generated.users.item.managedDevices.item.cancelEnhancedLogCollection.CancelEnhancedLogCollectionRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.users.item.managedDevices.item.cancelEnhancedLogCollection.CancelEnhancedLogCollectionRequestBuilder.CancelEnhancedLogCollectionRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.users.item.managedDevices.item.cancelEnhancedLogCollection.CancelEnhancedLogCollectionRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.users.item.managedDevices.item.cancelEnhancedLogCollection.CancelEnhancedLogCollectionRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.users.item.managedDevices.item.cancelEnhancedLogCollection.CancelEnhancedLogCollectionRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.users.item.managedDevices.item.cancelEnhancedLogCollection.CancelEnhancedLogCollectionRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.users.item.managedDevices.item.cancelEnhancedLogCollection.CancelEnhancedLogCollectionRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.users.item.managedDevices.item.cancelEnhancedLogCollection.CancelEnhancedLogCollectionRequestBuilder::|public|url_template:str +msgraph_beta.generated.users.item.managedDevices.item.cancelEnhancedLogCollection.CancelEnhancedLogCollectionRequestBuilder::|public|with_url(raw_url:str):CancelEnhancedLogCollectionRequestBuilder msgraph_beta.generated.users.item.managedDevices.item.changeAssignments.ChangeAssignmentsPostRequestBody::|public|additional_data():dict[str, Any] msgraph_beta.generated.users.item.managedDevices.item.changeAssignments.ChangeAssignmentsPostRequestBody::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.users.item.managedDevices.item.changeAssignments.ChangeAssignmentsPostRequestBody::|public|backing_store:BackingStore @@ -393348,6 +395237,7 @@ msgraph_beta.generated.users.item.managedDevices.item.ManagedDeviceItemRequestBu msgraph_beta.generated.users.item.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|activate_device_esim:ActivateDeviceEsimRequestBuilder msgraph_beta.generated.users.item.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|assignment_filter_evaluation_status_details:AssignmentFilterEvaluationStatusDetailsRequestBuilder msgraph_beta.generated.users.item.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|bypass_activation_lock:BypassActivationLockRequestBuilder +msgraph_beta.generated.users.item.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|cancel_enhanced_log_collection:CancelEnhancedLogCollectionRequestBuilder msgraph_beta.generated.users.item.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|change_assignments:ChangeAssignmentsRequestBuilder msgraph_beta.generated.users.item.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|clean_windows_device:CleanWindowsDeviceRequestBuilder msgraph_beta.generated.users.item.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None @@ -393409,6 +395299,7 @@ msgraph_beta.generated.users.item.managedDevices.item.ManagedDeviceItemRequestBu msgraph_beta.generated.users.item.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ManagedDeviceItemRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.users.item.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|to_patch_request_information(body:ManagedDevice; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.users.item.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|trigger_configuration_manager_action:TriggerConfigurationManagerActionRequestBuilder +msgraph_beta.generated.users.item.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|trigger_enhanced_log_collection:TriggerEnhancedLogCollectionRequestBuilder msgraph_beta.generated.users.item.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|update_windows_device_account:UpdateWindowsDeviceAccountRequestBuilder msgraph_beta.generated.users.item.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|url_template:str msgraph_beta.generated.users.item.managedDevices.item.ManagedDeviceItemRequestBuilder::|public|users:UsersRequestBuilder @@ -393914,6 +395805,25 @@ msgraph_beta.generated.users.item.managedDevices.item.triggerConfigurationManage msgraph_beta.generated.users.item.managedDevices.item.triggerConfigurationManagerAction.TriggerConfigurationManagerActionRequestBuilder::|public|to_post_request_information(body:TriggerConfigurationManagerActionPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.users.item.managedDevices.item.triggerConfigurationManagerAction.TriggerConfigurationManagerActionRequestBuilder::|public|url_template:str msgraph_beta.generated.users.item.managedDevices.item.triggerConfigurationManagerAction.TriggerConfigurationManagerActionRequestBuilder::|public|with_url(raw_url:str):TriggerConfigurationManagerActionRequestBuilder +msgraph_beta.generated.users.item.managedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionPostRequestBody::|public|additional_data():dict[str, Any] +msgraph_beta.generated.users.item.managedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionPostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.users.item.managedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionPostRequestBody::|public|apple_care_token():str +msgraph_beta.generated.users.item.managedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionPostRequestBody::|public|apple_care_token(value:str):None +msgraph_beta.generated.users.item.managedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.users.item.managedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionPostRequestBody::|public|constructor():None +msgraph_beta.generated.users.item.managedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionPostRequestBody::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.users.item.managedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.users.item.managedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):TriggerEnhancedLogCollectionPostRequestBody +msgraph_beta.generated.users.item.managedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.users.item.managedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.users.item.managedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionRequestBuilder.TriggerEnhancedLogCollectionRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.users.item.managedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.users.item.managedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.users.item.managedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionRequestBuilder::|public|post(body:TriggerEnhancedLogCollectionPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.users.item.managedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.users.item.managedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionRequestBuilder::|public|to_post_request_information(body:TriggerEnhancedLogCollectionPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.users.item.managedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionRequestBuilder::|public|url_template:str +msgraph_beta.generated.users.item.managedDevices.item.triggerEnhancedLogCollection.TriggerEnhancedLogCollectionRequestBuilder::|public|with_url(raw_url:str):TriggerEnhancedLogCollectionRequestBuilder msgraph_beta.generated.users.item.managedDevices.item.updateWindowsDeviceAccount.UpdateWindowsDeviceAccountPostRequestBody::|public|additional_data():dict[str, Any] msgraph_beta.generated.users.item.managedDevices.item.updateWindowsDeviceAccount.UpdateWindowsDeviceAccountPostRequestBody::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.users.item.managedDevices.item.updateWindowsDeviceAccount.UpdateWindowsDeviceAccountPostRequestBody::|public|backing_store:BackingStore @@ -404963,11 +406873,38 @@ msgraph_beta.generated.users.item.teamwork.sections.item.items.ItemsRequestBuild msgraph_beta.generated.users.item.teamwork.sections.item.items.ItemsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ItemsRequestBuilderGetQueryParameters]):TeamworkSectionItemCollectionResponse msgraph_beta.generated.users.item.teamwork.sections.item.items.ItemsRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] msgraph_beta.generated.users.item.teamwork.sections.item.items.ItemsRequestBuilder::|public|post(body:TeamworkSectionItem; request_configuration?:RequestConfiguration[QueryParameters]):TeamworkSectionItem +msgraph_beta.generated.users.item.teamwork.sections.item.items.ItemsRequestBuilder::|public|reorder:ReorderRequestBuilder msgraph_beta.generated.users.item.teamwork.sections.item.items.ItemsRequestBuilder::|public|request_adapter:RequestAdapter msgraph_beta.generated.users.item.teamwork.sections.item.items.ItemsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ItemsRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.users.item.teamwork.sections.item.items.ItemsRequestBuilder::|public|to_post_request_information(body:TeamworkSectionItem; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.users.item.teamwork.sections.item.items.ItemsRequestBuilder::|public|url_template:str msgraph_beta.generated.users.item.teamwork.sections.item.items.ItemsRequestBuilder::|public|with_url(raw_url:str):ItemsRequestBuilder +msgraph_beta.generated.users.item.teamwork.sections.item.items.reorder.ReorderPostRequestBody::|public|additional_data():dict[str, Any] +msgraph_beta.generated.users.item.teamwork.sections.item.items.reorder.ReorderPostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.users.item.teamwork.sections.item.items.reorder.ReorderPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.users.item.teamwork.sections.item.items.reorder.ReorderPostRequestBody::|public|constructor():None +msgraph_beta.generated.users.item.teamwork.sections.item.items.reorder.ReorderPostRequestBody::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.users.item.teamwork.sections.item.items.reorder.ReorderPostRequestBody::|public|items_order():list[str] +msgraph_beta.generated.users.item.teamwork.sections.item.items.reorder.ReorderPostRequestBody::|public|items_order(value:list[str]):None +msgraph_beta.generated.users.item.teamwork.sections.item.items.reorder.ReorderPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.users.item.teamwork.sections.item.items.reorder.ReorderPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):ReorderPostRequestBody +msgraph_beta.generated.users.item.teamwork.sections.item.items.reorder.ReorderPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.users.item.teamwork.sections.item.items.reorder.ReorderPostResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.users.item.teamwork.sections.item.items.reorder.ReorderPostResponse::|public|constructor():None +msgraph_beta.generated.users.item.teamwork.sections.item.items.reorder.ReorderPostResponse::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.users.item.teamwork.sections.item.items.reorder.ReorderPostResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.users.item.teamwork.sections.item.items.reorder.ReorderPostResponse::|public|value():list[TeamworkSectionItem] +msgraph_beta.generated.users.item.teamwork.sections.item.items.reorder.ReorderPostResponse::|public|value(value:list[TeamworkSectionItem]):None +msgraph_beta.generated.users.item.teamwork.sections.item.items.reorder.ReorderPostResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):ReorderPostResponse +msgraph_beta.generated.users.item.teamwork.sections.item.items.reorder.ReorderRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.users.item.teamwork.sections.item.items.reorder.ReorderRequestBuilder.ReorderRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.users.item.teamwork.sections.item.items.reorder.ReorderRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.users.item.teamwork.sections.item.items.reorder.ReorderRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.users.item.teamwork.sections.item.items.reorder.ReorderRequestBuilder::|public|post(body:ReorderPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):ReorderPostResponse +msgraph_beta.generated.users.item.teamwork.sections.item.items.reorder.ReorderRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.users.item.teamwork.sections.item.items.reorder.ReorderRequestBuilder::|public|to_post_request_information(body:ReorderPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.users.item.teamwork.sections.item.items.reorder.ReorderRequestBuilder::|public|url_template:str +msgraph_beta.generated.users.item.teamwork.sections.item.items.reorder.ReorderRequestBuilder::|public|with_url(raw_url:str):ReorderRequestBuilder msgraph_beta.generated.users.item.teamwork.sections.item.TeamworkSectionItemRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.users.item.teamwork.sections.item.TeamworkSectionItemRequestBuilder.TeamworkSectionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.users.item.teamwork.sections.item.TeamworkSectionItemRequestBuilder.TeamworkSectionItemRequestBuilderGetQueryParameters::|public|expand:list[str] @@ -404987,6 +406924,32 @@ msgraph_beta.generated.users.item.teamwork.sections.item.TeamworkSectionItemRequ msgraph_beta.generated.users.item.teamwork.sections.item.TeamworkSectionItemRequestBuilder::|public|to_patch_request_information(body:TeamworkSection; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.users.item.teamwork.sections.item.TeamworkSectionItemRequestBuilder::|public|url_template:str msgraph_beta.generated.users.item.teamwork.sections.item.TeamworkSectionItemRequestBuilder::|public|with_url(raw_url:str):TeamworkSectionItemRequestBuilder +msgraph_beta.generated.users.item.teamwork.sections.reorder.ReorderPostRequestBody::|public|additional_data():dict[str, Any] +msgraph_beta.generated.users.item.teamwork.sections.reorder.ReorderPostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.users.item.teamwork.sections.reorder.ReorderPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.users.item.teamwork.sections.reorder.ReorderPostRequestBody::|public|constructor():None +msgraph_beta.generated.users.item.teamwork.sections.reorder.ReorderPostRequestBody::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.users.item.teamwork.sections.reorder.ReorderPostRequestBody::|public|sections_order():list[str] +msgraph_beta.generated.users.item.teamwork.sections.reorder.ReorderPostRequestBody::|public|sections_order(value:list[str]):None +msgraph_beta.generated.users.item.teamwork.sections.reorder.ReorderPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.users.item.teamwork.sections.reorder.ReorderPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):ReorderPostRequestBody +msgraph_beta.generated.users.item.teamwork.sections.reorder.ReorderPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.users.item.teamwork.sections.reorder.ReorderPostResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.users.item.teamwork.sections.reorder.ReorderPostResponse::|public|constructor():None +msgraph_beta.generated.users.item.teamwork.sections.reorder.ReorderPostResponse::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.users.item.teamwork.sections.reorder.ReorderPostResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.users.item.teamwork.sections.reorder.ReorderPostResponse::|public|value():list[TeamworkSection] +msgraph_beta.generated.users.item.teamwork.sections.reorder.ReorderPostResponse::|public|value(value:list[TeamworkSection]):None +msgraph_beta.generated.users.item.teamwork.sections.reorder.ReorderPostResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):ReorderPostResponse +msgraph_beta.generated.users.item.teamwork.sections.reorder.ReorderRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.users.item.teamwork.sections.reorder.ReorderRequestBuilder.ReorderRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.users.item.teamwork.sections.reorder.ReorderRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.users.item.teamwork.sections.reorder.ReorderRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.users.item.teamwork.sections.reorder.ReorderRequestBuilder::|public|post(body:ReorderPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):ReorderPostResponse +msgraph_beta.generated.users.item.teamwork.sections.reorder.ReorderRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.users.item.teamwork.sections.reorder.ReorderRequestBuilder::|public|to_post_request_information(body:ReorderPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.users.item.teamwork.sections.reorder.ReorderRequestBuilder::|public|url_template:str +msgraph_beta.generated.users.item.teamwork.sections.reorder.ReorderRequestBuilder::|public|with_url(raw_url:str):ReorderRequestBuilder msgraph_beta.generated.users.item.teamwork.sections.SectionsRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.users.item.teamwork.sections.SectionsRequestBuilder.SectionsRequestBuilderGetQueryParameters::|public|count:bool msgraph_beta.generated.users.item.teamwork.sections.SectionsRequestBuilder.SectionsRequestBuilderGetQueryParameters::|public|expand:list[str] @@ -405005,6 +406968,7 @@ msgraph_beta.generated.users.item.teamwork.sections.SectionsRequestBuilder::|pub msgraph_beta.generated.users.item.teamwork.sections.SectionsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[SectionsRequestBuilderGetQueryParameters]):TeamworkSectionCollectionResponse msgraph_beta.generated.users.item.teamwork.sections.SectionsRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] msgraph_beta.generated.users.item.teamwork.sections.SectionsRequestBuilder::|public|post(body:TeamworkSection; request_configuration?:RequestConfiguration[QueryParameters]):TeamworkSection +msgraph_beta.generated.users.item.teamwork.sections.SectionsRequestBuilder::|public|reorder:ReorderRequestBuilder msgraph_beta.generated.users.item.teamwork.sections.SectionsRequestBuilder::|public|request_adapter:RequestAdapter msgraph_beta.generated.users.item.teamwork.sections.SectionsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[SectionsRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.users.item.teamwork.sections.SectionsRequestBuilder::|public|to_post_request_information(body:TeamworkSection; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation diff --git a/msgraph_beta/generated/kiota-lock.json b/msgraph_beta/generated/kiota-lock.json index d023a2337ff..f103402e51e 100644 --- a/msgraph_beta/generated/kiota-lock.json +++ b/msgraph_beta/generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "6B168C4DEA89F82CE7BD09222A01A433A0036A725829803C8823F3F39E7C5E29157E30C4118F0A1971427E16A837D247B32B8DF75EB3CBD4D597E5CBC2E83E9E", + "descriptionHash": "8A0FD4D573BF8AA4241DC7FF7E805BA5AE81B3F877F8092F6AD895D962F4AD0B5B3CBA20F63527848E6B8D5D57502A636C49C8014F787D57EFEE2FB4E9D14C91", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.34.1", diff --git a/msgraph_beta/generated/models/access_package_assignment_request.py b/msgraph_beta/generated/models/access_package_assignment_request.py index 6fa8334e29e..841c5352752 100644 --- a/msgraph_beta/generated/models/access_package_assignment_request.py +++ b/msgraph_beta/generated/models/access_package_assignment_request.py @@ -9,6 +9,7 @@ from .access_package import AccessPackage from .access_package_answer import AccessPackageAnswer from .access_package_assignment import AccessPackageAssignment + from .access_package_assignment_request_parameters import AccessPackageAssignmentRequestParameters from .access_package_subject import AccessPackageSubject from .custom_extension_callout_instance import CustomExtensionCalloutInstance from .custom_extension_handler_instance import CustomExtensionHandlerInstance @@ -45,6 +46,8 @@ class AccessPackageAssignmentRequest(Entity, Parsable): justification: Optional[str] = None # The OdataType property odata_type: Optional[str] = None + # Additional parameters that control how the request is processed, such as bypassing the approval requirement configured on the access package policy. + parameters: Optional[AccessPackageAssignmentRequestParameters] = None # One of PendingApproval, Canceled, Denied, Delivering, Delivered, PartiallyDelivered, DeliveryFailed, Submitted, or Scheduled. Read-only. request_state: Optional[str] = None # More information on the request processing status. Read-only. @@ -77,6 +80,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .access_package import AccessPackage from .access_package_answer import AccessPackageAnswer from .access_package_assignment import AccessPackageAssignment + from .access_package_assignment_request_parameters import AccessPackageAssignmentRequestParameters from .access_package_subject import AccessPackageSubject from .custom_extension_callout_instance import CustomExtensionCalloutInstance from .custom_extension_handler_instance import CustomExtensionHandlerInstance @@ -88,6 +92,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .access_package import AccessPackage from .access_package_answer import AccessPackageAnswer from .access_package_assignment import AccessPackageAssignment + from .access_package_assignment_request_parameters import AccessPackageAssignmentRequestParameters from .access_package_subject import AccessPackageSubject from .custom_extension_callout_instance import CustomExtensionCalloutInstance from .custom_extension_handler_instance import CustomExtensionHandlerInstance @@ -108,6 +113,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: "history": lambda n : setattr(self, 'history', n.get_collection_of_object_values(RequestActivity)), "isValidationOnly": lambda n : setattr(self, 'is_validation_only', n.get_bool_value()), "justification": lambda n : setattr(self, 'justification', n.get_str_value()), + "parameters": lambda n : setattr(self, 'parameters', n.get_object_value(AccessPackageAssignmentRequestParameters)), "requestState": lambda n : setattr(self, 'request_state', n.get_str_value()), "requestStatus": lambda n : setattr(self, 'request_status', n.get_str_value()), "requestType": lambda n : setattr(self, 'request_type', n.get_str_value()), @@ -139,6 +145,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_collection_of_object_values("history", self.history) writer.write_bool_value("isValidationOnly", self.is_validation_only) writer.write_str_value("justification", self.justification) + writer.write_object_value("parameters", self.parameters) writer.write_str_value("requestState", self.request_state) writer.write_str_value("requestStatus", self.request_status) writer.write_str_value("requestType", self.request_type) diff --git a/msgraph_beta/generated/models/file_storage_container_type_agent_settings.py b/msgraph_beta/generated/models/access_package_assignment_request_parameters.py similarity index 76% rename from msgraph_beta/generated/models/file_storage_container_type_agent_settings.py rename to msgraph_beta/generated/models/access_package_assignment_request_parameters.py index 47f10934563..a5125b1ba0a 100644 --- a/msgraph_beta/generated/models/file_storage_container_type_agent_settings.py +++ b/msgraph_beta/generated/models/access_package_assignment_request_parameters.py @@ -6,27 +6,27 @@ from typing import Any, Optional, TYPE_CHECKING, Union @dataclass -class FileStorageContainerTypeAgentSettings(AdditionalDataHolder, BackedModel, Parsable): +class AccessPackageAssignmentRequestParameters(AdditionalDataHolder, BackedModel, Parsable): # Stores model information. backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # Determines which host URLs are allowed to embed the agent chat experience. Limited to 10 hosts. - chat_embed_allowed_hosts: Optional[list[str]] = None + # When true, bypasses the approval requirement configured on the access package policy for this request. The default value is false. + bypass_approval: Optional[bool] = None # The OdataType property odata_type: Optional[str] = None @staticmethod - def create_from_discriminator_value(parse_node: ParseNode) -> FileStorageContainerTypeAgentSettings: + def create_from_discriminator_value(parse_node: ParseNode) -> AccessPackageAssignmentRequestParameters: """ Creates a new instance of the appropriate class based on discriminator value param parse_node: The parse node to use to read the discriminator value and create the object - Returns: FileStorageContainerTypeAgentSettings + Returns: AccessPackageAssignmentRequestParameters """ if parse_node is None: raise TypeError("parse_node cannot be null.") - return FileStorageContainerTypeAgentSettings() + return AccessPackageAssignmentRequestParameters() def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: """ @@ -34,7 +34,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: Returns: dict[str, Callable[[ParseNode], None]] """ fields: dict[str, Callable[[Any], None]] = { - "chatEmbedAllowedHosts": lambda n : setattr(self, 'chat_embed_allowed_hosts', n.get_collection_of_primitive_values(str)), + "bypassApproval": lambda n : setattr(self, 'bypass_approval', n.get_bool_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), } return fields @@ -47,7 +47,7 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") - writer.write_collection_of_primitive_values("chatEmbedAllowedHosts", self.chat_embed_allowed_hosts) + writer.write_bool_value("bypassApproval", self.bypass_approval) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/agent_blueprint_api_based_endpoint_configuration_details.py b/msgraph_beta/generated/models/agent_blueprint_api_based_endpoint_configuration_details.py new file mode 100644 index 00000000000..0196b696f9c --- /dev/null +++ b/msgraph_beta/generated/models/agent_blueprint_api_based_endpoint_configuration_details.py @@ -0,0 +1,54 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class AgentBlueprintApiBasedEndpointConfigurationDetails(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The absolute HTTPS URI that Teams posts agent message events to. + callback_uri: Optional[str] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AgentBlueprintApiBasedEndpointConfigurationDetails: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: AgentBlueprintApiBasedEndpointConfigurationDetails + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AgentBlueprintApiBasedEndpointConfigurationDetails() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "callbackUri": lambda n : setattr(self, 'callback_uri', n.get_str_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("callbackUri", self.callback_uri) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/agent_blueprint_bot_based_endpoint_configuration_details.py b/msgraph_beta/generated/models/agent_blueprint_bot_based_endpoint_configuration_details.py new file mode 100644 index 00000000000..7f33cdeefdc --- /dev/null +++ b/msgraph_beta/generated/models/agent_blueprint_bot_based_endpoint_configuration_details.py @@ -0,0 +1,54 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class AgentBlueprintBotBasedEndpointConfigurationDetails(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The identifier of the bot that Teams uses to deliver messages to the agent through the Bot Framework. + bot_id: Optional[str] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AgentBlueprintBotBasedEndpointConfigurationDetails: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: AgentBlueprintBotBasedEndpointConfigurationDetails + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AgentBlueprintBotBasedEndpointConfigurationDetails() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "botId": lambda n : setattr(self, 'bot_id', n.get_str_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("botId", self.bot_id) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/agent_communication_configuration.py b/msgraph_beta/generated/models/agent_communication_configuration.py new file mode 100644 index 00000000000..463c4927db3 --- /dev/null +++ b/msgraph_beta/generated/models/agent_communication_configuration.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .agent_endpoint_configuration import AgentEndpointConfiguration + from .agent_teamwork_configuration import AgentTeamworkConfiguration + from .entity import Entity + +from .entity import Entity + +@dataclass +class AgentCommunicationConfiguration(Entity, Parsable): + # The endpoint binding (bot ID or callback URI) that the agent uses to receive messages. + endpoint_configuration: Optional[AgentEndpointConfiguration] = None + # Indicates whether individual agent instances created from this blueprint can override the endpointConfiguration. When true, each instance can override it; when false, every instance inherits it. Not nullable. + is_overridable_at_agent_id_level: Optional[bool] = None + # The OdataType property + odata_type: Optional[str] = None + # The per-conversation-context message notification settings (group chat, channel, one-on-one chat, and meeting chat) that agents use. + teamwork_configuration: Optional[AgentTeamworkConfiguration] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AgentCommunicationConfiguration: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: AgentCommunicationConfiguration + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AgentCommunicationConfiguration() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .agent_endpoint_configuration import AgentEndpointConfiguration + from .agent_teamwork_configuration import AgentTeamworkConfiguration + from .entity import Entity + + from .agent_endpoint_configuration import AgentEndpointConfiguration + from .agent_teamwork_configuration import AgentTeamworkConfiguration + from .entity import Entity + + fields: dict[str, Callable[[Any], None]] = { + "endpointConfiguration": lambda n : setattr(self, 'endpoint_configuration', n.get_object_value(AgentEndpointConfiguration)), + "isOverridableAtAgentIdLevel": lambda n : setattr(self, 'is_overridable_at_agent_id_level', n.get_bool_value()), + "teamworkConfiguration": lambda n : setattr(self, 'teamwork_configuration', n.get_object_value(AgentTeamworkConfiguration)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_object_value("endpointConfiguration", self.endpoint_configuration) + writer.write_bool_value("isOverridableAtAgentIdLevel", self.is_overridable_at_agent_id_level) + writer.write_object_value("teamworkConfiguration", self.teamwork_configuration) + + diff --git a/msgraph_beta/generated/models/agent_conversation_configuration.py b/msgraph_beta/generated/models/agent_conversation_configuration.py new file mode 100644 index 00000000000..a3914897d40 --- /dev/null +++ b/msgraph_beta/generated/models/agent_conversation_configuration.py @@ -0,0 +1,61 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .agent_message_notification_mode import AgentMessageNotificationMode + +@dataclass +class AgentConversationConfiguration(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The messageNotificationMode property + message_notification_mode: Optional[AgentMessageNotificationMode] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AgentConversationConfiguration: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: AgentConversationConfiguration + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AgentConversationConfiguration() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .agent_message_notification_mode import AgentMessageNotificationMode + + from .agent_message_notification_mode import AgentMessageNotificationMode + + fields: dict[str, Callable[[Any], None]] = { + "messageNotificationMode": lambda n : setattr(self, 'message_notification_mode', n.get_enum_value(AgentMessageNotificationMode)), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_enum_value("messageNotificationMode", self.message_notification_mode) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/agent_endpoint_configuration.py b/msgraph_beta/generated/models/agent_endpoint_configuration.py new file mode 100644 index 00000000000..be9da1109f3 --- /dev/null +++ b/msgraph_beta/generated/models/agent_endpoint_configuration.py @@ -0,0 +1,75 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .agent_blueprint_api_based_endpoint_configuration_details import AgentBlueprintApiBasedEndpointConfigurationDetails + from .agent_blueprint_bot_based_endpoint_configuration_details import AgentBlueprintBotBasedEndpointConfigurationDetails + from .agent_endpoint_configuration_type import AgentEndpointConfigurationType + +@dataclass +class AgentEndpointConfiguration(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The API-based endpoint details. Populated when configurationType is apiBased; carries the callback URI that Teams posts to. Must be null when configurationType is botBased. + api_based: Optional[AgentBlueprintApiBasedEndpointConfigurationDetails] = None + # The bot-based endpoint details. Populated when configurationType is botBased; carries the bot ID that Teams messages. Must be null when configurationType is apiBased. + bot_based: Optional[AgentBlueprintBotBasedEndpointConfigurationDetails] = None + # The configurationType property + configuration_type: Optional[AgentEndpointConfigurationType] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AgentEndpointConfiguration: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: AgentEndpointConfiguration + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AgentEndpointConfiguration() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .agent_blueprint_api_based_endpoint_configuration_details import AgentBlueprintApiBasedEndpointConfigurationDetails + from .agent_blueprint_bot_based_endpoint_configuration_details import AgentBlueprintBotBasedEndpointConfigurationDetails + from .agent_endpoint_configuration_type import AgentEndpointConfigurationType + + from .agent_blueprint_api_based_endpoint_configuration_details import AgentBlueprintApiBasedEndpointConfigurationDetails + from .agent_blueprint_bot_based_endpoint_configuration_details import AgentBlueprintBotBasedEndpointConfigurationDetails + from .agent_endpoint_configuration_type import AgentEndpointConfigurationType + + fields: dict[str, Callable[[Any], None]] = { + "apiBased": lambda n : setattr(self, 'api_based', n.get_object_value(AgentBlueprintApiBasedEndpointConfigurationDetails)), + "botBased": lambda n : setattr(self, 'bot_based', n.get_object_value(AgentBlueprintBotBasedEndpointConfigurationDetails)), + "configurationType": lambda n : setattr(self, 'configuration_type', n.get_enum_value(AgentEndpointConfigurationType)), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_object_value("apiBased", self.api_based) + writer.write_object_value("botBased", self.bot_based) + writer.write_enum_value("configurationType", self.configuration_type) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/agent_endpoint_configuration_type.py b/msgraph_beta/generated/models/agent_endpoint_configuration_type.py new file mode 100644 index 00000000000..c994393ee82 --- /dev/null +++ b/msgraph_beta/generated/models/agent_endpoint_configuration_type.py @@ -0,0 +1,7 @@ +from enum import Enum + +class AgentEndpointConfigurationType(str, Enum): + ApiBased = "apiBased", + BotBased = "botBased", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/agent_identity.py b/msgraph_beta/generated/models/agent_identity.py index 0b0034aeccb..f489286376b 100644 --- a/msgraph_beta/generated/models/agent_identity.py +++ b/msgraph_beta/generated/models/agent_identity.py @@ -4,8 +4,10 @@ from dataclasses import dataclass, field from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter from typing import Any, Optional, TYPE_CHECKING, Union +from uuid import UUID if TYPE_CHECKING: + from .agent_communication_configuration import AgentCommunicationConfiguration from .app_role_assignment import AppRoleAssignment from .directory_object import DirectoryObject from .o_auth2_permission_grant import OAuth2PermissionGrant @@ -19,12 +21,16 @@ class AgentIdentity(ServicePrincipal, Parsable): odata_type: Optional[str] = "#microsoft.graph.agentIdentity" # The appId of the agent identity blueprint that defines the configuration for this agent identity. agent_identity_blueprint_id: Optional[str] = None + # The effective communication configuration for this agent identity. Represents the agent identity-level override that resolves on top of the configuration inherited from the agent identity blueprint. + communication_configuration: Optional[AgentCommunicationConfiguration] = None # The date and time the agent identity was created. Read-only. Inherited from servicePrincipal. created_date_time: Optional[datetime.datetime] = None # Application role assignments that this agent identity inherits from its parent Agent Identity Blueprint service principal. Read-only. Nullable. inherited_app_role_assignments: Optional[list[AppRoleAssignment]] = None # Delegated permission grants that this agent identity inherits from its parent Agent Identity Blueprint service principal. Read-only. Nullable. inherited_oauth2_permission_grants: Optional[list[OAuth2PermissionGrant]] = None + # The collection of application IDs designated as managers of this agent identity's backing agentIdentityBlueprint. Read-only; the value is server-managed and reflects the managerApplications of the backing agentIdentityBlueprint. To change the managers, an owner or administrator must update the managerApplications property on the backing agentIdentityBlueprint in the tenant where it's registered. For multitenant agent identity blueprints, admins in a tenant where the blueprint is only consumed can't make this change — they must ask an owner or administrator in the blueprint's home tenant. Not nullable. Returned only on $select. + manager_applications: Optional[list[UUID]] = None # The sponsors for this agent identity. sponsors: Optional[list[DirectoryObject]] = None @@ -44,11 +50,13 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ + from .agent_communication_configuration import AgentCommunicationConfiguration from .app_role_assignment import AppRoleAssignment from .directory_object import DirectoryObject from .o_auth2_permission_grant import OAuth2PermissionGrant from .service_principal import ServicePrincipal + from .agent_communication_configuration import AgentCommunicationConfiguration from .app_role_assignment import AppRoleAssignment from .directory_object import DirectoryObject from .o_auth2_permission_grant import OAuth2PermissionGrant @@ -56,9 +64,11 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: fields: dict[str, Callable[[Any], None]] = { "agentIdentityBlueprintId": lambda n : setattr(self, 'agent_identity_blueprint_id', n.get_str_value()), + "communicationConfiguration": lambda n : setattr(self, 'communication_configuration', n.get_object_value(AgentCommunicationConfiguration)), "createdDateTime": lambda n : setattr(self, 'created_date_time', n.get_datetime_value()), "inheritedAppRoleAssignments": lambda n : setattr(self, 'inherited_app_role_assignments', n.get_collection_of_object_values(AppRoleAssignment)), "inheritedOauth2PermissionGrants": lambda n : setattr(self, 'inherited_oauth2_permission_grants', n.get_collection_of_object_values(OAuth2PermissionGrant)), + "managerApplications": lambda n : setattr(self, 'manager_applications', n.get_collection_of_primitive_values(UUID)), "sponsors": lambda n : setattr(self, 'sponsors', n.get_collection_of_object_values(DirectoryObject)), } super_fields = super().get_field_deserializers() @@ -75,6 +85,7 @@ def serialize(self,writer: SerializationWriter) -> None: raise TypeError("writer cannot be null.") super().serialize(writer) writer.write_str_value("agentIdentityBlueprintId", self.agent_identity_blueprint_id) + writer.write_object_value("communicationConfiguration", self.communication_configuration) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_collection_of_object_values("inheritedAppRoleAssignments", self.inherited_app_role_assignments) writer.write_collection_of_object_values("inheritedOauth2PermissionGrants", self.inherited_oauth2_permission_grants) diff --git a/msgraph_beta/generated/models/agent_identity_blueprint.py b/msgraph_beta/generated/models/agent_identity_blueprint.py index 8ae0145eb41..bc91615b823 100644 --- a/msgraph_beta/generated/models/agent_identity_blueprint.py +++ b/msgraph_beta/generated/models/agent_identity_blueprint.py @@ -5,6 +5,7 @@ from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: + from .agent_communication_configuration import AgentCommunicationConfiguration from .application import Application from .directory_object import DirectoryObject from .inheritable_permission import InheritablePermission @@ -15,6 +16,8 @@ class AgentIdentityBlueprint(Application, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.agentIdentityBlueprint" + # The default communication configuration for agent identities created from this agent identity blueprint. Agent identities inherit this configuration unless they define their own override. + communication_configuration: Optional[AgentCommunicationConfiguration] = None # Defines scopes of a resource application that may be automatically granted to agent identities without additional consent. inheritable_permissions: Optional[list[InheritablePermission]] = None # The sponsors for this agent identity blueprint. Sponsors are users or groups who can authorize and manage the lifecycle of agent identity instances. Required during the create operation. @@ -36,15 +39,18 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ + from .agent_communication_configuration import AgentCommunicationConfiguration from .application import Application from .directory_object import DirectoryObject from .inheritable_permission import InheritablePermission + from .agent_communication_configuration import AgentCommunicationConfiguration from .application import Application from .directory_object import DirectoryObject from .inheritable_permission import InheritablePermission fields: dict[str, Callable[[Any], None]] = { + "communicationConfiguration": lambda n : setattr(self, 'communication_configuration', n.get_object_value(AgentCommunicationConfiguration)), "inheritablePermissions": lambda n : setattr(self, 'inheritable_permissions', n.get_collection_of_object_values(InheritablePermission)), "sponsors": lambda n : setattr(self, 'sponsors', n.get_collection_of_object_values(DirectoryObject)), } @@ -61,6 +67,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + writer.write_object_value("communicationConfiguration", self.communication_configuration) writer.write_collection_of_object_values("inheritablePermissions", self.inheritable_permissions) writer.write_collection_of_object_values("sponsors", self.sponsors) diff --git a/msgraph_beta/generated/models/agent_identity_blueprint_principal.py b/msgraph_beta/generated/models/agent_identity_blueprint_principal.py index a508562f63b..98200950915 100644 --- a/msgraph_beta/generated/models/agent_identity_blueprint_principal.py +++ b/msgraph_beta/generated/models/agent_identity_blueprint_principal.py @@ -3,6 +3,7 @@ from dataclasses import dataclass, field from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter from typing import Any, Optional, TYPE_CHECKING, Union +from uuid import UUID if TYPE_CHECKING: from .directory_object import DirectoryObject @@ -14,6 +15,8 @@ class AgentIdentityBlueprintPrincipal(ServicePrincipal, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.agentIdentityBlueprintPrincipal" + # The collection of application IDs designated as managers of this agent identity blueprint principal's backing agentIdentityBlueprint. Read-only; the value is server-managed and reflects the managerApplications of the backing agentIdentityBlueprint. To change the managers, an owner or administrator must update the managerApplications property on the backing agentIdentityBlueprint in the tenant where it's registered. For multitenant agent identity blueprints, admins in a tenant where the blueprint is only consumed can't make this change — they must ask an owner or administrator in the blueprint's home tenant. Not nullable. Returned only on $select. + manager_applications: Optional[list[UUID]] = None # The sponsors for this agent identity blueprint principal. Sponsors are users or service principals who can authorize and manage the lifecycle of agent identity instances. sponsors: Optional[list[DirectoryObject]] = None @@ -40,6 +43,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .service_principal import ServicePrincipal fields: dict[str, Callable[[Any], None]] = { + "managerApplications": lambda n : setattr(self, 'manager_applications', n.get_collection_of_primitive_values(UUID)), "sponsors": lambda n : setattr(self, 'sponsors', n.get_collection_of_object_values(DirectoryObject)), } super_fields = super().get_field_deserializers() diff --git a/msgraph_beta/generated/models/agent_identity_type.py b/msgraph_beta/generated/models/agent_identity_type.py index eed91b2b3f2..1de1db9041f 100644 --- a/msgraph_beta/generated/models/agent_identity_type.py +++ b/msgraph_beta/generated/models/agent_identity_type.py @@ -6,4 +6,5 @@ class AgentIdentityType(str, Enum): UnknownFutureValue = "unknownFutureValue", AgentIdentityBlueprintPrincipal = "agentIdentityBlueprintPrincipal", User = "user", + DiscoveredAgentIdentity = "discoveredAgentIdentity", diff --git a/msgraph_beta/generated/models/agent_message_notification_mode.py b/msgraph_beta/generated/models/agent_message_notification_mode.py new file mode 100644 index 00000000000..a7d54d9d104 --- /dev/null +++ b/msgraph_beta/generated/models/agent_message_notification_mode.py @@ -0,0 +1,7 @@ +from enum import Enum + +class AgentMessageNotificationMode(str, Enum): + AtMentionedMessagesOnly = "atMentionedMessagesOnly", + AllMessages = "allMessages", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/agent_teamwork_configuration.py b/msgraph_beta/generated/models/agent_teamwork_configuration.py new file mode 100644 index 00000000000..bdf8e1ab2f2 --- /dev/null +++ b/msgraph_beta/generated/models/agent_teamwork_configuration.py @@ -0,0 +1,73 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .agent_conversation_configuration import AgentConversationConfiguration + +@dataclass +class AgentTeamworkConfiguration(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The message notification settings that the agent uses in channels. + channel_configuration: Optional[AgentConversationConfiguration] = None + # The message notification settings that the agent uses in group chats. + group_chat_configuration: Optional[AgentConversationConfiguration] = None + # The message notification settings that the agent uses in meeting chats. + meeting_chat_configuration: Optional[AgentConversationConfiguration] = None + # The OdataType property + odata_type: Optional[str] = None + # The message notification settings that the agent uses in one-on-one chats. + one_on_one_chat_configuration: Optional[AgentConversationConfiguration] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AgentTeamworkConfiguration: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: AgentTeamworkConfiguration + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AgentTeamworkConfiguration() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .agent_conversation_configuration import AgentConversationConfiguration + + from .agent_conversation_configuration import AgentConversationConfiguration + + fields: dict[str, Callable[[Any], None]] = { + "channelConfiguration": lambda n : setattr(self, 'channel_configuration', n.get_object_value(AgentConversationConfiguration)), + "groupChatConfiguration": lambda n : setattr(self, 'group_chat_configuration', n.get_object_value(AgentConversationConfiguration)), + "meetingChatConfiguration": lambda n : setattr(self, 'meeting_chat_configuration', n.get_object_value(AgentConversationConfiguration)), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "oneOnOneChatConfiguration": lambda n : setattr(self, 'one_on_one_chat_configuration', n.get_object_value(AgentConversationConfiguration)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_object_value("channelConfiguration", self.channel_configuration) + writer.write_object_value("groupChatConfiguration", self.group_chat_configuration) + writer.write_object_value("meetingChatConfiguration", self.meeting_chat_configuration) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_object_value("oneOnOneChatConfiguration", self.one_on_one_chat_configuration) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/android_managed_app_protection.py b/msgraph_beta/generated/models/android_managed_app_protection.py index 1dd139195e1..e1c35383647 100644 --- a/msgraph_beta/generated/models/android_managed_app_protection.py +++ b/msgraph_beta/generated/models/android_managed_app_protection.py @@ -37,6 +37,8 @@ class AndroidManagedAppProtection(TargetedManagedAppProtection, Parsable): app_action_if_android_safety_net_apps_verification_failed: Optional[ManagedAppRemediationAction] = None # An admin initiated action to be applied on a managed app. app_action_if_android_safety_net_device_attestation_failed: Optional[ManagedAppRemediationAction] = None + # Defines a managed app behavior, either warn, block, or wipe, if Developer Options are enabled on the Android device. If the admin does not set this action, the default is null, which indicates this setting is not configured. + app_action_if_developer_options_enabled: Optional[ManagedAppRemediationAction] = None # An admin initiated action to be applied on a managed app. app_action_if_device_lock_not_set: Optional[ManagedAppRemediationAction] = None # If the device does not have a passcode of high complexity or higher, trigger the stored action. Possible values are: block, wipe, warn, blockWhenSettingIsSupported. @@ -156,6 +158,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: "appActionIfAndroidDeviceModelNotAllowed": lambda n : setattr(self, 'app_action_if_android_device_model_not_allowed', n.get_enum_value(ManagedAppRemediationAction)), "appActionIfAndroidSafetyNetAppsVerificationFailed": lambda n : setattr(self, 'app_action_if_android_safety_net_apps_verification_failed', n.get_enum_value(ManagedAppRemediationAction)), "appActionIfAndroidSafetyNetDeviceAttestationFailed": lambda n : setattr(self, 'app_action_if_android_safety_net_device_attestation_failed', n.get_enum_value(ManagedAppRemediationAction)), + "appActionIfDeveloperOptionsEnabled": lambda n : setattr(self, 'app_action_if_developer_options_enabled', n.get_enum_value(ManagedAppRemediationAction)), "appActionIfDeviceLockNotSet": lambda n : setattr(self, 'app_action_if_device_lock_not_set', n.get_enum_value(ManagedAppRemediationAction)), "appActionIfDevicePasscodeComplexityLessThanHigh": lambda n : setattr(self, 'app_action_if_device_passcode_complexity_less_than_high', n.get_enum_value(ManagedAppRemediationAction)), "appActionIfDevicePasscodeComplexityLessThanLow": lambda n : setattr(self, 'app_action_if_device_passcode_complexity_less_than_low', n.get_enum_value(ManagedAppRemediationAction)), @@ -215,6 +218,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_enum_value("appActionIfAndroidDeviceModelNotAllowed", self.app_action_if_android_device_model_not_allowed) writer.write_enum_value("appActionIfAndroidSafetyNetAppsVerificationFailed", self.app_action_if_android_safety_net_apps_verification_failed) writer.write_enum_value("appActionIfAndroidSafetyNetDeviceAttestationFailed", self.app_action_if_android_safety_net_device_attestation_failed) + writer.write_enum_value("appActionIfDeveloperOptionsEnabled", self.app_action_if_developer_options_enabled) writer.write_enum_value("appActionIfDeviceLockNotSet", self.app_action_if_device_lock_not_set) writer.write_enum_value("appActionIfDevicePasscodeComplexityLessThanHigh", self.app_action_if_device_passcode_complexity_less_than_high) writer.write_enum_value("appActionIfDevicePasscodeComplexityLessThanLow", self.app_action_if_device_passcode_complexity_less_than_low) diff --git a/msgraph_beta/generated/models/tenant_governance_services/permission_type.py b/msgraph_beta/generated/models/application_permission_type.py similarity index 89% rename from msgraph_beta/generated/models/tenant_governance_services/permission_type.py rename to msgraph_beta/generated/models/application_permission_type.py index f03f3eb02dd..908d67d60c2 100644 --- a/msgraph_beta/generated/models/tenant_governance_services/permission_type.py +++ b/msgraph_beta/generated/models/application_permission_type.py @@ -1,6 +1,6 @@ from enum import Enum -class PermissionType(str, Enum): +class ApplicationPermissionType(str, Enum): # Represents a type of permission that is for an app only scenario. No user is involved. Role = "role", # Represents a type of permission that is for an app and user scenario. diff --git a/msgraph_beta/generated/models/tenant_governance_services/resource_permission.py b/msgraph_beta/generated/models/application_resource_permission.py similarity index 81% rename from msgraph_beta/generated/models/tenant_governance_services/resource_permission.py rename to msgraph_beta/generated/models/application_resource_permission.py index eb7ac21d7f5..cbb829b9e45 100644 --- a/msgraph_beta/generated/models/tenant_governance_services/resource_permission.py +++ b/msgraph_beta/generated/models/application_resource_permission.py @@ -6,49 +6,49 @@ from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from .permission_type import PermissionType + from .application_permission_type import ApplicationPermissionType @dataclass -class ResourcePermission(AdditionalDataHolder, BackedModel, Parsable): +class ApplicationResourcePermission(AdditionalDataHolder, BackedModel, Parsable): # Stores model information. backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # The unique identifier of the permission. + # The id property id: Optional[str] = None - # The name of the permission. + # The name property name: Optional[str] = None # The OdataType property odata_type: Optional[str] = None # The type property - type: Optional[PermissionType] = None + type: Optional[ApplicationPermissionType] = None @staticmethod - def create_from_discriminator_value(parse_node: ParseNode) -> ResourcePermission: + def create_from_discriminator_value(parse_node: ParseNode) -> ApplicationResourcePermission: """ Creates a new instance of the appropriate class based on discriminator value param parse_node: The parse node to use to read the discriminator value and create the object - Returns: ResourcePermission + Returns: ApplicationResourcePermission """ if parse_node is None: raise TypeError("parse_node cannot be null.") - return ResourcePermission() + return ApplicationResourcePermission() def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: """ The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ - from .permission_type import PermissionType + from .application_permission_type import ApplicationPermissionType - from .permission_type import PermissionType + from .application_permission_type import ApplicationPermissionType fields: dict[str, Callable[[Any], None]] = { "id": lambda n : setattr(self, 'id', n.get_str_value()), "name": lambda n : setattr(self, 'name', n.get_str_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), - "type": lambda n : setattr(self, 'type', n.get_enum_value(PermissionType)), + "type": lambda n : setattr(self, 'type', n.get_enum_value(ApplicationPermissionType)), } return fields diff --git a/msgraph_beta/generated/models/tenant_governance_services/required_resource_access.py b/msgraph_beta/generated/models/applications_required_resource_access.py similarity index 78% rename from msgraph_beta/generated/models/tenant_governance_services/required_resource_access.py rename to msgraph_beta/generated/models/applications_required_resource_access.py index e6cf0196b08..6854d3fe4b8 100644 --- a/msgraph_beta/generated/models/tenant_governance_services/required_resource_access.py +++ b/msgraph_beta/generated/models/applications_required_resource_access.py @@ -6,10 +6,10 @@ from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from .resource_permission import ResourcePermission + from .application_resource_permission import ApplicationResourcePermission @dataclass -class RequiredResourceAccess(AdditionalDataHolder, BackedModel, Parsable): +class ApplicationsRequiredResourceAccess(AdditionalDataHolder, BackedModel, Parsable): # Stores model information. backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) @@ -17,34 +17,34 @@ class RequiredResourceAccess(AdditionalDataHolder, BackedModel, Parsable): additional_data: dict[str, Any] = field(default_factory=dict) # The OdataType property odata_type: Optional[str] = None - # The collection of resource permissions required by the application. - permissions: Optional[list[ResourcePermission]] = None - # The appId (client ID) of the resource that the application needs to access. + # The permissions property + permissions: Optional[list[ApplicationResourcePermission]] = None + # The resourceAppId property resource_app_id: Optional[str] = None @staticmethod - def create_from_discriminator_value(parse_node: ParseNode) -> RequiredResourceAccess: + def create_from_discriminator_value(parse_node: ParseNode) -> ApplicationsRequiredResourceAccess: """ Creates a new instance of the appropriate class based on discriminator value param parse_node: The parse node to use to read the discriminator value and create the object - Returns: RequiredResourceAccess + Returns: ApplicationsRequiredResourceAccess """ if parse_node is None: raise TypeError("parse_node cannot be null.") - return RequiredResourceAccess() + return ApplicationsRequiredResourceAccess() def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: """ The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ - from .resource_permission import ResourcePermission + from .application_resource_permission import ApplicationResourcePermission - from .resource_permission import ResourcePermission + from .application_resource_permission import ApplicationResourcePermission fields: dict[str, Callable[[Any], None]] = { "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), - "permissions": lambda n : setattr(self, 'permissions', n.get_collection_of_object_values(ResourcePermission)), + "permissions": lambda n : setattr(self, 'permissions', n.get_collection_of_object_values(ApplicationResourcePermission)), "resourceAppId": lambda n : setattr(self, 'resource_app_id', n.get_str_value()), } return fields diff --git a/msgraph_beta/generated/models/authentication_behaviors.py b/msgraph_beta/generated/models/authentication_behaviors.py index c998d3dccdb..89100a2582f 100644 --- a/msgraph_beta/generated/models/authentication_behaviors.py +++ b/msgraph_beta/generated/models/authentication_behaviors.py @@ -14,6 +14,8 @@ class AuthenticationBehaviors(AdditionalDataHolder, BackedModel, Parsable): additional_data: dict[str, Any] = field(default_factory=dict) # If false, allows the app to have extended access to Azure AD Graph until August 31, 2025 when Azure AD Graph is fully retired. For more information on Azure AD retirement updates, see June 2024 update on Azure AD Graph API retirement. block_azure_a_d_graph_access: Optional[bool] = None + # Indicates whether Cross-Origin-Opener-Policy (COOP) headers are enforced on browser-based authentication responses for the application. Set to true to enable enforcement, false to temporarily suppress enforcement, or null to use the service default. For how-to guidance, see Control Cross-Origin-Opener-Policy enforcement. + coop_enforcement: Optional[bool] = None # The OdataType property odata_type: Optional[str] = None # If true, removes the email claim from tokens sent to an application when the email address's domain can't be verified. @@ -39,6 +41,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: """ fields: dict[str, Callable[[Any], None]] = { "blockAzureADGraphAccess": lambda n : setattr(self, 'block_azure_a_d_graph_access', n.get_bool_value()), + "coopEnforcement": lambda n : setattr(self, 'coop_enforcement', n.get_bool_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), "removeUnverifiedEmailClaim": lambda n : setattr(self, 'remove_unverified_email_claim', n.get_bool_value()), "requireClientServicePrincipal": lambda n : setattr(self, 'require_client_service_principal', n.get_bool_value()), @@ -54,6 +57,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") writer.write_bool_value("blockAzureADGraphAccess", self.block_azure_a_d_graph_access) + writer.write_bool_value("coopEnforcement", self.coop_enforcement) writer.write_str_value("@odata.type", self.odata_type) writer.write_bool_value("removeUnverifiedEmailClaim", self.remove_unverified_email_claim) writer.write_bool_value("requireClientServicePrincipal", self.require_client_service_principal) diff --git a/msgraph_beta/generated/models/tenant_governance_services/b2_b_registration_metrics_base.py b/msgraph_beta/generated/models/b2_b_registration_metrics_base.py similarity index 87% rename from msgraph_beta/generated/models/tenant_governance_services/b2_b_registration_metrics_base.py rename to msgraph_beta/generated/models/b2_b_registration_metrics_base.py index f498bc59adf..703a550f749 100644 --- a/msgraph_beta/generated/models/tenant_governance_services/b2_b_registration_metrics_base.py +++ b/msgraph_beta/generated/models/b2_b_registration_metrics_base.py @@ -6,21 +6,21 @@ from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from ..entity import Entity from .b2_b_registration_metrics_initial import B2BRegistrationMetricsInitial from .b2_b_registration_metrics_recent import B2BRegistrationMetricsRecent + from .entity import Entity -from ..entity import Entity +from .entity import Entity @dataclass class B2BRegistrationMetricsBase(Entity, Parsable): - # The total number of inbound B2B guest users registered. + # The inboundTotalUsers property inbound_total_users: Optional[float] = None # The OdataType property odata_type: Optional[str] = None - # The total number of outbound B2B users from this tenant registered in other tenants. + # The outboundTotalUsers property outbound_total_users: Optional[float] = None - # The date and time when the metrics snapshot was taken. + # The watermarkDateTime property watermark_date_time: Optional[datetime.datetime] = None @staticmethod @@ -37,11 +37,11 @@ def create_from_discriminator_value(parse_node: ParseNode) -> B2BRegistrationMet mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None - if mapping_value and mapping_value.casefold() == "#microsoft.graph.tenantGovernanceServices.b2BRegistrationMetricsInitial".casefold(): + if mapping_value and mapping_value.casefold() == "#microsoft.graph.b2BRegistrationMetricsInitial".casefold(): from .b2_b_registration_metrics_initial import B2BRegistrationMetricsInitial return B2BRegistrationMetricsInitial() - if mapping_value and mapping_value.casefold() == "#microsoft.graph.tenantGovernanceServices.b2BRegistrationMetricsRecent".casefold(): + if mapping_value and mapping_value.casefold() == "#microsoft.graph.b2BRegistrationMetricsRecent".casefold(): from .b2_b_registration_metrics_recent import B2BRegistrationMetricsRecent return B2BRegistrationMetricsRecent() @@ -52,13 +52,13 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ - from ..entity import Entity from .b2_b_registration_metrics_initial import B2BRegistrationMetricsInitial from .b2_b_registration_metrics_recent import B2BRegistrationMetricsRecent + from .entity import Entity - from ..entity import Entity from .b2_b_registration_metrics_initial import B2BRegistrationMetricsInitial from .b2_b_registration_metrics_recent import B2BRegistrationMetricsRecent + from .entity import Entity fields: dict[str, Callable[[Any], None]] = { "inboundTotalUsers": lambda n : setattr(self, 'inbound_total_users', n.get_float_value()), diff --git a/msgraph_beta/generated/models/tenant_governance_services/b2_b_registration_metrics_initial.py b/msgraph_beta/generated/models/b2_b_registration_metrics_initial.py similarity index 91% rename from msgraph_beta/generated/models/tenant_governance_services/b2_b_registration_metrics_initial.py rename to msgraph_beta/generated/models/b2_b_registration_metrics_initial.py index 56c441114a4..5cd75384c1a 100644 --- a/msgraph_beta/generated/models/tenant_governance_services/b2_b_registration_metrics_initial.py +++ b/msgraph_beta/generated/models/b2_b_registration_metrics_initial.py @@ -13,8 +13,8 @@ @dataclass class B2BRegistrationMetricsInitial(B2BRegistrationMetricsBase, Parsable): # The OdataType property - odata_type: Optional[str] = "#microsoft.graph.tenantGovernanceServices.b2BRegistrationMetricsInitial" - # Timestamp that represents the date time that B2B registration data was initially aggregated. + odata_type: Optional[str] = "#microsoft.graph.b2BRegistrationMetricsInitial" + # The createdDateTime property created_date_time: Optional[datetime.datetime] = None @staticmethod diff --git a/msgraph_beta/generated/models/tenant_governance_services/b2_b_registration_metrics_recent.py b/msgraph_beta/generated/models/b2_b_registration_metrics_recent.py similarity index 89% rename from msgraph_beta/generated/models/tenant_governance_services/b2_b_registration_metrics_recent.py rename to msgraph_beta/generated/models/b2_b_registration_metrics_recent.py index 3c014019047..2cb3267e9a6 100644 --- a/msgraph_beta/generated/models/tenant_governance_services/b2_b_registration_metrics_recent.py +++ b/msgraph_beta/generated/models/b2_b_registration_metrics_recent.py @@ -13,8 +13,8 @@ @dataclass class B2BRegistrationMetricsRecent(B2BRegistrationMetricsBase, Parsable): # The OdataType property - odata_type: Optional[str] = "#microsoft.graph.tenantGovernanceServices.b2BRegistrationMetricsRecent" - # Timestamp that represents the most recent time B2B registration data was aggregated and have sufficiently changed for the related tenant. + odata_type: Optional[str] = "#microsoft.graph.b2BRegistrationMetricsRecent" + # The updateDateTime property update_date_time: Optional[datetime.datetime] = None @staticmethod diff --git a/msgraph_beta/generated/models/tenant_governance_services/b2_b_sign_in_activity_metrics.py b/msgraph_beta/generated/models/b2_b_sign_in_activity_metrics.py similarity index 81% rename from msgraph_beta/generated/models/tenant_governance_services/b2_b_sign_in_activity_metrics.py rename to msgraph_beta/generated/models/b2_b_sign_in_activity_metrics.py index 7a8f3d4f23b..fce73b38728 100644 --- a/msgraph_beta/generated/models/tenant_governance_services/b2_b_sign_in_activity_metrics.py +++ b/msgraph_beta/generated/models/b2_b_sign_in_activity_metrics.py @@ -5,19 +5,19 @@ from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from ..entity import Entity - from .action_step import ActionStep from .b2_b_sign_in_activity_metrics_initial import B2BSignInActivityMetricsInitial from .b2_b_sign_in_activity_metrics_recent import B2BSignInActivityMetricsRecent + from .entity import Entity + from .investigation_action_step import InvestigationActionStep -from ..entity import Entity +from .entity import Entity @dataclass class B2BSignInActivityMetrics(Entity, Parsable): # The initial property initial: Optional[B2BSignInActivityMetricsInitial] = None - # Ordered drill-in guidance for investigating sign-in user and application counts. This collection is returned only when explicitly requested by using a nested $expand query parameter, for example $expand=b2BSignInActivityMetrics($expand=investigationHints). - investigation_hints: Optional[list[ActionStep]] = None + # The investigationHints property + investigation_hints: Optional[list[InvestigationActionStep]] = None # The OdataType property odata_type: Optional[str] = None # The recent property @@ -39,19 +39,19 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ - from ..entity import Entity - from .action_step import ActionStep from .b2_b_sign_in_activity_metrics_initial import B2BSignInActivityMetricsInitial from .b2_b_sign_in_activity_metrics_recent import B2BSignInActivityMetricsRecent + from .entity import Entity + from .investigation_action_step import InvestigationActionStep - from ..entity import Entity - from .action_step import ActionStep from .b2_b_sign_in_activity_metrics_initial import B2BSignInActivityMetricsInitial from .b2_b_sign_in_activity_metrics_recent import B2BSignInActivityMetricsRecent + from .entity import Entity + from .investigation_action_step import InvestigationActionStep fields: dict[str, Callable[[Any], None]] = { "initial": lambda n : setattr(self, 'initial', n.get_object_value(B2BSignInActivityMetricsInitial)), - "investigationHints": lambda n : setattr(self, 'investigation_hints', n.get_collection_of_object_values(ActionStep)), + "investigationHints": lambda n : setattr(self, 'investigation_hints', n.get_collection_of_object_values(InvestigationActionStep)), "recent": lambda n : setattr(self, 'recent', n.get_object_value(B2BSignInActivityMetricsRecent)), } super_fields = super().get_field_deserializers() diff --git a/msgraph_beta/generated/models/tenant_governance_services/b2_b_sign_in_activity_metrics_base.py b/msgraph_beta/generated/models/b2_b_sign_in_activity_metrics_base.py similarity index 85% rename from msgraph_beta/generated/models/tenant_governance_services/b2_b_sign_in_activity_metrics_base.py rename to msgraph_beta/generated/models/b2_b_sign_in_activity_metrics_base.py index 41e677c7448..114d25362f8 100644 --- a/msgraph_beta/generated/models/tenant_governance_services/b2_b_sign_in_activity_metrics_base.py +++ b/msgraph_beta/generated/models/b2_b_sign_in_activity_metrics_base.py @@ -6,25 +6,25 @@ from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from ..entity import Entity from .b2_b_sign_in_activity_metrics_initial import B2BSignInActivityMetricsInitial from .b2_b_sign_in_activity_metrics_recent import B2BSignInActivityMetricsRecent + from .entity import Entity -from ..entity import Entity +from .entity import Entity @dataclass class B2BSignInActivityMetricsBase(Entity, Parsable): - # The total number of applications accessed by inbound users in the last month. + # The inboundMonthlyTotalApplications property inbound_monthly_total_applications: Optional[float] = None - # The total number of unique inbound users with sign-in activity in the last month. + # The inboundMonthlyTotalUsers property inbound_monthly_total_users: Optional[float] = None # The OdataType property odata_type: Optional[str] = None - # The total number of applications accessed by outbound users in the last month. + # The outboundMonthlyTotalApplications property outbound_monthly_total_applications: Optional[float] = None - # The total number of unique outbound users with sign-in activity in the last month. + # The outboundMonthlyTotalUsers property outbound_monthly_total_users: Optional[float] = None - # The date and time when the metrics snapshot was taken. + # The watermarkDateTime property watermark_date_time: Optional[datetime.datetime] = None @staticmethod @@ -41,11 +41,11 @@ def create_from_discriminator_value(parse_node: ParseNode) -> B2BSignInActivityM mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None - if mapping_value and mapping_value.casefold() == "#microsoft.graph.tenantGovernanceServices.b2BSignInActivityMetricsInitial".casefold(): + if mapping_value and mapping_value.casefold() == "#microsoft.graph.b2BSignInActivityMetricsInitial".casefold(): from .b2_b_sign_in_activity_metrics_initial import B2BSignInActivityMetricsInitial return B2BSignInActivityMetricsInitial() - if mapping_value and mapping_value.casefold() == "#microsoft.graph.tenantGovernanceServices.b2BSignInActivityMetricsRecent".casefold(): + if mapping_value and mapping_value.casefold() == "#microsoft.graph.b2BSignInActivityMetricsRecent".casefold(): from .b2_b_sign_in_activity_metrics_recent import B2BSignInActivityMetricsRecent return B2BSignInActivityMetricsRecent() @@ -56,13 +56,13 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ - from ..entity import Entity from .b2_b_sign_in_activity_metrics_initial import B2BSignInActivityMetricsInitial from .b2_b_sign_in_activity_metrics_recent import B2BSignInActivityMetricsRecent + from .entity import Entity - from ..entity import Entity from .b2_b_sign_in_activity_metrics_initial import B2BSignInActivityMetricsInitial from .b2_b_sign_in_activity_metrics_recent import B2BSignInActivityMetricsRecent + from .entity import Entity fields: dict[str, Callable[[Any], None]] = { "inboundMonthlyTotalApplications": lambda n : setattr(self, 'inbound_monthly_total_applications', n.get_float_value()), diff --git a/msgraph_beta/generated/models/tenant_governance_services/b2_b_sign_in_activity_metrics_initial.py b/msgraph_beta/generated/models/b2_b_sign_in_activity_metrics_initial.py similarity index 90% rename from msgraph_beta/generated/models/tenant_governance_services/b2_b_sign_in_activity_metrics_initial.py rename to msgraph_beta/generated/models/b2_b_sign_in_activity_metrics_initial.py index 652fbcd6d12..11c18f9e05f 100644 --- a/msgraph_beta/generated/models/tenant_governance_services/b2_b_sign_in_activity_metrics_initial.py +++ b/msgraph_beta/generated/models/b2_b_sign_in_activity_metrics_initial.py @@ -13,8 +13,8 @@ @dataclass class B2BSignInActivityMetricsInitial(B2BSignInActivityMetricsBase, Parsable): # The OdataType property - odata_type: Optional[str] = "#microsoft.graph.tenantGovernanceServices.b2BSignInActivityMetricsInitial" - # Timestamp that represents when the time B2B sign-in activity content was initially aggregated for the related tenant. + odata_type: Optional[str] = "#microsoft.graph.b2BSignInActivityMetricsInitial" + # The createdDateTime property created_date_time: Optional[datetime.datetime] = None @staticmethod diff --git a/msgraph_beta/generated/models/tenant_governance_services/b2_b_sign_in_activity_metrics_recent.py b/msgraph_beta/generated/models/b2_b_sign_in_activity_metrics_recent.py similarity index 89% rename from msgraph_beta/generated/models/tenant_governance_services/b2_b_sign_in_activity_metrics_recent.py rename to msgraph_beta/generated/models/b2_b_sign_in_activity_metrics_recent.py index 3c8d40ea09b..a9d7c4a39c7 100644 --- a/msgraph_beta/generated/models/tenant_governance_services/b2_b_sign_in_activity_metrics_recent.py +++ b/msgraph_beta/generated/models/b2_b_sign_in_activity_metrics_recent.py @@ -13,8 +13,8 @@ @dataclass class B2BSignInActivityMetricsRecent(B2BSignInActivityMetricsBase, Parsable): # The OdataType property - odata_type: Optional[str] = "#microsoft.graph.tenantGovernanceServices.b2BSignInActivityMetricsRecent" - # Timestamp that represents the most recent time B2B registration data was aggregated and have sufficiently changed for the related tenant. + odata_type: Optional[str] = "#microsoft.graph.b2BSignInActivityMetricsRecent" + # The updateDateTime property update_date_time: Optional[datetime.datetime] = None @staticmethod diff --git a/msgraph_beta/generated/models/tenant_governance_services/b2b_registration_metrics.py b/msgraph_beta/generated/models/b2b_registration_metrics.py similarity index 81% rename from msgraph_beta/generated/models/tenant_governance_services/b2b_registration_metrics.py rename to msgraph_beta/generated/models/b2b_registration_metrics.py index 3c09e7218f6..b53b012750a 100644 --- a/msgraph_beta/generated/models/tenant_governance_services/b2b_registration_metrics.py +++ b/msgraph_beta/generated/models/b2b_registration_metrics.py @@ -5,19 +5,19 @@ from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from ..entity import Entity - from .action_step import ActionStep from .b2_b_registration_metrics_initial import B2BRegistrationMetricsInitial from .b2_b_registration_metrics_recent import B2BRegistrationMetricsRecent + from .entity import Entity + from .investigation_action_step import InvestigationActionStep -from ..entity import Entity +from .entity import Entity @dataclass class B2bRegistrationMetrics(Entity, Parsable): # The initial property initial: Optional[B2BRegistrationMetricsInitial] = None - # Ordered drill-in guidance for investigating B2B registration metrics. This collection is returned only when explicitly requested by using a nested $expand query parameter, for example $expand=b2BRegistrationMetrics($expand=investigationHints). - investigation_hints: Optional[list[ActionStep]] = None + # The investigationHints property + investigation_hints: Optional[list[InvestigationActionStep]] = None # The OdataType property odata_type: Optional[str] = None # The recent property @@ -39,19 +39,19 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ - from ..entity import Entity - from .action_step import ActionStep from .b2_b_registration_metrics_initial import B2BRegistrationMetricsInitial from .b2_b_registration_metrics_recent import B2BRegistrationMetricsRecent + from .entity import Entity + from .investigation_action_step import InvestigationActionStep - from ..entity import Entity - from .action_step import ActionStep from .b2_b_registration_metrics_initial import B2BRegistrationMetricsInitial from .b2_b_registration_metrics_recent import B2BRegistrationMetricsRecent + from .entity import Entity + from .investigation_action_step import InvestigationActionStep fields: dict[str, Callable[[Any], None]] = { "initial": lambda n : setattr(self, 'initial', n.get_object_value(B2BRegistrationMetricsInitial)), - "investigationHints": lambda n : setattr(self, 'investigation_hints', n.get_collection_of_object_values(ActionStep)), + "investigationHints": lambda n : setattr(self, 'investigation_hints', n.get_collection_of_object_values(InvestigationActionStep)), "recent": lambda n : setattr(self, 'recent', n.get_object_value(B2BRegistrationMetricsRecent)), } super_fields = super().get_field_deserializers() diff --git a/msgraph_beta/generated/models/tenant_governance_services/billing_metrics.py b/msgraph_beta/generated/models/billing_metrics.py similarity index 80% rename from msgraph_beta/generated/models/tenant_governance_services/billing_metrics.py rename to msgraph_beta/generated/models/billing_metrics.py index 8ce887bd385..8522c8b970e 100644 --- a/msgraph_beta/generated/models/tenant_governance_services/billing_metrics.py +++ b/msgraph_beta/generated/models/billing_metrics.py @@ -5,19 +5,19 @@ from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from ..entity import Entity - from .action_step import ActionStep from .billing_metrics_initial import BillingMetricsInitial from .billing_metrics_recent import BillingMetricsRecent + from .entity import Entity + from .investigation_action_step import InvestigationActionStep -from ..entity import Entity +from .entity import Entity @dataclass class BillingMetrics(Entity, Parsable): # The initial property initial: Optional[BillingMetricsInitial] = None - # Ordered drill-in guidance for investigating billing relationship counts. This collection is returned only when explicitly requested by using a nested $expand query parameter, for example $expand=billingMetrics($expand=investigationHints). - investigation_hints: Optional[list[ActionStep]] = None + # The investigationHints property + investigation_hints: Optional[list[InvestigationActionStep]] = None # The OdataType property odata_type: Optional[str] = None # The recent property @@ -39,19 +39,19 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ - from ..entity import Entity - from .action_step import ActionStep from .billing_metrics_initial import BillingMetricsInitial from .billing_metrics_recent import BillingMetricsRecent + from .entity import Entity + from .investigation_action_step import InvestigationActionStep - from ..entity import Entity - from .action_step import ActionStep from .billing_metrics_initial import BillingMetricsInitial from .billing_metrics_recent import BillingMetricsRecent + from .entity import Entity + from .investigation_action_step import InvestigationActionStep fields: dict[str, Callable[[Any], None]] = { "initial": lambda n : setattr(self, 'initial', n.get_object_value(BillingMetricsInitial)), - "investigationHints": lambda n : setattr(self, 'investigation_hints', n.get_collection_of_object_values(ActionStep)), + "investigationHints": lambda n : setattr(self, 'investigation_hints', n.get_collection_of_object_values(InvestigationActionStep)), "recent": lambda n : setattr(self, 'recent', n.get_object_value(BillingMetricsRecent)), } super_fields = super().get_field_deserializers() diff --git a/msgraph_beta/generated/models/tenant_governance_services/billing_metrics_base.py b/msgraph_beta/generated/models/billing_metrics_base.py similarity index 87% rename from msgraph_beta/generated/models/tenant_governance_services/billing_metrics_base.py rename to msgraph_beta/generated/models/billing_metrics_base.py index 4ef3281dbd8..a39bf2718b4 100644 --- a/msgraph_beta/generated/models/tenant_governance_services/billing_metrics_base.py +++ b/msgraph_beta/generated/models/billing_metrics_base.py @@ -6,31 +6,31 @@ from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from ..entity import Entity from .billing_metrics_initial import BillingMetricsInitial from .billing_metrics_recent import BillingMetricsRecent + from .entity import Entity -from ..entity import Entity +from .entity import Entity @dataclass class BillingMetricsBase(Entity, Parsable): - # The number of foreign associated tenants with active billing management. + # The foreignAssociatedTenantBillingManagementActiveCount property foreign_associated_tenant_billing_management_active_count: Optional[float] = None - # The total number of foreign associated tenants. + # The foreignAssociatedTenantCount property foreign_associated_tenant_count: Optional[float] = None - # The number of foreign associated tenants with active provisioning. + # The foreignAssociatedTenantProvisioningActiveCount property foreign_associated_tenant_provisioning_active_count: Optional[float] = None - # The number of local associated tenants with active billing management. + # The localAssociatedTenantBillingManagementActiveCount property local_associated_tenant_billing_management_active_count: Optional[float] = None - # The total number of local associated tenants. + # The localAssociatedTenantCount property local_associated_tenant_count: Optional[float] = None - # The list of local associated tenant IDs. + # The localAssociatedTenantIds property local_associated_tenant_ids: Optional[list[str]] = None - # The number of local associated tenants with active provisioning. + # The localAssociatedTenantProvisioningActiveCount property local_associated_tenant_provisioning_active_count: Optional[float] = None # The OdataType property odata_type: Optional[str] = None - # The date and time when the metrics snapshot was taken. + # The watermarkDateTime property watermark_date_time: Optional[datetime.datetime] = None @staticmethod @@ -47,11 +47,11 @@ def create_from_discriminator_value(parse_node: ParseNode) -> BillingMetricsBase mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None - if mapping_value and mapping_value.casefold() == "#microsoft.graph.tenantGovernanceServices.billingMetricsInitial".casefold(): + if mapping_value and mapping_value.casefold() == "#microsoft.graph.billingMetricsInitial".casefold(): from .billing_metrics_initial import BillingMetricsInitial return BillingMetricsInitial() - if mapping_value and mapping_value.casefold() == "#microsoft.graph.tenantGovernanceServices.billingMetricsRecent".casefold(): + if mapping_value and mapping_value.casefold() == "#microsoft.graph.billingMetricsRecent".casefold(): from .billing_metrics_recent import BillingMetricsRecent return BillingMetricsRecent() @@ -62,13 +62,13 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ - from ..entity import Entity from .billing_metrics_initial import BillingMetricsInitial from .billing_metrics_recent import BillingMetricsRecent + from .entity import Entity - from ..entity import Entity from .billing_metrics_initial import BillingMetricsInitial from .billing_metrics_recent import BillingMetricsRecent + from .entity import Entity fields: dict[str, Callable[[Any], None]] = { "foreignAssociatedTenantBillingManagementActiveCount": lambda n : setattr(self, 'foreign_associated_tenant_billing_management_active_count', n.get_float_value()), diff --git a/msgraph_beta/generated/models/tenant_governance_services/billing_metrics_initial.py b/msgraph_beta/generated/models/billing_metrics_initial.py similarity index 95% rename from msgraph_beta/generated/models/tenant_governance_services/billing_metrics_initial.py rename to msgraph_beta/generated/models/billing_metrics_initial.py index e0ec56c9708..fe02baafd1f 100644 --- a/msgraph_beta/generated/models/tenant_governance_services/billing_metrics_initial.py +++ b/msgraph_beta/generated/models/billing_metrics_initial.py @@ -12,7 +12,7 @@ @dataclass class BillingMetricsInitial(BillingMetricsBase, Parsable): - # Timestamp that represents when billing metrics are initially aggregated for the related tenant. + # The createdDateTime property created_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/tenant_governance_services/billing_metrics_recent.py b/msgraph_beta/generated/models/billing_metrics_recent.py similarity index 94% rename from msgraph_beta/generated/models/tenant_governance_services/billing_metrics_recent.py rename to msgraph_beta/generated/models/billing_metrics_recent.py index 8e2b6f5e894..db3aa84649f 100644 --- a/msgraph_beta/generated/models/tenant_governance_services/billing_metrics_recent.py +++ b/msgraph_beta/generated/models/billing_metrics_recent.py @@ -14,7 +14,7 @@ class BillingMetricsRecent(BillingMetricsBase, Parsable): # The OdataType property odata_type: Optional[str] = None - # Timestamp that represents when billing metrics are aggregated and have sufficiently changed for the related tenant. + # The updateDateTime property update_date_time: Optional[datetime.datetime] = None @staticmethod diff --git a/msgraph_beta/generated/models/browse_query_response_item.py b/msgraph_beta/generated/models/browse_query_response_item.py index d2037b74307..f3e80d0ec4b 100644 --- a/msgraph_beta/generated/models/browse_query_response_item.py +++ b/msgraph_beta/generated/models/browse_query_response_item.py @@ -17,17 +17,17 @@ class BrowseQueryResponseItem(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # The createdBy property + # The identity of the user or application that created the item. Returned only when type is file or folder. created_by: Optional[IdentitySet] = None - # The createdDateTime property + # The date and time when the item was created. Returned only when type is file or folder. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2024, is 2024-01-01T00:00:00Z. created_date_time: Optional[datetime.datetime] = None # Unique identifier of the returned item. item_key: Optional[str] = None # The count of items present within the items; for example, the count of files in a folder. items_count: Optional[int] = None - # The lastModifiedBy property + # The identity of the user or application that last modified the item. Returned only when type is file or folder. last_modified_by: Optional[IdentitySet] = None - # The lastModifiedDateTime property + # The date and time when the item was last modified. Returned only when type is file or folder. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2024, is 2024-01-01T00:00:00Z. last_modified_date_time: Optional[datetime.datetime] = None # The name of the item. name: Optional[str] = None diff --git a/msgraph_beta/generated/models/chat_message.py b/msgraph_beta/generated/models/chat_message.py index e0b7aec7c3b..69926b84121 100644 --- a/msgraph_beta/generated/models/chat_message.py +++ b/msgraph_beta/generated/models/chat_message.py @@ -9,6 +9,7 @@ from .channel_identity import ChannelIdentity from .chat_message_attachment import ChatMessageAttachment from .chat_message_body import ChatMessageBody + from .chat_message_citation import ChatMessageCitation from .chat_message_from_identity_set import ChatMessageFromIdentitySet from .chat_message_history_item import ChatMessageHistoryItem from .chat_message_hosted_content import ChatMessageHostedContent @@ -33,6 +34,8 @@ class ChatMessage(Entity, Parsable): channel_identity: Optional[ChannelIdentity] = None # If the message was sent in a chat, represents the identity of the chat. chat_id: Optional[str] = None + # Read-only. Inline citations that reference external sources cited in the message. Citations are system-generated for bot messages and appear as a typed collection. + citations: Optional[list[ChatMessageCitation]] = None # Timestamp of when the chat message was created. created_date_time: Optional[datetime.datetime] = None # Read-only. Timestamp at which the chat message was deleted, or null if not deleted. @@ -43,6 +46,8 @@ class ChatMessage(Entity, Parsable): event_detail: Optional[EventMessageDetail] = None # Details of the sender of the chat message. Can only be set during migration. from_: Optional[ChatMessageFromIdentitySet] = None + # The hasReplies property + has_replies: Optional[bool] = None # Content in a message hosted by Microsoft Teams - for example, images or code snippets. hosted_contents: Optional[list[ChatMessageHostedContent]] = None # The importance property @@ -106,6 +111,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .channel_identity import ChannelIdentity from .chat_message_attachment import ChatMessageAttachment from .chat_message_body import ChatMessageBody + from .chat_message_citation import ChatMessageCitation from .chat_message_from_identity_set import ChatMessageFromIdentitySet from .chat_message_history_item import ChatMessageHistoryItem from .chat_message_hosted_content import ChatMessageHostedContent @@ -121,6 +127,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .channel_identity import ChannelIdentity from .chat_message_attachment import ChatMessageAttachment from .chat_message_body import ChatMessageBody + from .chat_message_citation import ChatMessageCitation from .chat_message_from_identity_set import ChatMessageFromIdentitySet from .chat_message_history_item import ChatMessageHistoryItem from .chat_message_hosted_content import ChatMessageHostedContent @@ -138,11 +145,13 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: "body": lambda n : setattr(self, 'body', n.get_object_value(ChatMessageBody)), "channelIdentity": lambda n : setattr(self, 'channel_identity', n.get_object_value(ChannelIdentity)), "chatId": lambda n : setattr(self, 'chat_id', n.get_str_value()), + "citations": lambda n : setattr(self, 'citations', n.get_collection_of_object_values(ChatMessageCitation)), "createdDateTime": lambda n : setattr(self, 'created_date_time', n.get_datetime_value()), "deletedDateTime": lambda n : setattr(self, 'deleted_date_time', n.get_datetime_value()), "etag": lambda n : setattr(self, 'etag', n.get_str_value()), "eventDetail": lambda n : setattr(self, 'event_detail', n.get_object_value(EventMessageDetail)), "from": lambda n : setattr(self, 'from_', n.get_object_value(ChatMessageFromIdentitySet)), + "hasReplies": lambda n : setattr(self, 'has_replies', n.get_bool_value()), "hostedContents": lambda n : setattr(self, 'hosted_contents', n.get_collection_of_object_values(ChatMessageHostedContent)), "importance": lambda n : setattr(self, 'importance', n.get_enum_value(ChatMessageImportance)), "lastEditedDateTime": lambda n : setattr(self, 'last_edited_date_time', n.get_datetime_value()), @@ -177,11 +186,13 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_object_value("body", self.body) writer.write_object_value("channelIdentity", self.channel_identity) writer.write_str_value("chatId", self.chat_id) + writer.write_collection_of_object_values("citations", self.citations) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_datetime_value("deletedDateTime", self.deleted_date_time) writer.write_str_value("etag", self.etag) writer.write_object_value("eventDetail", self.event_detail) writer.write_object_value("from", self.from_) + writer.write_bool_value("hasReplies", self.has_replies) writer.write_collection_of_object_values("hostedContents", self.hosted_contents) writer.write_enum_value("importance", self.importance) writer.write_datetime_value("lastEditedDateTime", self.last_edited_date_time) diff --git a/msgraph_beta/generated/models/chat_message_citation.py b/msgraph_beta/generated/models/chat_message_citation.py new file mode 100644 index 00000000000..a15d88881c5 --- /dev/null +++ b/msgraph_beta/generated/models/chat_message_citation.py @@ -0,0 +1,81 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .chat_message_citation_sensitivity_label import ChatMessageCitationSensitivityLabel + +@dataclass +class ChatMessageCitation(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # Read-only. Text snippet from the cited source. + excerpt: Optional[str] = None + # Read-only. Icon type identifier for the cited source, for example, ExcelIcon or WordIcon. + icon_type: Optional[str] = None + # Read-only. Citation identifier that's unique within the message. The message body references this identifier inline, for example, [1]. + id: Optional[int] = None + # The OdataType property + odata_type: Optional[str] = None + # Read-only. Sensitivity label applied to the cited source. + sensitivity_label: Optional[ChatMessageCitationSensitivityLabel] = None + # Read-only. Display title of the cited source. + title: Optional[str] = None + # Read-only. URL to the cited source. + web_url: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> ChatMessageCitation: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: ChatMessageCitation + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return ChatMessageCitation() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .chat_message_citation_sensitivity_label import ChatMessageCitationSensitivityLabel + + from .chat_message_citation_sensitivity_label import ChatMessageCitationSensitivityLabel + + fields: dict[str, Callable[[Any], None]] = { + "excerpt": lambda n : setattr(self, 'excerpt', n.get_str_value()), + "iconType": lambda n : setattr(self, 'icon_type', n.get_str_value()), + "id": lambda n : setattr(self, 'id', n.get_int_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "sensitivityLabel": lambda n : setattr(self, 'sensitivity_label', n.get_object_value(ChatMessageCitationSensitivityLabel)), + "title": lambda n : setattr(self, 'title', n.get_str_value()), + "webUrl": lambda n : setattr(self, 'web_url', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("excerpt", self.excerpt) + writer.write_str_value("iconType", self.icon_type) + writer.write_int_value("id", self.id) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_object_value("sensitivityLabel", self.sensitivity_label) + writer.write_str_value("title", self.title) + writer.write_str_value("webUrl", self.web_url) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/chat_message_citation_sensitivity_label.py b/msgraph_beta/generated/models/chat_message_citation_sensitivity_label.py new file mode 100644 index 00000000000..0746dab09fe --- /dev/null +++ b/msgraph_beta/generated/models/chat_message_citation_sensitivity_label.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class ChatMessageCitationSensitivityLabel(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # Read-only. User-facing description of the sensitivity restriction. + description: Optional[str] = None + # Read-only. Display name of the sensitivity label. + display_name: Optional[str] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> ChatMessageCitationSensitivityLabel: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: ChatMessageCitationSensitivityLabel + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return ChatMessageCitationSensitivityLabel() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "description": lambda n : setattr(self, 'description', n.get_str_value()), + "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("description", self.description) + writer.write_str_value("displayName", self.display_name) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/cloud_p_c.py b/msgraph_beta/generated/models/cloud_p_c.py index 5d8b277f009..1361cf52fd1 100644 --- a/msgraph_beta/generated/models/cloud_p_c.py +++ b/msgraph_beta/generated/models/cloud_p_c.py @@ -19,6 +19,7 @@ from .cloud_pc_partner_agent_install_result import CloudPcPartnerAgentInstallResult from .cloud_pc_power_state import CloudPcPowerState from .cloud_pc_product_type import CloudPcProductType + from .cloud_pc_provisioning_configuration import CloudPcProvisioningConfiguration from .cloud_pc_provisioning_type import CloudPcProvisioningType from .cloud_pc_remote_action_result import CloudPcRemoteActionResult from .cloud_pc_service_plan_type import CloudPcServicePlanType @@ -88,6 +89,8 @@ class CloudPC(Entity, Parsable): product_type: Optional[CloudPcProductType] = None # The latest provisioned date and time, automatically generated and assigned during the initial provisioning or any subsequent reprovisioning of the Cloud PC. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. provisioned_date_time: Optional[datetime.datetime] = None + # The provisioningConfiguration property + provisioning_configuration: Optional[CloudPcProvisioningConfiguration] = None # The provisioning policy ID of the Cloud PC. provisioning_policy_id: Optional[str] = None # The provisioning policy that is applied during the provisioning of Cloud PCs. @@ -148,6 +151,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .cloud_pc_partner_agent_install_result import CloudPcPartnerAgentInstallResult from .cloud_pc_power_state import CloudPcPowerState from .cloud_pc_product_type import CloudPcProductType + from .cloud_pc_provisioning_configuration import CloudPcProvisioningConfiguration from .cloud_pc_provisioning_type import CloudPcProvisioningType from .cloud_pc_remote_action_result import CloudPcRemoteActionResult from .cloud_pc_service_plan_type import CloudPcServicePlanType @@ -172,6 +176,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .cloud_pc_partner_agent_install_result import CloudPcPartnerAgentInstallResult from .cloud_pc_power_state import CloudPcPowerState from .cloud_pc_product_type import CloudPcProductType + from .cloud_pc_provisioning_configuration import CloudPcProvisioningConfiguration from .cloud_pc_provisioning_type import CloudPcProvisioningType from .cloud_pc_remote_action_result import CloudPcRemoteActionResult from .cloud_pc_service_plan_type import CloudPcServicePlanType @@ -210,6 +215,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: "powerState": lambda n : setattr(self, 'power_state', n.get_enum_value(CloudPcPowerState)), "productType": lambda n : setattr(self, 'product_type', n.get_enum_value(CloudPcProductType)), "provisionedDateTime": lambda n : setattr(self, 'provisioned_date_time', n.get_datetime_value()), + "provisioningConfiguration": lambda n : setattr(self, 'provisioning_configuration', n.get_object_value(CloudPcProvisioningConfiguration)), "provisioningPolicyId": lambda n : setattr(self, 'provisioning_policy_id', n.get_str_value()), "provisioningPolicyName": lambda n : setattr(self, 'provisioning_policy_name', n.get_str_value()), "provisioningType": lambda n : setattr(self, 'provisioning_type', n.get_enum_value(CloudPcProvisioningType)), @@ -265,6 +271,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_enum_value("powerState", self.power_state) writer.write_enum_value("productType", self.product_type) writer.write_datetime_value("provisionedDateTime", self.provisioned_date_time) + writer.write_object_value("provisioningConfiguration", self.provisioning_configuration) writer.write_str_value("provisioningPolicyId", self.provisioning_policy_id) writer.write_str_value("provisioningPolicyName", self.provisioning_policy_name) writer.write_enum_value("provisioningType", self.provisioning_type) diff --git a/msgraph_beta/generated/models/cloud_pc_provisioning_configuration.py b/msgraph_beta/generated/models/cloud_pc_provisioning_configuration.py new file mode 100644 index 00000000000..d5b6d963357 --- /dev/null +++ b/msgraph_beta/generated/models/cloud_pc_provisioning_configuration.py @@ -0,0 +1,61 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .cloud_pc_domain_join_type import CloudPcDomainJoinType + +@dataclass +class CloudPcProvisioningConfiguration(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The domainJoinType property + domain_join_type: Optional[CloudPcDomainJoinType] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> CloudPcProvisioningConfiguration: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: CloudPcProvisioningConfiguration + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return CloudPcProvisioningConfiguration() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .cloud_pc_domain_join_type import CloudPcDomainJoinType + + from .cloud_pc_domain_join_type import CloudPcDomainJoinType + + fields: dict[str, Callable[[Any], None]] = { + "domainJoinType": lambda n : setattr(self, 'domain_join_type', n.get_enum_value(CloudPcDomainJoinType)), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_enum_value("domainJoinType", self.domain_join_type) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/connector_health_check.py b/msgraph_beta/generated/models/connector_health_check.py new file mode 100644 index 00000000000..69d7c63464a --- /dev/null +++ b/msgraph_beta/generated/models/connector_health_check.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .connector_health_check_metric_name import ConnectorHealthCheckMetricName + from .ndes_connector_health_status import NdesConnectorHealthStatus + +@dataclass +class ConnectorHealthCheck(AdditionalDataHolder, BackedModel, Parsable): + """ + Represents an individual health check result for an NDES connector, containing the metric name and its current status. + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The name of the health check metric being evaluated for an NDES connector. + metric_name: Optional[ConnectorHealthCheckMetricName] = None + # The OdataType property + odata_type: Optional[str] = None + # The health status of an NDES connector or individual health check metric. + status: Optional[NdesConnectorHealthStatus] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> ConnectorHealthCheck: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: ConnectorHealthCheck + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return ConnectorHealthCheck() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .connector_health_check_metric_name import ConnectorHealthCheckMetricName + from .ndes_connector_health_status import NdesConnectorHealthStatus + + from .connector_health_check_metric_name import ConnectorHealthCheckMetricName + from .ndes_connector_health_status import NdesConnectorHealthStatus + + fields: dict[str, Callable[[Any], None]] = { + "metricName": lambda n : setattr(self, 'metric_name', n.get_enum_value(ConnectorHealthCheckMetricName)), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "status": lambda n : setattr(self, 'status', n.get_enum_value(NdesConnectorHealthStatus)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_enum_value("metricName", self.metric_name) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_enum_value("status", self.status) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/connector_health_check_metric_name.py b/msgraph_beta/generated/models/connector_health_check_metric_name.py new file mode 100644 index 00000000000..2b37058a1b1 --- /dev/null +++ b/msgraph_beta/generated/models/connector_health_check_metric_name.py @@ -0,0 +1,14 @@ +from enum import Enum + +class ConnectorHealthCheckMetricName(str, Enum): + # Measures connectivity between the connector and the Certificate Authority. + CaConnectivity = "caConnectivity", + # Measures whether the connector has the required Enroll permission on the certificate template for issuance. + CaIssuancePermissions = "caIssuancePermissions", + # Measures whether the connector has the required permissions to revoke certificates on the CA. + CaRevocationPermissions = "caRevocationPermissions", + # Measures whether the configured certificate template is valid and accessible. + CertificateTemplate = "certificateTemplate", + # Evolvable enumeration sentinel value. Do not use. + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/copilot_package.py b/msgraph_beta/generated/models/copilot_package.py index 22fff4e5baf..ca30d014982 100644 --- a/msgraph_beta/generated/models/copilot_package.py +++ b/msgraph_beta/generated/models/copilot_package.py @@ -15,6 +15,8 @@ @dataclass class CopilotPackage(Entity, Parsable): + # The agentIdentityId property + agent_identity_id: Optional[str] = None # The appId property app_id: Optional[str] = None # The assetId property @@ -92,6 +94,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .package_type import PackageType fields: dict[str, Callable[[Any], None]] = { + "agentIdentityId": lambda n : setattr(self, 'agent_identity_id', n.get_str_value()), "appId": lambda n : setattr(self, 'app_id', n.get_str_value()), "assetId": lambda n : setattr(self, 'asset_id', n.get_str_value()), "availableTo": lambda n : setattr(self, 'available_to', n.get_enum_value(PackageStatus)), @@ -125,6 +128,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + writer.write_str_value("agentIdentityId", self.agent_identity_id) writer.write_str_value("appId", self.app_id) writer.write_str_value("assetId", self.asset_id) writer.write_enum_value("availableTo", self.available_to) diff --git a/msgraph_beta/generated/models/copilot_package_detail.py b/msgraph_beta/generated/models/copilot_package_detail.py index 470e0281292..9a0edf2bb15 100644 --- a/msgraph_beta/generated/models/copilot_package_detail.py +++ b/msgraph_beta/generated/models/copilot_package_detail.py @@ -1,4 +1,5 @@ from __future__ import annotations +import datetime from collections.abc import Callable from dataclasses import dataclass, field from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter @@ -17,18 +18,28 @@ class CopilotPackageDetail(CopilotPackage, Parsable): odata_type: Optional[str] = "#microsoft.graph.copilotPackageDetail" # The acquireUsersAndGroups property acquire_users_and_groups: Optional[list[PackageAccessEntity]] = None + # The number of distinct users who actively used the package during the reporting period. + active_users: Optional[int] = None # The allowedUsersAndGroups property allowed_users_and_groups: Optional[list[PackageAccessEntity]] = None # The categories property categories: Optional[list[str]] = None # The elementDetails property element_details: Optional[list[PackageElementDetail]] = None + # The fraction of sessions that resulted in an exception, expressed as a value between 0 and 1. + exception_rate: Optional[float] = None + # The date and time when the package was last used, in ISO 8601 format and UTC. + last_used_date_time: Optional[datetime.datetime] = None # The longDescription property long_description: Optional[str] = None # The sensitivity property sensitivity: Optional[str] = None # The sharedWithUsersAndGroups property shared_with_users_and_groups: Optional[list[PackageAccessEntity]] = None + # Total hours worked by the agent. + total_run_time_in_hours: Optional[float] = None + # The total number of sessions served by the package during the reporting period. + total_sessions: Optional[int] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> CopilotPackageDetail: @@ -56,12 +67,17 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: fields: dict[str, Callable[[Any], None]] = { "acquireUsersAndGroups": lambda n : setattr(self, 'acquire_users_and_groups', n.get_collection_of_object_values(PackageAccessEntity)), + "activeUsers": lambda n : setattr(self, 'active_users', n.get_int_value()), "allowedUsersAndGroups": lambda n : setattr(self, 'allowed_users_and_groups', n.get_collection_of_object_values(PackageAccessEntity)), "categories": lambda n : setattr(self, 'categories', n.get_collection_of_primitive_values(str)), "elementDetails": lambda n : setattr(self, 'element_details', n.get_collection_of_object_values(PackageElementDetail)), + "exceptionRate": lambda n : setattr(self, 'exception_rate', n.get_float_value()), + "lastUsedDateTime": lambda n : setattr(self, 'last_used_date_time', n.get_datetime_value()), "longDescription": lambda n : setattr(self, 'long_description', n.get_str_value()), "sensitivity": lambda n : setattr(self, 'sensitivity', n.get_str_value()), "sharedWithUsersAndGroups": lambda n : setattr(self, 'shared_with_users_and_groups', n.get_collection_of_object_values(PackageAccessEntity)), + "totalRunTimeInHours": lambda n : setattr(self, 'total_run_time_in_hours', n.get_float_value()), + "totalSessions": lambda n : setattr(self, 'total_sessions', n.get_int_value()), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -77,11 +93,16 @@ def serialize(self,writer: SerializationWriter) -> None: raise TypeError("writer cannot be null.") super().serialize(writer) writer.write_collection_of_object_values("acquireUsersAndGroups", self.acquire_users_and_groups) + writer.write_int_value("activeUsers", self.active_users) writer.write_collection_of_object_values("allowedUsersAndGroups", self.allowed_users_and_groups) writer.write_collection_of_primitive_values("categories", self.categories) writer.write_collection_of_object_values("elementDetails", self.element_details) + writer.write_float_value("exceptionRate", self.exception_rate) + writer.write_datetime_value("lastUsedDateTime", self.last_used_date_time) writer.write_str_value("longDescription", self.long_description) writer.write_str_value("sensitivity", self.sensitivity) writer.write_collection_of_object_values("sharedWithUsersAndGroups", self.shared_with_users_and_groups) + writer.write_float_value("totalRunTimeInHours", self.total_run_time_in_hours) + writer.write_int_value("totalSessions", self.total_sessions) diff --git a/msgraph_beta/generated/models/cross_tenant_identity_sync_policy_partner.py b/msgraph_beta/generated/models/cross_tenant_identity_sync_policy_partner.py index d1887acd2c0..17f32570145 100644 --- a/msgraph_beta/generated/models/cross_tenant_identity_sync_policy_partner.py +++ b/msgraph_beta/generated/models/cross_tenant_identity_sync_policy_partner.py @@ -6,6 +6,7 @@ if TYPE_CHECKING: from .cross_tenant_group_sync_inbound import CrossTenantGroupSyncInbound + from .cross_tenant_role_enabled_group_sync_inbound import CrossTenantRoleEnabledGroupSyncInbound from .cross_tenant_user_sync_inbound import CrossTenantUserSyncInbound from .policy_deletable_item import PolicyDeletableItem @@ -21,6 +22,8 @@ class CrossTenantIdentitySyncPolicyPartner(PolicyDeletableItem, Parsable): external_cloud_authorized_application_id: Optional[str] = None # Defines whether groups can be synchronized from a partner tenant. group_sync_inbound: Optional[CrossTenantGroupSyncInbound] = None + # The roleEnabledGroupSyncInbound property + role_enabled_group_sync_inbound: Optional[CrossTenantRoleEnabledGroupSyncInbound] = None # Tenant identifier for the partner Microsoft Entra organization. Key. Read-only. tenant_id: Optional[str] = None # Defines whether users can be synchronized from the partner tenant. @@ -43,10 +46,12 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: Returns: dict[str, Callable[[ParseNode], None]] """ from .cross_tenant_group_sync_inbound import CrossTenantGroupSyncInbound + from .cross_tenant_role_enabled_group_sync_inbound import CrossTenantRoleEnabledGroupSyncInbound from .cross_tenant_user_sync_inbound import CrossTenantUserSyncInbound from .policy_deletable_item import PolicyDeletableItem from .cross_tenant_group_sync_inbound import CrossTenantGroupSyncInbound + from .cross_tenant_role_enabled_group_sync_inbound import CrossTenantRoleEnabledGroupSyncInbound from .cross_tenant_user_sync_inbound import CrossTenantUserSyncInbound from .policy_deletable_item import PolicyDeletableItem @@ -54,6 +59,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), "externalCloudAuthorizedApplicationId": lambda n : setattr(self, 'external_cloud_authorized_application_id', n.get_str_value()), "groupSyncInbound": lambda n : setattr(self, 'group_sync_inbound', n.get_object_value(CrossTenantGroupSyncInbound)), + "roleEnabledGroupSyncInbound": lambda n : setattr(self, 'role_enabled_group_sync_inbound', n.get_object_value(CrossTenantRoleEnabledGroupSyncInbound)), "tenantId": lambda n : setattr(self, 'tenant_id', n.get_str_value()), "userSyncInbound": lambda n : setattr(self, 'user_sync_inbound', n.get_object_value(CrossTenantUserSyncInbound)), } @@ -73,6 +79,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_str_value("displayName", self.display_name) writer.write_str_value("externalCloudAuthorizedApplicationId", self.external_cloud_authorized_application_id) writer.write_object_value("groupSyncInbound", self.group_sync_inbound) + writer.write_object_value("roleEnabledGroupSyncInbound", self.role_enabled_group_sync_inbound) writer.write_str_value("tenantId", self.tenant_id) writer.write_object_value("userSyncInbound", self.user_sync_inbound) diff --git a/msgraph_beta/generated/models/cross_tenant_role_enabled_group_sync_inbound.py b/msgraph_beta/generated/models/cross_tenant_role_enabled_group_sync_inbound.py new file mode 100644 index 00000000000..0464bd012fc --- /dev/null +++ b/msgraph_beta/generated/models/cross_tenant_role_enabled_group_sync_inbound.py @@ -0,0 +1,54 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class CrossTenantRoleEnabledGroupSyncInbound(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The isSyncAllowed property + is_sync_allowed: Optional[bool] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> CrossTenantRoleEnabledGroupSyncInbound: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: CrossTenantRoleEnabledGroupSyncInbound + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return CrossTenantRoleEnabledGroupSyncInbound() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "isSyncAllowed": lambda n : setattr(self, 'is_sync_allowed', n.get_bool_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_bool_value("isSyncAllowed", self.is_sync_allowed) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/custom_extension_data.py b/msgraph_beta/generated/models/custom_extension_data.py index 259585ca952..b538aec0534 100644 --- a/msgraph_beta/generated/models/custom_extension_data.py +++ b/msgraph_beta/generated/models/custom_extension_data.py @@ -11,6 +11,7 @@ from .identity_governance.custom_task_extension_callback_data import CustomTaskExtensionCallbackData from .identity_governance.custom_task_extension_callout_data import CustomTaskExtensionCalloutData from .identity_governance.custom_task_extension_response_data import CustomTaskExtensionResponseData + from .sap_assignment_request_callback_data import SapAssignmentRequestCallbackData @dataclass class CustomExtensionData(AdditionalDataHolder, BackedModel, Parsable): @@ -56,6 +57,10 @@ def create_from_discriminator_value(parse_node: ParseNode) -> CustomExtensionDat from .identity_governance.custom_task_extension_response_data import CustomTaskExtensionResponseData return CustomTaskExtensionResponseData() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.sapAssignmentRequestCallbackData".casefold(): + from .sap_assignment_request_callback_data import SapAssignmentRequestCallbackData + + return SapAssignmentRequestCallbackData() return CustomExtensionData() def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: @@ -68,12 +73,14 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .identity_governance.custom_task_extension_callback_data import CustomTaskExtensionCallbackData from .identity_governance.custom_task_extension_callout_data import CustomTaskExtensionCalloutData from .identity_governance.custom_task_extension_response_data import CustomTaskExtensionResponseData + from .sap_assignment_request_callback_data import SapAssignmentRequestCallbackData from .access_package_assignment_request_callback_data import AccessPackageAssignmentRequestCallbackData from .assignment_request_approval_stage_callback_data import AssignmentRequestApprovalStageCallbackData from .identity_governance.custom_task_extension_callback_data import CustomTaskExtensionCallbackData from .identity_governance.custom_task_extension_callout_data import CustomTaskExtensionCalloutData from .identity_governance.custom_task_extension_response_data import CustomTaskExtensionResponseData + from .sap_assignment_request_callback_data import SapAssignmentRequestCallbackData fields: dict[str, Callable[[Any], None]] = { "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), diff --git a/msgraph_beta/generated/models/tenant_governance_services/delegated_administration_role_assignment.py b/msgraph_beta/generated/models/delegated_administration_role_assignment.py similarity index 89% rename from msgraph_beta/generated/models/tenant_governance_services/delegated_administration_role_assignment.py rename to msgraph_beta/generated/models/delegated_administration_role_assignment.py index 7edc276fc28..a3dc086c8c6 100644 --- a/msgraph_beta/generated/models/tenant_governance_services/delegated_administration_role_assignment.py +++ b/msgraph_beta/generated/models/delegated_administration_role_assignment.py @@ -6,7 +6,7 @@ from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from ..group import Group + from .group import Group from .role_template import RoleTemplate @dataclass @@ -18,11 +18,11 @@ class DelegatedAdministrationRoleAssignment(AdditionalDataHolder, BackedModel, P additional_data: dict[str, Any] = field(default_factory=dict) # The group property group: Optional[Group] = None - # The display name of the security group referenced by the group navigation property. Server-populated and read-only; returns null if the referenced group has been deleted. + # The groupDisplayName property group_display_name: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # A collection of role templates that define the roles to be assigned to the group in the governed tenant. + # The roleTemplates property role_templates: Optional[list[RoleTemplate]] = None @staticmethod @@ -41,10 +41,10 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ - from ..group import Group + from .group import Group from .role_template import RoleTemplate - from ..group import Group + from .group import Group from .role_template import RoleTemplate fields: dict[str, Callable[[Any], None]] = { diff --git a/msgraph_beta/generated/models/tenant_governance_services/delegated_administration_role_assignment_snapshot.py b/msgraph_beta/generated/models/delegated_administration_role_assignment_snapshot.py similarity index 90% rename from msgraph_beta/generated/models/tenant_governance_services/delegated_administration_role_assignment_snapshot.py rename to msgraph_beta/generated/models/delegated_administration_role_assignment_snapshot.py index 2f57847f7fd..08ba338a5a5 100644 --- a/msgraph_beta/generated/models/tenant_governance_services/delegated_administration_role_assignment_snapshot.py +++ b/msgraph_beta/generated/models/delegated_administration_role_assignment_snapshot.py @@ -15,13 +15,13 @@ class DelegatedAdministrationRoleAssignmentSnapshot(AdditionalDataHolder, Backed # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # The display name of the security group identified by groupId at the time the snapshot was created. Read-only. + # The groupDisplayName property group_display_name: Optional[str] = None - # The object ID of the role-assignable security group in the governing tenant that will be assigned the specified roles. + # The groupId property group_id: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The collection of role templates that define the Microsoft Entra roles to be assigned. + # The roleTemplates property role_templates: Optional[list[RoleTemplate]] = None @staticmethod diff --git a/msgraph_beta/generated/models/deleted_item_container.py b/msgraph_beta/generated/models/deleted_item_container.py index 62386ba5a86..3ffec62a6a3 100644 --- a/msgraph_beta/generated/models/deleted_item_container.py +++ b/msgraph_beta/generated/models/deleted_item_container.py @@ -6,12 +6,15 @@ if TYPE_CHECKING: from .entity import Entity + from .identity_governance.lifecycle_policy import LifecyclePolicy from .identity_governance.workflow import Workflow from .entity import Entity @dataclass class DeletedItemContainer(Entity, Parsable): + # The lifecyclePolicies property + lifecycle_policies: Optional[list[LifecyclePolicy]] = None # The OdataType property odata_type: Optional[str] = None # Deleted workflows that end up in the deletedItemsContainer. @@ -34,12 +37,15 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: Returns: dict[str, Callable[[ParseNode], None]] """ from .entity import Entity + from .identity_governance.lifecycle_policy import LifecyclePolicy from .identity_governance.workflow import Workflow from .entity import Entity + from .identity_governance.lifecycle_policy import LifecyclePolicy from .identity_governance.workflow import Workflow fields: dict[str, Callable[[Any], None]] = { + "lifecyclePolicies": lambda n : setattr(self, 'lifecycle_policies', n.get_collection_of_object_values(LifecyclePolicy)), "workflows": lambda n : setattr(self, 'workflows', n.get_collection_of_object_values(Workflow)), } super_fields = super().get_field_deserializers() @@ -55,6 +61,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + writer.write_collection_of_object_values("lifecyclePolicies", self.lifecycle_policies) writer.write_collection_of_object_values("workflows", self.workflows) diff --git a/msgraph_beta/generated/models/device_app_management.py b/msgraph_beta/generated/models/device_app_management.py index 1036e22883f..60d973ae586 100644 --- a/msgraph_beta/generated/models/device_app_management.py +++ b/msgraph_beta/generated/models/device_app_management.py @@ -2,7 +2,8 @@ import datetime from collections.abc import Callable from dataclasses import dataclass, field -from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: @@ -10,7 +11,6 @@ from .default_managed_app_protection import DefaultManagedAppProtection from .device_app_management_task import DeviceAppManagementTask from .enterprise_code_signing_certificate import EnterpriseCodeSigningCertificate - from .entity import Entity from .ios_lob_app_provisioning_configuration import IosLobAppProvisioningConfiguration from .ios_managed_app_protection import IosManagedAppProtection from .managed_app_policy import ManagedAppPolicy @@ -36,13 +36,16 @@ from .windows_managed_app_protection import WindowsManagedAppProtection from .windows_management_app import WindowsManagementApp -from .entity import Entity - @dataclass -class DeviceAppManagement(Entity, Parsable): +class DeviceAppManagement(AdditionalDataHolder, BackedModel, Parsable): """ Singleton entity that acts as a container for all device app management functionality. """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) # Android managed app policies. android_managed_app_protections: Optional[list[AndroidManagedAppProtection]] = None # Default managed app policies. @@ -130,7 +133,6 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .default_managed_app_protection import DefaultManagedAppProtection from .device_app_management_task import DeviceAppManagementTask from .enterprise_code_signing_certificate import EnterpriseCodeSigningCertificate - from .entity import Entity from .ios_lob_app_provisioning_configuration import IosLobAppProvisioningConfiguration from .ios_managed_app_protection import IosManagedAppProtection from .managed_app_policy import ManagedAppPolicy @@ -160,7 +162,6 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .default_managed_app_protection import DefaultManagedAppProtection from .device_app_management_task import DeviceAppManagementTask from .enterprise_code_signing_certificate import EnterpriseCodeSigningCertificate - from .entity import Entity from .ios_lob_app_provisioning_configuration import IosLobAppProvisioningConfiguration from .ios_managed_app_protection import IosManagedAppProtection from .managed_app_policy import ManagedAppPolicy @@ -209,6 +210,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: "mobileAppConfigurations": lambda n : setattr(self, 'mobile_app_configurations', n.get_collection_of_object_values(ManagedDeviceMobileAppConfiguration)), "mobileAppRelationships": lambda n : setattr(self, 'mobile_app_relationships', n.get_collection_of_object_values(MobileAppRelationship)), "mobileApps": lambda n : setattr(self, 'mobile_apps', n.get_collection_of_object_values(MobileApp)), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), "policySets": lambda n : setattr(self, 'policy_sets', n.get_collection_of_object_values(PolicySet)), "symantecCodeSigningCertificate": lambda n : setattr(self, 'symantec_code_signing_certificate', n.get_object_value(SymantecCodeSigningCertificate)), "targetedManagedAppConfigurations": lambda n : setattr(self, 'targeted_managed_app_configurations', n.get_collection_of_object_values(TargetedManagedAppConfiguration)), @@ -220,8 +222,6 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: "windowsManagedAppProtections": lambda n : setattr(self, 'windows_managed_app_protections', n.get_collection_of_object_values(WindowsManagedAppProtection)), "windowsManagementApp": lambda n : setattr(self, 'windows_management_app', n.get_object_value(WindowsManagementApp)), } - super_fields = super().get_field_deserializers() - fields.update(super_fields) return fields def serialize(self,writer: SerializationWriter) -> None: @@ -232,7 +232,6 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") - super().serialize(writer) writer.write_collection_of_object_values("androidManagedAppProtections", self.android_managed_app_protections) writer.write_collection_of_object_values("defaultManagedAppProtections", self.default_managed_app_protections) writer.write_collection_of_object_values("deviceAppManagementTasks", self.device_app_management_tasks) @@ -255,6 +254,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_collection_of_object_values("mobileAppConfigurations", self.mobile_app_configurations) writer.write_collection_of_object_values("mobileAppRelationships", self.mobile_app_relationships) writer.write_collection_of_object_values("mobileApps", self.mobile_apps) + writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("policySets", self.policy_sets) writer.write_object_value("symantecCodeSigningCertificate", self.symantec_code_signing_certificate) writer.write_collection_of_object_values("targetedManagedAppConfigurations", self.targeted_managed_app_configurations) @@ -265,5 +265,6 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_collection_of_object_values("windowsInformationProtectionWipeActions", self.windows_information_protection_wipe_actions) writer.write_collection_of_object_values("windowsManagedAppProtections", self.windows_managed_app_protections) writer.write_object_value("windowsManagementApp", self.windows_management_app) + writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/device_compliance_script.py b/msgraph_beta/generated/models/device_compliance_script.py index 4f57cfdfb1e..0fe8e41ab07 100644 --- a/msgraph_beta/generated/models/device_compliance_script.py +++ b/msgraph_beta/generated/models/device_compliance_script.py @@ -38,7 +38,7 @@ class DeviceComplianceScript(Entity, Parsable): last_modified_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None - # Indicates the operating system platform type that this compliance script targets. + # Indicates the device platform on which the device compliance script will be executed. Possible values are: windows10AndLater (default), linux. The default value is windows10AndLater. platform: Optional[DeviceComplianceScriptPlatformType] = None # Name of the device compliance script publisher publisher: Optional[str] = None diff --git a/msgraph_beta/generated/models/device_management_configuration_technologies.py b/msgraph_beta/generated/models/device_management_configuration_technologies.py index 134e14e1e42..cc1fb3772ca 100644 --- a/msgraph_beta/generated/models/device_management_configuration_technologies.py +++ b/msgraph_beta/generated/models/device_management_configuration_technologies.py @@ -35,4 +35,6 @@ class DeviceManagementConfigurationTechnologies(str, Enum): WindowsOsRecovery = "windowsOsRecovery", # Indicates the settings that can be deployed through the Android channel. Android = "android", + # Setting can be deployed through the Intune Open Extensibility channel for scenarios such as Windows Recovery Environment (WinRE) configuration policies. + IntuneOpenExtensibility = "intuneOpenExtensibility", diff --git a/msgraph_beta/generated/models/directory.py b/msgraph_beta/generated/models/directory.py index 67fc933421c..21b6a2c9116 100644 --- a/msgraph_beta/generated/models/directory.py +++ b/msgraph_beta/generated/models/directory.py @@ -29,7 +29,7 @@ from .remote_tenant_group import RemoteTenantGroup from .shared_email_domain import SharedEmailDomain from .template import Template - from .tenant_governance_services.tenant_governance import TenantGovernance + from .tenant_governance import TenantGovernance from .entity import Entity @@ -126,7 +126,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .remote_tenant_group import RemoteTenantGroup from .shared_email_domain import SharedEmailDomain from .template import Template - from .tenant_governance_services.tenant_governance import TenantGovernance + from .tenant_governance import TenantGovernance from .administrative_unit import AdministrativeUnit from .attribute_set import AttributeSet @@ -152,7 +152,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .remote_tenant_group import RemoteTenantGroup from .shared_email_domain import SharedEmailDomain from .template import Template - from .tenant_governance_services.tenant_governance import TenantGovernance + from .tenant_governance import TenantGovernance fields: dict[str, Callable[[Any], None]] = { "administrativeUnits": lambda n : setattr(self, 'administrative_units', n.get_collection_of_object_values(AdministrativeUnit)), diff --git a/msgraph_beta/generated/models/distribution_list.py b/msgraph_beta/generated/models/distribution_list.py index 04c29153069..ba338035fa8 100644 --- a/msgraph_beta/generated/models/distribution_list.py +++ b/msgraph_beta/generated/models/distribution_list.py @@ -5,7 +5,7 @@ from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from .member import Member + from .distribution_list_member import DistributionListMember from .outlook_item import OutlookItem from .single_value_legacy_extended_property import SingleValueLegacyExtendedProperty @@ -17,8 +17,8 @@ class DistributionList(OutlookItem, Parsable): odata_type: Optional[str] = "#microsoft.graph.distributionList" # The display name of the distribution list. display_name: Optional[str] = None - # The members property - members: Optional[list[Member]] = None + # The members of the distribution list. Not returned by default; use $expand=members to include. Read-only. + members: Optional[list[DistributionListMember]] = None # Notes about the distribution list. notes: Optional[str] = None # The unique identifier of the distribution list in the mailbox. Read-only. @@ -42,17 +42,17 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ - from .member import Member + from .distribution_list_member import DistributionListMember from .outlook_item import OutlookItem from .single_value_legacy_extended_property import SingleValueLegacyExtendedProperty - from .member import Member + from .distribution_list_member import DistributionListMember from .outlook_item import OutlookItem from .single_value_legacy_extended_property import SingleValueLegacyExtendedProperty fields: dict[str, Callable[[Any], None]] = { "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), - "members": lambda n : setattr(self, 'members', n.get_collection_of_object_values(Member)), + "members": lambda n : setattr(self, 'members', n.get_collection_of_object_values(DistributionListMember)), "notes": lambda n : setattr(self, 'notes', n.get_str_value()), "personIdentifier": lambda n : setattr(self, 'person_identifier', n.get_str_value()), "singleValueExtendedProperties": lambda n : setattr(self, 'single_value_extended_properties', n.get_collection_of_object_values(SingleValueLegacyExtendedProperty)), diff --git a/msgraph_beta/generated/models/distribution_list_member.py b/msgraph_beta/generated/models/distribution_list_member.py new file mode 100644 index 00000000000..81dfe4eb9b3 --- /dev/null +++ b/msgraph_beta/generated/models/distribution_list_member.py @@ -0,0 +1,75 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .contact import Contact + from .entity import Entity + from .recipient_type import RecipientType + +from .entity import Entity + +@dataclass +class DistributionListMember(Entity, Parsable): + # The contact associated with the distribution list member. Read-only. + contact: Optional[Contact] = None + # The display name of the member. Read-only. + display_name: Optional[str] = None + # A system generated unique identifier. Non-empty for contact, privateDL and mailbox members. ReadOnly. + member_id: Optional[str] = None + # The OdataType property + odata_type: Optional[str] = None + # The type property + type: Optional[RecipientType] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> DistributionListMember: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: DistributionListMember + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return DistributionListMember() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .contact import Contact + from .entity import Entity + from .recipient_type import RecipientType + + from .contact import Contact + from .entity import Entity + from .recipient_type import RecipientType + + fields: dict[str, Callable[[Any], None]] = { + "contact": lambda n : setattr(self, 'contact', n.get_object_value(Contact)), + "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), + "memberId": lambda n : setattr(self, 'member_id', n.get_str_value()), + "type": lambda n : setattr(self, 'type', n.get_enum_value(RecipientType)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_object_value("contact", self.contact) + writer.write_str_value("displayName", self.display_name) + writer.write_str_value("memberId", self.member_id) + writer.write_enum_value("type", self.type) + + diff --git a/msgraph_beta/generated/models/distribution_list_member_collection_response.py b/msgraph_beta/generated/models/distribution_list_member_collection_response.py new file mode 100644 index 00000000000..53cf0f3d627 --- /dev/null +++ b/msgraph_beta/generated/models/distribution_list_member_collection_response.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .distribution_list_member import DistributionListMember + +from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class DistributionListMemberCollectionResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[list[DistributionListMember]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> DistributionListMemberCollectionResponse: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: DistributionListMemberCollectionResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return DistributionListMemberCollectionResponse() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .distribution_list_member import DistributionListMember + + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .distribution_list_member import DistributionListMember + + fields: dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(DistributionListMember)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/models/drive.py b/msgraph_beta/generated/models/drive.py index b29752092a1..edc0c1a80a7 100644 --- a/msgraph_beta/generated/models/drive.py +++ b/msgraph_beta/generated/models/drive.py @@ -7,6 +7,7 @@ if TYPE_CHECKING: from .base_item import BaseItem from .drive_item import DriveItem + from .drive_settings import DriveSettings from .identity_set import IdentitySet from .item_activity_o_l_d import ItemActivityOLD from .list_ import List_ @@ -38,6 +39,8 @@ class Drive(BaseItem, Parsable): quota: Optional[Quota] = None # The root folder of the drive. Read-only. root: Optional[DriveItem] = None + # The settings associated with the drive. Read-only. This property isn't returned by default and must be selected using the $select query parameter. + settings: Optional[DriveSettings] = None # The sharePointIds property share_point_ids: Optional[SharepointIds] = None # Collection of common folders available in OneDrive. Read-only. Nullable. @@ -63,6 +66,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: """ from .base_item import BaseItem from .drive_item import DriveItem + from .drive_settings import DriveSettings from .identity_set import IdentitySet from .item_activity_o_l_d import ItemActivityOLD from .list_ import List_ @@ -72,6 +76,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .base_item import BaseItem from .drive_item import DriveItem + from .drive_settings import DriveSettings from .identity_set import IdentitySet from .item_activity_o_l_d import ItemActivityOLD from .list_ import List_ @@ -89,6 +94,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: "owner": lambda n : setattr(self, 'owner', n.get_object_value(IdentitySet)), "quota": lambda n : setattr(self, 'quota', n.get_object_value(Quota)), "root": lambda n : setattr(self, 'root', n.get_object_value(DriveItem)), + "settings": lambda n : setattr(self, 'settings', n.get_object_value(DriveSettings)), "sharePointIds": lambda n : setattr(self, 'share_point_ids', n.get_object_value(SharepointIds)), "special": lambda n : setattr(self, 'special', n.get_collection_of_object_values(DriveItem)), "system": lambda n : setattr(self, 'system', n.get_object_value(SystemFacet)), @@ -115,6 +121,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_object_value("owner", self.owner) writer.write_object_value("quota", self.quota) writer.write_object_value("root", self.root) + writer.write_object_value("settings", self.settings) writer.write_object_value("sharePointIds", self.share_point_ids) writer.write_collection_of_object_values("special", self.special) writer.write_object_value("system", self.system) diff --git a/msgraph_beta/generated/models/drive_settings.py b/msgraph_beta/generated/models/drive_settings.py new file mode 100644 index 00000000000..0d1265a1a6a --- /dev/null +++ b/msgraph_beta/generated/models/drive_settings.py @@ -0,0 +1,54 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class DriveSettings(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The ID of the default sensitivity label for items in the drive. Read-only. + item_default_sensitivity_label_id: Optional[str] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> DriveSettings: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: DriveSettings + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return DriveSettings() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "itemDefaultSensitivityLabelId": lambda n : setattr(self, 'item_default_sensitivity_label_id', n.get_str_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("itemDefaultSensitivityLabelId", self.item_default_sensitivity_label_id) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/embedding_input.py b/msgraph_beta/generated/models/embedding_input.py new file mode 100644 index 00000000000..f4f3e97a89c --- /dev/null +++ b/msgraph_beta/generated/models/embedding_input.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class EmbeddingInput(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The embedding vectors the model produced for the text, encoded as a base64 string of little-endian 32-bit floats. Every vector the model emitted (for example, one per text chunk) is concatenated in order; each contributes exactly the modelType's embedding dimension worth of float components, so the decoded length must be a whole multiple of that dimension. + data: Optional[str] = None + # The embedding model identifier drawn from the service allow-list (for example: text-embedding-3-small-512). Unique (case-insensitive) within the embeddings collection; entries whose modelType is outside the allow-list are rejected with a 400. + model_type: Optional[str] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> EmbeddingInput: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: EmbeddingInput + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return EmbeddingInput() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "data": lambda n : setattr(self, 'data', n.get_str_value()), + "modelType": lambda n : setattr(self, 'model_type', n.get_str_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("data", self.data) + writer.write_str_value("modelType", self.model_type) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/entity.py b/msgraph_beta/generated/models/entity.py index b85463a3d6b..67dfbb2620d 100644 --- a/msgraph_beta/generated/models/entity.py +++ b/msgraph_beta/generated/models/entity.py @@ -60,6 +60,7 @@ from .agent import Agent from .agent_card_manifest import AgentCardManifest from .agent_collection import AgentCollection + from .agent_communication_configuration import AgentCommunicationConfiguration from .agent_identity import AgentIdentity from .agent_identity_blueprint import AgentIdentityBlueprint from .agent_identity_blueprint_principal import AgentIdentityBlueprintPrincipal @@ -266,9 +267,17 @@ from .azure_service_principal import AzureServicePrincipal from .azure_user import AzureUser from .b2b_management_policy import B2bManagementPolicy + from .b2b_registration_metrics import B2bRegistrationMetrics from .b2c_authentication_methods_policy import B2cAuthenticationMethodsPolicy from .b2c_identity_user_flow import B2cIdentityUserFlow from .b2x_identity_user_flow import B2xIdentityUserFlow + from .b2_b_registration_metrics_base import B2BRegistrationMetricsBase + from .b2_b_registration_metrics_initial import B2BRegistrationMetricsInitial + from .b2_b_registration_metrics_recent import B2BRegistrationMetricsRecent + from .b2_b_sign_in_activity_metrics import B2BSignInActivityMetrics + from .b2_b_sign_in_activity_metrics_base import B2BSignInActivityMetricsBase + from .b2_b_sign_in_activity_metrics_initial import B2BSignInActivityMetricsInitial + from .b2_b_sign_in_activity_metrics_recent import B2BSignInActivityMetricsRecent from .backup_policy_activity_log import BackupPolicyActivityLog from .backup_report import BackupReport from .backup_restore_root import BackupRestoreRoot @@ -276,6 +285,10 @@ from .base_item_version import BaseItemVersion from .base_map_feature import BaseMapFeature from .base_site_page import BaseSitePage + from .billing_metrics import BillingMetrics + from .billing_metrics_base import BillingMetricsBase + from .billing_metrics_initial import BillingMetricsInitial + from .billing_metrics_recent import BillingMetricsRecent from .bitlocker import Bitlocker from .bitlocker_recovery_key import BitlockerRecoveryKey from .booking_appointment import BookingAppointment @@ -517,7 +530,6 @@ from .device_and_app_management_assignment_filter import DeviceAndAppManagementAssignmentFilter from .device_and_app_management_role_assignment import DeviceAndAppManagementRoleAssignment from .device_and_app_management_role_definition import DeviceAndAppManagementRoleDefinition - from .device_app_management import DeviceAppManagement from .device_app_management_task import DeviceAppManagementTask from .device_category import DeviceCategory from .device_comanagement_authority_configuration import DeviceComanagementAuthorityConfiguration @@ -645,6 +657,7 @@ from .directory_setting import DirectorySetting from .directory_setting_template import DirectorySettingTemplate from .distribution_list import DistributionList + from .distribution_list_member import DistributionListMember from .dlp_evaluate_policies_job_response import DlpEvaluatePoliciesJobResponse from .document import Document from .document_comment import DocumentComment @@ -844,7 +857,10 @@ from .goals import Goals from .goals_export_job import GoalsExportJob from .governance_insight import GovernanceInsight + from .governance_invitation import GovernanceInvitation from .governance_policy_template import GovernancePolicyTemplate + from .governance_relationship import GovernanceRelationship + from .governance_request import GovernanceRequest from .governance_resource import GovernanceResource from .governance_role_assignment import GovernanceRoleAssignment from .governance_role_assignment_request import GovernanceRoleAssignmentRequest @@ -912,11 +928,22 @@ from .identity_correlation import IdentityCorrelation from .identity_custom_user_flow_attribute import IdentityCustomUserFlowAttribute from .identity_finding import IdentityFinding + from .identity_governance.agent_identity_lifecycle import AgentIdentityLifecycle + from .identity_governance.agent_identity_lifecycle_policy import AgentIdentityLifecyclePolicy + from .identity_governance.attestation_compliance_issue import AttestationComplianceIssue + from .identity_governance.compliance_issue import ComplianceIssue from .identity_governance.custom_task_extension import CustomTaskExtension + from .identity_governance.identity_lifecycle import IdentityLifecycle + from .identity_governance.inactivity_rule import InactivityRule from .identity_governance.insights import Insights from .identity_governance.lifecycle_management_settings import LifecycleManagementSettings + from .identity_governance.lifecycle_policy import LifecyclePolicy + from .identity_governance.lifecycle_policy_priority_configuration import LifecyclePolicyPriorityConfiguration + from .identity_governance.lifecycle_policy_rule import LifecyclePolicyRule from .identity_governance.lifecycle_workflows_container import LifecycleWorkflowsContainer + from .identity_governance.periodic_attestation_rule import PeriodicAttestationRule from .identity_governance.run import Run + from .identity_governance.sponsor_presence_rule import SponsorPresenceRule from .identity_governance.subject_processing_result import SubjectProcessingResult from .identity_governance.task import Task from .identity_governance.task_definition import TaskDefinition @@ -1242,6 +1269,10 @@ from .monthly_inactive_users_metric import MonthlyInactiveUsersMetric from .monthly_user_insight_metrics_root import MonthlyUserInsightMetricsRoot from .multi_activity_subscription import MultiActivitySubscription + from .multi_tenant_application_metrics import MultiTenantApplicationMetrics + from .multi_tenant_application_metrics_base import MultiTenantApplicationMetricsBase + from .multi_tenant_application_metrics_initial import MultiTenantApplicationMetricsInitial + from .multi_tenant_application_metrics_recent import MultiTenantApplicationMetricsRecent from .multi_tenant_organization import MultiTenantOrganization from .multi_tenant_organization_identity_sync_policy_template import MultiTenantOrganizationIdentitySyncPolicyTemplate from .multi_tenant_organization_join_request_record import MultiTenantOrganizationJoinRequestRecord @@ -1566,6 +1597,7 @@ from .recommendation import Recommendation from .recommendation_base import RecommendationBase from .recommendation_configuration import RecommendationConfiguration + from .recommendation_tag import RecommendationTag from .record_operation import RecordOperation from .recycle_bin import RecycleBin from .recycle_bin_item import RecycleBinItem @@ -1574,6 +1606,8 @@ from .reference_attachment import ReferenceAttachment from .reflect_check_in_response import ReflectCheckInResponse from .regional_and_language_settings import RegionalAndLanguageSettings + from .related_tenant import RelatedTenant + from .related_tenants_refresh_request import RelatedTenantsRefreshRequest from .relying_party_detailed_summary import RelyingPartyDetailedSummary from .remote_action_audit import RemoteActionAudit from .remote_assistance_partner import RemoteAssistancePartner @@ -1596,6 +1630,7 @@ from .restricted_apps_violation import RestrictedAppsViolation from .rich_long_running_operation import RichLongRunningOperation from .risky_agent import RiskyAgent + from .risky_agent_discovered_agent_identity import RiskyAgentDiscoveredAgentIdentity from .risky_agent_identity import RiskyAgentIdentity from .risky_agent_identity_blueprint_principal import RiskyAgentIdentityBlueprintPrincipal from .risky_agent_user import RiskyAgentUser @@ -1972,31 +2007,9 @@ from .tenant_app_management_policy import TenantAppManagementPolicy from .tenant_attach_r_b_a_c import TenantAttachRBAC from .tenant_data_security_and_governance import TenantDataSecurityAndGovernance - from .tenant_governance_services.b2b_registration_metrics import B2bRegistrationMetrics - from .tenant_governance_services.b2_b_registration_metrics_base import B2BRegistrationMetricsBase - from .tenant_governance_services.b2_b_registration_metrics_initial import B2BRegistrationMetricsInitial - from .tenant_governance_services.b2_b_registration_metrics_recent import B2BRegistrationMetricsRecent - from .tenant_governance_services.b2_b_sign_in_activity_metrics import B2BSignInActivityMetrics - from .tenant_governance_services.b2_b_sign_in_activity_metrics_base import B2BSignInActivityMetricsBase - from .tenant_governance_services.b2_b_sign_in_activity_metrics_initial import B2BSignInActivityMetricsInitial - from .tenant_governance_services.b2_b_sign_in_activity_metrics_recent import B2BSignInActivityMetricsRecent - from .tenant_governance_services.billing_metrics import BillingMetrics - from .tenant_governance_services.billing_metrics_base import BillingMetricsBase - from .tenant_governance_services.billing_metrics_initial import BillingMetricsInitial - from .tenant_governance_services.billing_metrics_recent import BillingMetricsRecent - from .tenant_governance_services.governance_invitation import GovernanceInvitation - from .tenant_governance_services.governance_policy_template import GovernancePolicyTemplate - from .tenant_governance_services.governance_relationship import GovernanceRelationship - from .tenant_governance_services.governance_request import GovernanceRequest - from .tenant_governance_services.long_running_operation import LongRunningOperation - from .tenant_governance_services.multi_tenant_application_metrics import MultiTenantApplicationMetrics - from .tenant_governance_services.multi_tenant_application_metrics_base import MultiTenantApplicationMetricsBase - from .tenant_governance_services.multi_tenant_application_metrics_initial import MultiTenantApplicationMetricsInitial - from .tenant_governance_services.multi_tenant_application_metrics_recent import MultiTenantApplicationMetricsRecent - from .tenant_governance_services.related_tenant import RelatedTenant - from .tenant_governance_services.related_tenants_refresh_request import RelatedTenantsRefreshRequest - from .tenant_governance_services.tenant_governance import TenantGovernance - from .tenant_governance_services.tenant_governance_setting import TenantGovernanceSetting + from .tenant_governance import TenantGovernance + from .tenant_governance_policy_template import TenantGovernancePolicyTemplate + from .tenant_governance_setting import TenantGovernanceSetting from .tenant_protection_scope_container import TenantProtectionScopeContainer from .tenant_relationship_access_policy_base import TenantRelationshipAccessPolicyBase from .tenant_setup_info import TenantSetupInfo @@ -2632,6 +2645,10 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: from .agent_collection import AgentCollection return AgentCollection() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.agentCommunicationConfiguration".casefold(): + from .agent_communication_configuration import AgentCommunicationConfiguration + + return AgentCommunicationConfiguration() if mapping_value and mapping_value.casefold() == "#microsoft.graph.agentIdentity".casefold(): from .agent_identity import AgentIdentity @@ -3461,6 +3478,38 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: from .b2b_management_policy import B2bManagementPolicy return B2bManagementPolicy() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.b2bRegistrationMetrics".casefold(): + from .b2b_registration_metrics import B2bRegistrationMetrics + + return B2bRegistrationMetrics() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.b2BRegistrationMetricsBase".casefold(): + from .b2_b_registration_metrics_base import B2BRegistrationMetricsBase + + return B2BRegistrationMetricsBase() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.b2BRegistrationMetricsInitial".casefold(): + from .b2_b_registration_metrics_initial import B2BRegistrationMetricsInitial + + return B2BRegistrationMetricsInitial() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.b2BRegistrationMetricsRecent".casefold(): + from .b2_b_registration_metrics_recent import B2BRegistrationMetricsRecent + + return B2BRegistrationMetricsRecent() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.b2BSignInActivityMetrics".casefold(): + from .b2_b_sign_in_activity_metrics import B2BSignInActivityMetrics + + return B2BSignInActivityMetrics() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.b2BSignInActivityMetricsBase".casefold(): + from .b2_b_sign_in_activity_metrics_base import B2BSignInActivityMetricsBase + + return B2BSignInActivityMetricsBase() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.b2BSignInActivityMetricsInitial".casefold(): + from .b2_b_sign_in_activity_metrics_initial import B2BSignInActivityMetricsInitial + + return B2BSignInActivityMetricsInitial() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.b2BSignInActivityMetricsRecent".casefold(): + from .b2_b_sign_in_activity_metrics_recent import B2BSignInActivityMetricsRecent + + return B2BSignInActivityMetricsRecent() if mapping_value and mapping_value.casefold() == "#microsoft.graph.b2cAuthenticationMethodsPolicy".casefold(): from .b2c_authentication_methods_policy import B2cAuthenticationMethodsPolicy @@ -3501,6 +3550,22 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: from .base_site_page import BaseSitePage return BaseSitePage() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.billingMetrics".casefold(): + from .billing_metrics import BillingMetrics + + return BillingMetrics() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.billingMetricsBase".casefold(): + from .billing_metrics_base import BillingMetricsBase + + return BillingMetricsBase() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.billingMetricsInitial".casefold(): + from .billing_metrics_initial import BillingMetricsInitial + + return BillingMetricsInitial() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.billingMetricsRecent".casefold(): + from .billing_metrics_recent import BillingMetricsRecent + + return BillingMetricsRecent() if mapping_value and mapping_value.casefold() == "#microsoft.graph.bitlocker".casefold(): from .bitlocker import Bitlocker @@ -4469,10 +4534,6 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: from .device_and_app_management_role_definition import DeviceAndAppManagementRoleDefinition return DeviceAndAppManagementRoleDefinition() - if mapping_value and mapping_value.casefold() == "#microsoft.graph.deviceAppManagement".casefold(): - from .device_app_management import DeviceAppManagement - - return DeviceAppManagement() if mapping_value and mapping_value.casefold() == "#microsoft.graph.deviceAppManagementTask".casefold(): from .device_app_management_task import DeviceAppManagementTask @@ -4982,6 +5043,10 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: from .distribution_list import DistributionList return DistributionList() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.distributionListMember".casefold(): + from .distribution_list_member import DistributionListMember + + return DistributionListMember() if mapping_value and mapping_value.casefold() == "#microsoft.graph.dlpEvaluatePoliciesJobResponse".casefold(): from .dlp_evaluate_policies_job_response import DlpEvaluatePoliciesJobResponse @@ -5795,11 +5860,22 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: from .governance_insight import GovernanceInsight return GovernanceInsight() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.governanceInvitation".casefold(): + from .governance_invitation import GovernanceInvitation + + return GovernanceInvitation() if mapping_value and mapping_value.casefold() == "#microsoft.graph.governancePolicyTemplate".casefold(): from .governance_policy_template import GovernancePolicyTemplate - from .tenant_governance_services.governance_policy_template import GovernancePolicyTemplate return GovernancePolicyTemplate() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.governanceRelationship".casefold(): + from .governance_relationship import GovernanceRelationship + + return GovernanceRelationship() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.governanceRequest".casefold(): + from .governance_request import GovernanceRequest + + return GovernanceRequest() if mapping_value and mapping_value.casefold() == "#microsoft.graph.governanceResource".casefold(): from .governance_resource import GovernanceResource @@ -6072,10 +6148,34 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: from .identity_finding import IdentityFinding return IdentityFinding() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.identityGovernance.agentIdentityLifecycle".casefold(): + from .identity_governance.agent_identity_lifecycle import AgentIdentityLifecycle + + return AgentIdentityLifecycle() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.identityGovernance.agentIdentityLifecyclePolicy".casefold(): + from .identity_governance.agent_identity_lifecycle_policy import AgentIdentityLifecyclePolicy + + return AgentIdentityLifecyclePolicy() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.identityGovernance.attestationComplianceIssue".casefold(): + from .identity_governance.attestation_compliance_issue import AttestationComplianceIssue + + return AttestationComplianceIssue() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.identityGovernance.complianceIssue".casefold(): + from .identity_governance.compliance_issue import ComplianceIssue + + return ComplianceIssue() if mapping_value and mapping_value.casefold() == "#microsoft.graph.identityGovernance.customTaskExtension".casefold(): from .identity_governance.custom_task_extension import CustomTaskExtension return CustomTaskExtension() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.identityGovernance.identityLifecycle".casefold(): + from .identity_governance.identity_lifecycle import IdentityLifecycle + + return IdentityLifecycle() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.identityGovernance.inactivityRule".casefold(): + from .identity_governance.inactivity_rule import InactivityRule + + return InactivityRule() if mapping_value and mapping_value.casefold() == "#microsoft.graph.identityGovernance.insights".casefold(): from .identity_governance.insights import Insights @@ -6084,14 +6184,34 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: from .identity_governance.lifecycle_management_settings import LifecycleManagementSettings return LifecycleManagementSettings() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.identityGovernance.lifecyclePolicy".casefold(): + from .identity_governance.lifecycle_policy import LifecyclePolicy + + return LifecyclePolicy() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.identityGovernance.lifecyclePolicyPriorityConfiguration".casefold(): + from .identity_governance.lifecycle_policy_priority_configuration import LifecyclePolicyPriorityConfiguration + + return LifecyclePolicyPriorityConfiguration() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.identityGovernance.lifecyclePolicyRule".casefold(): + from .identity_governance.lifecycle_policy_rule import LifecyclePolicyRule + + return LifecyclePolicyRule() if mapping_value and mapping_value.casefold() == "#microsoft.graph.identityGovernance.lifecycleWorkflowsContainer".casefold(): from .identity_governance.lifecycle_workflows_container import LifecycleWorkflowsContainer return LifecycleWorkflowsContainer() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.identityGovernance.periodicAttestationRule".casefold(): + from .identity_governance.periodic_attestation_rule import PeriodicAttestationRule + + return PeriodicAttestationRule() if mapping_value and mapping_value.casefold() == "#microsoft.graph.identityGovernance.run".casefold(): from .identity_governance.run import Run return Run() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.identityGovernance.sponsorPresenceRule".casefold(): + from .identity_governance.sponsor_presence_rule import SponsorPresenceRule + + return SponsorPresenceRule() if mapping_value and mapping_value.casefold() == "#microsoft.graph.identityGovernance.subjectProcessingResult".casefold(): from .identity_governance.subject_processing_result import SubjectProcessingResult @@ -6668,7 +6788,6 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: return LoginPage() if mapping_value and mapping_value.casefold() == "#microsoft.graph.longRunningOperation".casefold(): from .long_running_operation import LongRunningOperation - from .tenant_governance_services.long_running_operation import LongRunningOperation return LongRunningOperation() if mapping_value and mapping_value.casefold() == "#microsoft.graph.lookupResultRow".casefold(): @@ -7399,6 +7518,22 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: from .multi_activity_subscription import MultiActivitySubscription return MultiActivitySubscription() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.multiTenantApplicationMetrics".casefold(): + from .multi_tenant_application_metrics import MultiTenantApplicationMetrics + + return MultiTenantApplicationMetrics() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.multiTenantApplicationMetricsBase".casefold(): + from .multi_tenant_application_metrics_base import MultiTenantApplicationMetricsBase + + return MultiTenantApplicationMetricsBase() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.multiTenantApplicationMetricsInitial".casefold(): + from .multi_tenant_application_metrics_initial import MultiTenantApplicationMetricsInitial + + return MultiTenantApplicationMetricsInitial() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.multiTenantApplicationMetricsRecent".casefold(): + from .multi_tenant_application_metrics_recent import MultiTenantApplicationMetricsRecent + + return MultiTenantApplicationMetricsRecent() if mapping_value and mapping_value.casefold() == "#microsoft.graph.multiTenantOrganization".casefold(): from .multi_tenant_organization import MultiTenantOrganization @@ -8705,6 +8840,10 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: from .recommendation_configuration import RecommendationConfiguration return RecommendationConfiguration() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.recommendationTag".casefold(): + from .recommendation_tag import RecommendationTag + + return RecommendationTag() if mapping_value and mapping_value.casefold() == "#microsoft.graph.recordOperation".casefold(): from .record_operation import RecordOperation @@ -8737,6 +8876,14 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: from .regional_and_language_settings import RegionalAndLanguageSettings return RegionalAndLanguageSettings() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.relatedTenant".casefold(): + from .related_tenant import RelatedTenant + + return RelatedTenant() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.relatedTenantsRefreshRequest".casefold(): + from .related_tenants_refresh_request import RelatedTenantsRefreshRequest + + return RelatedTenantsRefreshRequest() if mapping_value and mapping_value.casefold() == "#microsoft.graph.relyingPartyDetailedSummary".casefold(): from .relying_party_detailed_summary import RelyingPartyDetailedSummary @@ -8829,6 +8976,10 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: from .risky_agent import RiskyAgent return RiskyAgent() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.riskyAgentDiscoveredAgentIdentity".casefold(): + from .risky_agent_discovered_agent_identity import RiskyAgentDiscoveredAgentIdentity + + return RiskyAgentDiscoveredAgentIdentity() if mapping_value and mapping_value.casefold() == "#microsoft.graph.riskyAgentIdentity".casefold(): from .risky_agent_identity import RiskyAgentIdentity @@ -10354,106 +10505,16 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: from .tenant_data_security_and_governance import TenantDataSecurityAndGovernance return TenantDataSecurityAndGovernance() - if mapping_value and mapping_value.casefold() == "#microsoft.graph.tenantGovernanceServices.b2bRegistrationMetrics".casefold(): - from .tenant_governance_services.b2b_registration_metrics import B2bRegistrationMetrics - - return B2bRegistrationMetrics() - if mapping_value and mapping_value.casefold() == "#microsoft.graph.tenantGovernanceServices.b2BRegistrationMetricsBase".casefold(): - from .tenant_governance_services.b2_b_registration_metrics_base import B2BRegistrationMetricsBase - - return B2BRegistrationMetricsBase() - if mapping_value and mapping_value.casefold() == "#microsoft.graph.tenantGovernanceServices.b2BRegistrationMetricsInitial".casefold(): - from .tenant_governance_services.b2_b_registration_metrics_initial import B2BRegistrationMetricsInitial - - return B2BRegistrationMetricsInitial() - if mapping_value and mapping_value.casefold() == "#microsoft.graph.tenantGovernanceServices.b2BRegistrationMetricsRecent".casefold(): - from .tenant_governance_services.b2_b_registration_metrics_recent import B2BRegistrationMetricsRecent - - return B2BRegistrationMetricsRecent() - if mapping_value and mapping_value.casefold() == "#microsoft.graph.tenantGovernanceServices.b2BSignInActivityMetrics".casefold(): - from .tenant_governance_services.b2_b_sign_in_activity_metrics import B2BSignInActivityMetrics - - return B2BSignInActivityMetrics() - if mapping_value and mapping_value.casefold() == "#microsoft.graph.tenantGovernanceServices.b2BSignInActivityMetricsBase".casefold(): - from .tenant_governance_services.b2_b_sign_in_activity_metrics_base import B2BSignInActivityMetricsBase - - return B2BSignInActivityMetricsBase() - if mapping_value and mapping_value.casefold() == "#microsoft.graph.tenantGovernanceServices.b2BSignInActivityMetricsInitial".casefold(): - from .tenant_governance_services.b2_b_sign_in_activity_metrics_initial import B2BSignInActivityMetricsInitial - - return B2BSignInActivityMetricsInitial() - if mapping_value and mapping_value.casefold() == "#microsoft.graph.tenantGovernanceServices.b2BSignInActivityMetricsRecent".casefold(): - from .tenant_governance_services.b2_b_sign_in_activity_metrics_recent import B2BSignInActivityMetricsRecent - - return B2BSignInActivityMetricsRecent() - if mapping_value and mapping_value.casefold() == "#microsoft.graph.tenantGovernanceServices.billingMetrics".casefold(): - from .tenant_governance_services.billing_metrics import BillingMetrics - - return BillingMetrics() - if mapping_value and mapping_value.casefold() == "#microsoft.graph.tenantGovernanceServices.billingMetricsBase".casefold(): - from .tenant_governance_services.billing_metrics_base import BillingMetricsBase - - return BillingMetricsBase() - if mapping_value and mapping_value.casefold() == "#microsoft.graph.tenantGovernanceServices.billingMetricsInitial".casefold(): - from .tenant_governance_services.billing_metrics_initial import BillingMetricsInitial - - return BillingMetricsInitial() - if mapping_value and mapping_value.casefold() == "#microsoft.graph.tenantGovernanceServices.billingMetricsRecent".casefold(): - from .tenant_governance_services.billing_metrics_recent import BillingMetricsRecent - - return BillingMetricsRecent() - if mapping_value and mapping_value.casefold() == "#microsoft.graph.tenantGovernanceServices.governanceInvitation".casefold(): - from .tenant_governance_services.governance_invitation import GovernanceInvitation - - return GovernanceInvitation() - if mapping_value and mapping_value.casefold() == "#microsoft.graph.tenantGovernanceServices.governancePolicyTemplate".casefold(): - from .governance_policy_template import GovernancePolicyTemplate - from .tenant_governance_services.governance_policy_template import GovernancePolicyTemplate - - return GovernancePolicyTemplate() - if mapping_value and mapping_value.casefold() == "#microsoft.graph.tenantGovernanceServices.governanceRelationship".casefold(): - from .tenant_governance_services.governance_relationship import GovernanceRelationship - - return GovernanceRelationship() - if mapping_value and mapping_value.casefold() == "#microsoft.graph.tenantGovernanceServices.governanceRequest".casefold(): - from .tenant_governance_services.governance_request import GovernanceRequest - - return GovernanceRequest() - if mapping_value and mapping_value.casefold() == "#microsoft.graph.tenantGovernanceServices.longRunningOperation".casefold(): - from .long_running_operation import LongRunningOperation - from .tenant_governance_services.long_running_operation import LongRunningOperation - - return LongRunningOperation() - if mapping_value and mapping_value.casefold() == "#microsoft.graph.tenantGovernanceServices.multiTenantApplicationMetrics".casefold(): - from .tenant_governance_services.multi_tenant_application_metrics import MultiTenantApplicationMetrics - - return MultiTenantApplicationMetrics() - if mapping_value and mapping_value.casefold() == "#microsoft.graph.tenantGovernanceServices.multiTenantApplicationMetricsBase".casefold(): - from .tenant_governance_services.multi_tenant_application_metrics_base import MultiTenantApplicationMetricsBase - - return MultiTenantApplicationMetricsBase() - if mapping_value and mapping_value.casefold() == "#microsoft.graph.tenantGovernanceServices.multiTenantApplicationMetricsInitial".casefold(): - from .tenant_governance_services.multi_tenant_application_metrics_initial import MultiTenantApplicationMetricsInitial - - return MultiTenantApplicationMetricsInitial() - if mapping_value and mapping_value.casefold() == "#microsoft.graph.tenantGovernanceServices.multiTenantApplicationMetricsRecent".casefold(): - from .tenant_governance_services.multi_tenant_application_metrics_recent import MultiTenantApplicationMetricsRecent - - return MultiTenantApplicationMetricsRecent() - if mapping_value and mapping_value.casefold() == "#microsoft.graph.tenantGovernanceServices.relatedTenant".casefold(): - from .tenant_governance_services.related_tenant import RelatedTenant - - return RelatedTenant() - if mapping_value and mapping_value.casefold() == "#microsoft.graph.tenantGovernanceServices.relatedTenantsRefreshRequest".casefold(): - from .tenant_governance_services.related_tenants_refresh_request import RelatedTenantsRefreshRequest - - return RelatedTenantsRefreshRequest() - if mapping_value and mapping_value.casefold() == "#microsoft.graph.tenantGovernanceServices.tenantGovernance".casefold(): - from .tenant_governance_services.tenant_governance import TenantGovernance + if mapping_value and mapping_value.casefold() == "#microsoft.graph.tenantGovernance".casefold(): + from .tenant_governance import TenantGovernance return TenantGovernance() - if mapping_value and mapping_value.casefold() == "#microsoft.graph.tenantGovernanceServices.tenantGovernanceSetting".casefold(): - from .tenant_governance_services.tenant_governance_setting import TenantGovernanceSetting + if mapping_value and mapping_value.casefold() == "#microsoft.graph.tenantGovernancePolicyTemplate".casefold(): + from .tenant_governance_policy_template import TenantGovernancePolicyTemplate + + return TenantGovernancePolicyTemplate() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.tenantGovernanceSetting".casefold(): + from .tenant_governance_setting import TenantGovernanceSetting return TenantGovernanceSetting() if mapping_value and mapping_value.casefold() == "#microsoft.graph.tenantProtectionScopeContainer".casefold(): @@ -12093,6 +12154,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .agent import Agent from .agent_card_manifest import AgentCardManifest from .agent_collection import AgentCollection + from .agent_communication_configuration import AgentCommunicationConfiguration from .agent_identity import AgentIdentity from .agent_identity_blueprint import AgentIdentityBlueprint from .agent_identity_blueprint_principal import AgentIdentityBlueprintPrincipal @@ -12299,9 +12361,17 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .azure_service_principal import AzureServicePrincipal from .azure_user import AzureUser from .b2b_management_policy import B2bManagementPolicy + from .b2b_registration_metrics import B2bRegistrationMetrics from .b2c_authentication_methods_policy import B2cAuthenticationMethodsPolicy from .b2c_identity_user_flow import B2cIdentityUserFlow from .b2x_identity_user_flow import B2xIdentityUserFlow + from .b2_b_registration_metrics_base import B2BRegistrationMetricsBase + from .b2_b_registration_metrics_initial import B2BRegistrationMetricsInitial + from .b2_b_registration_metrics_recent import B2BRegistrationMetricsRecent + from .b2_b_sign_in_activity_metrics import B2BSignInActivityMetrics + from .b2_b_sign_in_activity_metrics_base import B2BSignInActivityMetricsBase + from .b2_b_sign_in_activity_metrics_initial import B2BSignInActivityMetricsInitial + from .b2_b_sign_in_activity_metrics_recent import B2BSignInActivityMetricsRecent from .backup_policy_activity_log import BackupPolicyActivityLog from .backup_report import BackupReport from .backup_restore_root import BackupRestoreRoot @@ -12309,6 +12379,10 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .base_item_version import BaseItemVersion from .base_map_feature import BaseMapFeature from .base_site_page import BaseSitePage + from .billing_metrics import BillingMetrics + from .billing_metrics_base import BillingMetricsBase + from .billing_metrics_initial import BillingMetricsInitial + from .billing_metrics_recent import BillingMetricsRecent from .bitlocker import Bitlocker from .bitlocker_recovery_key import BitlockerRecoveryKey from .booking_appointment import BookingAppointment @@ -12550,7 +12624,6 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .device_and_app_management_assignment_filter import DeviceAndAppManagementAssignmentFilter from .device_and_app_management_role_assignment import DeviceAndAppManagementRoleAssignment from .device_and_app_management_role_definition import DeviceAndAppManagementRoleDefinition - from .device_app_management import DeviceAppManagement from .device_app_management_task import DeviceAppManagementTask from .device_category import DeviceCategory from .device_comanagement_authority_configuration import DeviceComanagementAuthorityConfiguration @@ -12678,6 +12751,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .directory_setting import DirectorySetting from .directory_setting_template import DirectorySettingTemplate from .distribution_list import DistributionList + from .distribution_list_member import DistributionListMember from .dlp_evaluate_policies_job_response import DlpEvaluatePoliciesJobResponse from .document import Document from .document_comment import DocumentComment @@ -12877,7 +12951,10 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .goals import Goals from .goals_export_job import GoalsExportJob from .governance_insight import GovernanceInsight + from .governance_invitation import GovernanceInvitation from .governance_policy_template import GovernancePolicyTemplate + from .governance_relationship import GovernanceRelationship + from .governance_request import GovernanceRequest from .governance_resource import GovernanceResource from .governance_role_assignment import GovernanceRoleAssignment from .governance_role_assignment_request import GovernanceRoleAssignmentRequest @@ -12945,11 +13022,22 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .identity_correlation import IdentityCorrelation from .identity_custom_user_flow_attribute import IdentityCustomUserFlowAttribute from .identity_finding import IdentityFinding + from .identity_governance.agent_identity_lifecycle import AgentIdentityLifecycle + from .identity_governance.agent_identity_lifecycle_policy import AgentIdentityLifecyclePolicy + from .identity_governance.attestation_compliance_issue import AttestationComplianceIssue + from .identity_governance.compliance_issue import ComplianceIssue from .identity_governance.custom_task_extension import CustomTaskExtension + from .identity_governance.identity_lifecycle import IdentityLifecycle + from .identity_governance.inactivity_rule import InactivityRule from .identity_governance.insights import Insights from .identity_governance.lifecycle_management_settings import LifecycleManagementSettings + from .identity_governance.lifecycle_policy import LifecyclePolicy + from .identity_governance.lifecycle_policy_priority_configuration import LifecyclePolicyPriorityConfiguration + from .identity_governance.lifecycle_policy_rule import LifecyclePolicyRule from .identity_governance.lifecycle_workflows_container import LifecycleWorkflowsContainer + from .identity_governance.periodic_attestation_rule import PeriodicAttestationRule from .identity_governance.run import Run + from .identity_governance.sponsor_presence_rule import SponsorPresenceRule from .identity_governance.subject_processing_result import SubjectProcessingResult from .identity_governance.task import Task from .identity_governance.task_definition import TaskDefinition @@ -13275,6 +13363,10 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .monthly_inactive_users_metric import MonthlyInactiveUsersMetric from .monthly_user_insight_metrics_root import MonthlyUserInsightMetricsRoot from .multi_activity_subscription import MultiActivitySubscription + from .multi_tenant_application_metrics import MultiTenantApplicationMetrics + from .multi_tenant_application_metrics_base import MultiTenantApplicationMetricsBase + from .multi_tenant_application_metrics_initial import MultiTenantApplicationMetricsInitial + from .multi_tenant_application_metrics_recent import MultiTenantApplicationMetricsRecent from .multi_tenant_organization import MultiTenantOrganization from .multi_tenant_organization_identity_sync_policy_template import MultiTenantOrganizationIdentitySyncPolicyTemplate from .multi_tenant_organization_join_request_record import MultiTenantOrganizationJoinRequestRecord @@ -13599,6 +13691,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .recommendation import Recommendation from .recommendation_base import RecommendationBase from .recommendation_configuration import RecommendationConfiguration + from .recommendation_tag import RecommendationTag from .record_operation import RecordOperation from .recycle_bin import RecycleBin from .recycle_bin_item import RecycleBinItem @@ -13607,6 +13700,8 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .reference_attachment import ReferenceAttachment from .reflect_check_in_response import ReflectCheckInResponse from .regional_and_language_settings import RegionalAndLanguageSettings + from .related_tenant import RelatedTenant + from .related_tenants_refresh_request import RelatedTenantsRefreshRequest from .relying_party_detailed_summary import RelyingPartyDetailedSummary from .remote_action_audit import RemoteActionAudit from .remote_assistance_partner import RemoteAssistancePartner @@ -13629,6 +13724,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .restricted_apps_violation import RestrictedAppsViolation from .rich_long_running_operation import RichLongRunningOperation from .risky_agent import RiskyAgent + from .risky_agent_discovered_agent_identity import RiskyAgentDiscoveredAgentIdentity from .risky_agent_identity import RiskyAgentIdentity from .risky_agent_identity_blueprint_principal import RiskyAgentIdentityBlueprintPrincipal from .risky_agent_user import RiskyAgentUser @@ -14005,31 +14101,9 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .tenant_app_management_policy import TenantAppManagementPolicy from .tenant_attach_r_b_a_c import TenantAttachRBAC from .tenant_data_security_and_governance import TenantDataSecurityAndGovernance - from .tenant_governance_services.b2b_registration_metrics import B2bRegistrationMetrics - from .tenant_governance_services.b2_b_registration_metrics_base import B2BRegistrationMetricsBase - from .tenant_governance_services.b2_b_registration_metrics_initial import B2BRegistrationMetricsInitial - from .tenant_governance_services.b2_b_registration_metrics_recent import B2BRegistrationMetricsRecent - from .tenant_governance_services.b2_b_sign_in_activity_metrics import B2BSignInActivityMetrics - from .tenant_governance_services.b2_b_sign_in_activity_metrics_base import B2BSignInActivityMetricsBase - from .tenant_governance_services.b2_b_sign_in_activity_metrics_initial import B2BSignInActivityMetricsInitial - from .tenant_governance_services.b2_b_sign_in_activity_metrics_recent import B2BSignInActivityMetricsRecent - from .tenant_governance_services.billing_metrics import BillingMetrics - from .tenant_governance_services.billing_metrics_base import BillingMetricsBase - from .tenant_governance_services.billing_metrics_initial import BillingMetricsInitial - from .tenant_governance_services.billing_metrics_recent import BillingMetricsRecent - from .tenant_governance_services.governance_invitation import GovernanceInvitation - from .tenant_governance_services.governance_policy_template import GovernancePolicyTemplate - from .tenant_governance_services.governance_relationship import GovernanceRelationship - from .tenant_governance_services.governance_request import GovernanceRequest - from .tenant_governance_services.long_running_operation import LongRunningOperation - from .tenant_governance_services.multi_tenant_application_metrics import MultiTenantApplicationMetrics - from .tenant_governance_services.multi_tenant_application_metrics_base import MultiTenantApplicationMetricsBase - from .tenant_governance_services.multi_tenant_application_metrics_initial import MultiTenantApplicationMetricsInitial - from .tenant_governance_services.multi_tenant_application_metrics_recent import MultiTenantApplicationMetricsRecent - from .tenant_governance_services.related_tenant import RelatedTenant - from .tenant_governance_services.related_tenants_refresh_request import RelatedTenantsRefreshRequest - from .tenant_governance_services.tenant_governance import TenantGovernance - from .tenant_governance_services.tenant_governance_setting import TenantGovernanceSetting + from .tenant_governance import TenantGovernance + from .tenant_governance_policy_template import TenantGovernancePolicyTemplate + from .tenant_governance_setting import TenantGovernanceSetting from .tenant_protection_scope_container import TenantProtectionScopeContainer from .tenant_relationship_access_policy_base import TenantRelationshipAccessPolicyBase from .tenant_setup_info import TenantSetupInfo @@ -14477,6 +14551,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .agent import Agent from .agent_card_manifest import AgentCardManifest from .agent_collection import AgentCollection + from .agent_communication_configuration import AgentCommunicationConfiguration from .agent_identity import AgentIdentity from .agent_identity_blueprint import AgentIdentityBlueprint from .agent_identity_blueprint_principal import AgentIdentityBlueprintPrincipal @@ -14683,9 +14758,17 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .azure_service_principal import AzureServicePrincipal from .azure_user import AzureUser from .b2b_management_policy import B2bManagementPolicy + from .b2b_registration_metrics import B2bRegistrationMetrics from .b2c_authentication_methods_policy import B2cAuthenticationMethodsPolicy from .b2c_identity_user_flow import B2cIdentityUserFlow from .b2x_identity_user_flow import B2xIdentityUserFlow + from .b2_b_registration_metrics_base import B2BRegistrationMetricsBase + from .b2_b_registration_metrics_initial import B2BRegistrationMetricsInitial + from .b2_b_registration_metrics_recent import B2BRegistrationMetricsRecent + from .b2_b_sign_in_activity_metrics import B2BSignInActivityMetrics + from .b2_b_sign_in_activity_metrics_base import B2BSignInActivityMetricsBase + from .b2_b_sign_in_activity_metrics_initial import B2BSignInActivityMetricsInitial + from .b2_b_sign_in_activity_metrics_recent import B2BSignInActivityMetricsRecent from .backup_policy_activity_log import BackupPolicyActivityLog from .backup_report import BackupReport from .backup_restore_root import BackupRestoreRoot @@ -14693,6 +14776,10 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .base_item_version import BaseItemVersion from .base_map_feature import BaseMapFeature from .base_site_page import BaseSitePage + from .billing_metrics import BillingMetrics + from .billing_metrics_base import BillingMetricsBase + from .billing_metrics_initial import BillingMetricsInitial + from .billing_metrics_recent import BillingMetricsRecent from .bitlocker import Bitlocker from .bitlocker_recovery_key import BitlockerRecoveryKey from .booking_appointment import BookingAppointment @@ -14934,7 +15021,6 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .device_and_app_management_assignment_filter import DeviceAndAppManagementAssignmentFilter from .device_and_app_management_role_assignment import DeviceAndAppManagementRoleAssignment from .device_and_app_management_role_definition import DeviceAndAppManagementRoleDefinition - from .device_app_management import DeviceAppManagement from .device_app_management_task import DeviceAppManagementTask from .device_category import DeviceCategory from .device_comanagement_authority_configuration import DeviceComanagementAuthorityConfiguration @@ -15062,6 +15148,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .directory_setting import DirectorySetting from .directory_setting_template import DirectorySettingTemplate from .distribution_list import DistributionList + from .distribution_list_member import DistributionListMember from .dlp_evaluate_policies_job_response import DlpEvaluatePoliciesJobResponse from .document import Document from .document_comment import DocumentComment @@ -15261,7 +15348,10 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .goals import Goals from .goals_export_job import GoalsExportJob from .governance_insight import GovernanceInsight + from .governance_invitation import GovernanceInvitation from .governance_policy_template import GovernancePolicyTemplate + from .governance_relationship import GovernanceRelationship + from .governance_request import GovernanceRequest from .governance_resource import GovernanceResource from .governance_role_assignment import GovernanceRoleAssignment from .governance_role_assignment_request import GovernanceRoleAssignmentRequest @@ -15329,11 +15419,22 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .identity_correlation import IdentityCorrelation from .identity_custom_user_flow_attribute import IdentityCustomUserFlowAttribute from .identity_finding import IdentityFinding + from .identity_governance.agent_identity_lifecycle import AgentIdentityLifecycle + from .identity_governance.agent_identity_lifecycle_policy import AgentIdentityLifecyclePolicy + from .identity_governance.attestation_compliance_issue import AttestationComplianceIssue + from .identity_governance.compliance_issue import ComplianceIssue from .identity_governance.custom_task_extension import CustomTaskExtension + from .identity_governance.identity_lifecycle import IdentityLifecycle + from .identity_governance.inactivity_rule import InactivityRule from .identity_governance.insights import Insights from .identity_governance.lifecycle_management_settings import LifecycleManagementSettings + from .identity_governance.lifecycle_policy import LifecyclePolicy + from .identity_governance.lifecycle_policy_priority_configuration import LifecyclePolicyPriorityConfiguration + from .identity_governance.lifecycle_policy_rule import LifecyclePolicyRule from .identity_governance.lifecycle_workflows_container import LifecycleWorkflowsContainer + from .identity_governance.periodic_attestation_rule import PeriodicAttestationRule from .identity_governance.run import Run + from .identity_governance.sponsor_presence_rule import SponsorPresenceRule from .identity_governance.subject_processing_result import SubjectProcessingResult from .identity_governance.task import Task from .identity_governance.task_definition import TaskDefinition @@ -15659,6 +15760,10 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .monthly_inactive_users_metric import MonthlyInactiveUsersMetric from .monthly_user_insight_metrics_root import MonthlyUserInsightMetricsRoot from .multi_activity_subscription import MultiActivitySubscription + from .multi_tenant_application_metrics import MultiTenantApplicationMetrics + from .multi_tenant_application_metrics_base import MultiTenantApplicationMetricsBase + from .multi_tenant_application_metrics_initial import MultiTenantApplicationMetricsInitial + from .multi_tenant_application_metrics_recent import MultiTenantApplicationMetricsRecent from .multi_tenant_organization import MultiTenantOrganization from .multi_tenant_organization_identity_sync_policy_template import MultiTenantOrganizationIdentitySyncPolicyTemplate from .multi_tenant_organization_join_request_record import MultiTenantOrganizationJoinRequestRecord @@ -15983,6 +16088,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .recommendation import Recommendation from .recommendation_base import RecommendationBase from .recommendation_configuration import RecommendationConfiguration + from .recommendation_tag import RecommendationTag from .record_operation import RecordOperation from .recycle_bin import RecycleBin from .recycle_bin_item import RecycleBinItem @@ -15991,6 +16097,8 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .reference_attachment import ReferenceAttachment from .reflect_check_in_response import ReflectCheckInResponse from .regional_and_language_settings import RegionalAndLanguageSettings + from .related_tenant import RelatedTenant + from .related_tenants_refresh_request import RelatedTenantsRefreshRequest from .relying_party_detailed_summary import RelyingPartyDetailedSummary from .remote_action_audit import RemoteActionAudit from .remote_assistance_partner import RemoteAssistancePartner @@ -16013,6 +16121,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .restricted_apps_violation import RestrictedAppsViolation from .rich_long_running_operation import RichLongRunningOperation from .risky_agent import RiskyAgent + from .risky_agent_discovered_agent_identity import RiskyAgentDiscoveredAgentIdentity from .risky_agent_identity import RiskyAgentIdentity from .risky_agent_identity_blueprint_principal import RiskyAgentIdentityBlueprintPrincipal from .risky_agent_user import RiskyAgentUser @@ -16389,31 +16498,9 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .tenant_app_management_policy import TenantAppManagementPolicy from .tenant_attach_r_b_a_c import TenantAttachRBAC from .tenant_data_security_and_governance import TenantDataSecurityAndGovernance - from .tenant_governance_services.b2b_registration_metrics import B2bRegistrationMetrics - from .tenant_governance_services.b2_b_registration_metrics_base import B2BRegistrationMetricsBase - from .tenant_governance_services.b2_b_registration_metrics_initial import B2BRegistrationMetricsInitial - from .tenant_governance_services.b2_b_registration_metrics_recent import B2BRegistrationMetricsRecent - from .tenant_governance_services.b2_b_sign_in_activity_metrics import B2BSignInActivityMetrics - from .tenant_governance_services.b2_b_sign_in_activity_metrics_base import B2BSignInActivityMetricsBase - from .tenant_governance_services.b2_b_sign_in_activity_metrics_initial import B2BSignInActivityMetricsInitial - from .tenant_governance_services.b2_b_sign_in_activity_metrics_recent import B2BSignInActivityMetricsRecent - from .tenant_governance_services.billing_metrics import BillingMetrics - from .tenant_governance_services.billing_metrics_base import BillingMetricsBase - from .tenant_governance_services.billing_metrics_initial import BillingMetricsInitial - from .tenant_governance_services.billing_metrics_recent import BillingMetricsRecent - from .tenant_governance_services.governance_invitation import GovernanceInvitation - from .tenant_governance_services.governance_policy_template import GovernancePolicyTemplate - from .tenant_governance_services.governance_relationship import GovernanceRelationship - from .tenant_governance_services.governance_request import GovernanceRequest - from .tenant_governance_services.long_running_operation import LongRunningOperation - from .tenant_governance_services.multi_tenant_application_metrics import MultiTenantApplicationMetrics - from .tenant_governance_services.multi_tenant_application_metrics_base import MultiTenantApplicationMetricsBase - from .tenant_governance_services.multi_tenant_application_metrics_initial import MultiTenantApplicationMetricsInitial - from .tenant_governance_services.multi_tenant_application_metrics_recent import MultiTenantApplicationMetricsRecent - from .tenant_governance_services.related_tenant import RelatedTenant - from .tenant_governance_services.related_tenants_refresh_request import RelatedTenantsRefreshRequest - from .tenant_governance_services.tenant_governance import TenantGovernance - from .tenant_governance_services.tenant_governance_setting import TenantGovernanceSetting + from .tenant_governance import TenantGovernance + from .tenant_governance_policy_template import TenantGovernancePolicyTemplate + from .tenant_governance_setting import TenantGovernanceSetting from .tenant_protection_scope_container import TenantProtectionScopeContainer from .tenant_relationship_access_policy_base import TenantRelationshipAccessPolicyBase from .tenant_setup_info import TenantSetupInfo diff --git a/msgraph_beta/generated/models/file_storage_container.py b/msgraph_beta/generated/models/file_storage_container.py index 37bd063f716..04c97ede3a1 100644 --- a/msgraph_beta/generated/models/file_storage_container.py +++ b/msgraph_beta/generated/models/file_storage_container.py @@ -41,6 +41,8 @@ class FileStorageContainer(Entity, Parsable): created_date_time: Optional[datetime.datetime] = None # Custom property collection for the fileStorageContainer. Read-write. custom_properties: Optional[FileStorageContainerCustomPropertyDictionary] = None + # The geographic location of the data for multi-geo tenants. This property is only returned when explicitly selected by using $select. Read-only. + data_location_code: Optional[str] = None # Provides a user-visible description of the fileStorageContainer. Read-write. description: Optional[str] = None # The display name of the fileStorageContainer. Read-write. @@ -135,6 +137,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: "containerTypeId": lambda n : setattr(self, 'container_type_id', n.get_uuid_value()), "createdDateTime": lambda n : setattr(self, 'created_date_time', n.get_datetime_value()), "customProperties": lambda n : setattr(self, 'custom_properties', n.get_object_value(FileStorageContainerCustomPropertyDictionary)), + "dataLocationCode": lambda n : setattr(self, 'data_location_code', n.get_str_value()), "description": lambda n : setattr(self, 'description', n.get_str_value()), "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), "drive": lambda n : setattr(self, 'drive', n.get_object_value(Drive)), @@ -171,6 +174,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_uuid_value("containerTypeId", self.container_type_id) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_object_value("customProperties", self.custom_properties) + writer.write_str_value("dataLocationCode", self.data_location_code) writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_object_value("drive", self.drive) diff --git a/msgraph_beta/generated/models/file_storage_container_type_registration_settings.py b/msgraph_beta/generated/models/file_storage_container_type_registration_settings.py index 50f45203f2a..34d8427620f 100644 --- a/msgraph_beta/generated/models/file_storage_container_type_registration_settings.py +++ b/msgraph_beta/generated/models/file_storage_container_type_registration_settings.py @@ -6,7 +6,6 @@ from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from .file_storage_container_type_agent_settings import FileStorageContainerTypeAgentSettings from .sharing_capabilities import SharingCapabilities @dataclass @@ -16,12 +15,12 @@ class FileStorageContainerTypeRegistrationSettings(AdditionalDataHolder, BackedM # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # Contains agent-related settings. - agent: Optional[FileStorageContainerTypeAgentSettings] = None # Indicates whether items from containers are surfaced in experiences such as My Activity or Microsoft 365. is_discoverability_enabled: Optional[bool] = None # Indicates whether item versioning is enabled. is_item_versioning_enabled: Optional[bool] = None + # Indicates whether Office apps (Word, Excel, and PowerPoint) for desktop and web are restricted for containers of this container type. + is_office_restricted: Optional[bool] = None # Indicates whether search is enabled. is_search_enabled: Optional[bool] = None # Only the manager and owner can share files in the container if restricted sharing is enabled. @@ -53,16 +52,14 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ - from .file_storage_container_type_agent_settings import FileStorageContainerTypeAgentSettings from .sharing_capabilities import SharingCapabilities - from .file_storage_container_type_agent_settings import FileStorageContainerTypeAgentSettings from .sharing_capabilities import SharingCapabilities fields: dict[str, Callable[[Any], None]] = { - "agent": lambda n : setattr(self, 'agent', n.get_object_value(FileStorageContainerTypeAgentSettings)), "isDiscoverabilityEnabled": lambda n : setattr(self, 'is_discoverability_enabled', n.get_bool_value()), "isItemVersioningEnabled": lambda n : setattr(self, 'is_item_versioning_enabled', n.get_bool_value()), + "isOfficeRestricted": lambda n : setattr(self, 'is_office_restricted', n.get_bool_value()), "isSearchEnabled": lambda n : setattr(self, 'is_search_enabled', n.get_bool_value()), "isSharingRestricted": lambda n : setattr(self, 'is_sharing_restricted', n.get_bool_value()), "itemMajorVersionLimit": lambda n : setattr(self, 'item_major_version_limit', n.get_int_value()), @@ -81,9 +78,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") - writer.write_object_value("agent", self.agent) writer.write_bool_value("isDiscoverabilityEnabled", self.is_discoverability_enabled) writer.write_bool_value("isItemVersioningEnabled", self.is_item_versioning_enabled) + writer.write_bool_value("isOfficeRestricted", self.is_office_restricted) writer.write_bool_value("isSearchEnabled", self.is_search_enabled) writer.write_bool_value("isSharingRestricted", self.is_sharing_restricted) writer.write_int_value("itemMajorVersionLimit", self.item_major_version_limit) diff --git a/msgraph_beta/generated/models/file_storage_container_type_settings.py b/msgraph_beta/generated/models/file_storage_container_type_settings.py index 881de51e42e..3ad3409e862 100644 --- a/msgraph_beta/generated/models/file_storage_container_type_settings.py +++ b/msgraph_beta/generated/models/file_storage_container_type_settings.py @@ -6,7 +6,6 @@ from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from .file_storage_container_type_agent_settings import FileStorageContainerTypeAgentSettings from .file_storage_container_type_settings_override import FileStorageContainerTypeSettingsOverride from .sharing_capabilities import SharingCapabilities @@ -17,14 +16,14 @@ class FileStorageContainerTypeSettings(AdditionalDataHolder, BackedModel, Parsab # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # Contains agent-related settings. Optional - agent: Optional[FileStorageContainerTypeAgentSettings] = None # A comma-separated list of settings that can be overridden in the consuming tenant. The possible values are: urlTemplate, isDiscoverabilityEnabled, isSearchEnabled, isItemVersioningEnabled, itemMajorVersionLimit, maxStoragePerContainerInBytes, unknownFutureValue, isOfficeRestricted. consuming_tenant_overridables: Optional[FileStorageContainerTypeSettingsOverride] = None # Indicates whether items from containers are surfaced in experiences such as My Activity or Microsoft 365. is_discoverability_enabled: Optional[bool] = None # Indicates whether item versioning is enabled. is_item_versioning_enabled: Optional[bool] = None + # Indicates whether Office apps (Word, Excel, and PowerPoint) for desktop and web are restricted for containers of this container type. + is_office_restricted: Optional[bool] = None # Indicates whether search is enabled. is_search_enabled: Optional[bool] = None # Only the manager and owner can share files in the container if restricted sharing is enabled. @@ -56,19 +55,17 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ - from .file_storage_container_type_agent_settings import FileStorageContainerTypeAgentSettings from .file_storage_container_type_settings_override import FileStorageContainerTypeSettingsOverride from .sharing_capabilities import SharingCapabilities - from .file_storage_container_type_agent_settings import FileStorageContainerTypeAgentSettings from .file_storage_container_type_settings_override import FileStorageContainerTypeSettingsOverride from .sharing_capabilities import SharingCapabilities fields: dict[str, Callable[[Any], None]] = { - "agent": lambda n : setattr(self, 'agent', n.get_object_value(FileStorageContainerTypeAgentSettings)), "consumingTenantOverridables": lambda n : setattr(self, 'consuming_tenant_overridables', n.get_collection_of_enum_values(FileStorageContainerTypeSettingsOverride)), "isDiscoverabilityEnabled": lambda n : setattr(self, 'is_discoverability_enabled', n.get_bool_value()), "isItemVersioningEnabled": lambda n : setattr(self, 'is_item_versioning_enabled', n.get_bool_value()), + "isOfficeRestricted": lambda n : setattr(self, 'is_office_restricted', n.get_bool_value()), "isSearchEnabled": lambda n : setattr(self, 'is_search_enabled', n.get_bool_value()), "isSharingRestricted": lambda n : setattr(self, 'is_sharing_restricted', n.get_bool_value()), "itemMajorVersionLimit": lambda n : setattr(self, 'item_major_version_limit', n.get_int_value()), @@ -87,10 +84,10 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") - writer.write_object_value("agent", self.agent) writer.write_enum_value("consumingTenantOverridables", self.consuming_tenant_overridables) writer.write_bool_value("isDiscoverabilityEnabled", self.is_discoverability_enabled) writer.write_bool_value("isItemVersioningEnabled", self.is_item_versioning_enabled) + writer.write_bool_value("isOfficeRestricted", self.is_office_restricted) writer.write_bool_value("isSearchEnabled", self.is_search_enabled) writer.write_bool_value("isSharingRestricted", self.is_sharing_restricted) writer.write_int_value("itemMajorVersionLimit", self.item_major_version_limit) diff --git a/msgraph_beta/generated/models/file_storage_container_type_settings_override.py b/msgraph_beta/generated/models/file_storage_container_type_settings_override.py index 3fd9e0869c6..0bb8e15ee6c 100644 --- a/msgraph_beta/generated/models/file_storage_container_type_settings_override.py +++ b/msgraph_beta/generated/models/file_storage_container_type_settings_override.py @@ -8,4 +8,5 @@ class FileStorageContainerTypeSettingsOverride(str, Enum): ItemMajorVersionLimit = "itemMajorVersionLimit", MaxStoragePerContainerInBytes = "maxStoragePerContainerInBytes", UnknownFutureValue = "unknownFutureValue", + IsOfficeRestricted = "isOfficeRestricted", diff --git a/msgraph_beta/generated/models/tenant_governance_services/governance_invitation.py b/msgraph_beta/generated/models/governance_invitation.py similarity index 76% rename from msgraph_beta/generated/models/tenant_governance_services/governance_invitation.py rename to msgraph_beta/generated/models/governance_invitation.py index 883fe1466dc..4c314d124fe 100644 --- a/msgraph_beta/generated/models/tenant_governance_services/governance_invitation.py +++ b/msgraph_beta/generated/models/governance_invitation.py @@ -6,23 +6,23 @@ from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from ..entity import Entity + from .entity import Entity -from ..entity import Entity +from .entity import Entity @dataclass class GovernanceInvitation(Entity, Parsable): - # The date and time when the invitation was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. + # The createdDateTime property created_date_time: Optional[datetime.datetime] = None - # The date and time when the invitation expires. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. + # The expirationDateTime property expiration_date_time: Optional[datetime.datetime] = None - # The Microsoft Entra tenant ID of the governed tenant. Supports $filter (eq, ne) and $orderBy. + # The governedTenantId property governed_tenant_id: Optional[str] = None - # The display name of the governed tenant. Supports $filter (eq, ne) and $orderBy. + # The governedTenantName property governed_tenant_name: Optional[str] = None - # The Microsoft Entra tenant ID of the governing tenant. Supports $filter (eq, ne) and $orderBy. + # The governingTenantId property governing_tenant_id: Optional[str] = None - # The display name of the governing tenant. Supports $filter (eq, ne) and $orderBy. + # The governingTenantName property governing_tenant_name: Optional[str] = None # The OdataType property odata_type: Optional[str] = None @@ -43,9 +43,9 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ - from ..entity import Entity + from .entity import Entity - from ..entity import Entity + from .entity import Entity fields: dict[str, Callable[[Any], None]] = { "createdDateTime": lambda n : setattr(self, 'created_date_time', n.get_datetime_value()), diff --git a/msgraph_beta/generated/models/tenant_governance_services/governance_invitation_collection_response.py b/msgraph_beta/generated/models/governance_invitation_collection_response.py similarity index 84% rename from msgraph_beta/generated/models/tenant_governance_services/governance_invitation_collection_response.py rename to msgraph_beta/generated/models/governance_invitation_collection_response.py index 721a8314c0b..fa9441ba3db 100644 --- a/msgraph_beta/generated/models/tenant_governance_services/governance_invitation_collection_response.py +++ b/msgraph_beta/generated/models/governance_invitation_collection_response.py @@ -5,10 +5,10 @@ from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse from .governance_invitation import GovernanceInvitation -from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse +from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse @dataclass class GovernanceInvitationCollectionResponse(BaseCollectionPaginationCountResponse, Parsable): @@ -31,10 +31,10 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ - from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse from .governance_invitation import GovernanceInvitation - from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse from .governance_invitation import GovernanceInvitation fields: dict[str, Callable[[Any], None]] = { diff --git a/msgraph_beta/generated/models/tenant_governance_services/governance_relationship.py b/msgraph_beta/generated/models/governance_relationship.py similarity index 84% rename from msgraph_beta/generated/models/tenant_governance_services/governance_relationship.py rename to msgraph_beta/generated/models/governance_relationship.py index 7a6d5a28cde..b149e80ef76 100644 --- a/msgraph_beta/generated/models/tenant_governance_services/governance_relationship.py +++ b/msgraph_beta/generated/models/governance_relationship.py @@ -6,26 +6,26 @@ from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from ..entity import Entity + from .entity import Entity from .relationship_creation_type import RelationshipCreationType from .relationship_policy import RelationshipPolicy from .relationship_status import RelationshipStatus -from ..entity import Entity +from .entity import Entity @dataclass class GovernanceRelationship(Entity, Parsable): # The createdType property created_type: Optional[RelationshipCreationType] = None - # The date and time when the relationship was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2026 is 2026-01-01T00:00:00Z. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. + # The creationDateTime property creation_date_time: Optional[datetime.datetime] = None - # The Microsoft Entra tenant ID of the governed tenant. Supports $filter (eq, ne) and $orderBy. + # The governedTenantId property governed_tenant_id: Optional[str] = None - # The display name of the governed tenant. Supports $filter (eq, ne) and $orderBy. + # The governedTenantName property governed_tenant_name: Optional[str] = None - # The Microsoft Entra tenant ID of the governing tenant. Supports $filter (eq, ne) and $orderBy. + # The governingTenantId property governing_tenant_id: Optional[str] = None - # The display name of the governing tenant. Supports $filter (eq, ne) and $orderBy. + # The governingTenantName property governing_tenant_name: Optional[str] = None # The OdataType property odata_type: Optional[str] = None @@ -50,12 +50,12 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ - from ..entity import Entity + from .entity import Entity from .relationship_creation_type import RelationshipCreationType from .relationship_policy import RelationshipPolicy from .relationship_status import RelationshipStatus - from ..entity import Entity + from .entity import Entity from .relationship_creation_type import RelationshipCreationType from .relationship_policy import RelationshipPolicy from .relationship_status import RelationshipStatus diff --git a/msgraph_beta/generated/models/tenant_governance_services/governance_relationship_collection_response.py b/msgraph_beta/generated/models/governance_relationship_collection_response.py similarity index 84% rename from msgraph_beta/generated/models/tenant_governance_services/governance_relationship_collection_response.py rename to msgraph_beta/generated/models/governance_relationship_collection_response.py index 94911833ad5..404980e4868 100644 --- a/msgraph_beta/generated/models/tenant_governance_services/governance_relationship_collection_response.py +++ b/msgraph_beta/generated/models/governance_relationship_collection_response.py @@ -5,10 +5,10 @@ from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse from .governance_relationship import GovernanceRelationship -from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse +from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse @dataclass class GovernanceRelationshipCollectionResponse(BaseCollectionPaginationCountResponse, Parsable): @@ -31,10 +31,10 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ - from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse from .governance_relationship import GovernanceRelationship - from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse from .governance_relationship import GovernanceRelationship fields: dict[str, Callable[[Any], None]] = { diff --git a/msgraph_beta/generated/models/tenant_governance_services/governance_request.py b/msgraph_beta/generated/models/governance_request.py similarity index 74% rename from msgraph_beta/generated/models/tenant_governance_services/governance_request.py rename to msgraph_beta/generated/models/governance_request.py index 65345e5821e..cd077e4581f 100644 --- a/msgraph_beta/generated/models/tenant_governance_services/governance_request.py +++ b/msgraph_beta/generated/models/governance_request.py @@ -6,32 +6,32 @@ from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from ..entity import Entity - from .governance_policy_template import GovernancePolicyTemplate + from .entity import Entity from .relationship_policy import RelationshipPolicy from .request_status import RequestStatus + from .tenant_governance_policy_template import TenantGovernancePolicyTemplate -from ..entity import Entity +from .entity import Entity @dataclass class GovernanceRequest(Entity, Parsable): - # The date and time when the request expires if not accepted or rejected. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. + # The expirationDateTime property expiration_date_time: Optional[datetime.datetime] = None - # The governance policy template associated with this request. - governance_policy_template: Optional[GovernancePolicyTemplate] = None - # The Microsoft Entra tenant ID of the governed tenant. Supports $filter (eq, ne) and $orderBy. + # The governancePolicyTemplate property + governance_policy_template: Optional[TenantGovernancePolicyTemplate] = None + # The governedTenantId property governed_tenant_id: Optional[str] = None - # The display name of the governed tenant. Supports $filter (eq, ne) and $orderBy. + # The governedTenantName property governed_tenant_name: Optional[str] = None - # The Microsoft Entra tenant ID of the governing tenant. Supports $filter (eq, ne) and $orderBy. + # The governingTenantId property governing_tenant_id: Optional[str] = None - # The display name of the governing tenant. Supports $filter (eq, ne) and $orderBy. + # The governingTenantName property governing_tenant_name: Optional[str] = None # The OdataType property odata_type: Optional[str] = None # The policySnapshot property policy_snapshot: Optional[RelationshipPolicy] = None - # The date and time when the request was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. + # The requestDateTime property request_date_time: Optional[datetime.datetime] = None # The status property status: Optional[RequestStatus] = None @@ -52,19 +52,19 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ - from ..entity import Entity - from .governance_policy_template import GovernancePolicyTemplate + from .entity import Entity from .relationship_policy import RelationshipPolicy from .request_status import RequestStatus + from .tenant_governance_policy_template import TenantGovernancePolicyTemplate - from ..entity import Entity - from .governance_policy_template import GovernancePolicyTemplate + from .entity import Entity from .relationship_policy import RelationshipPolicy from .request_status import RequestStatus + from .tenant_governance_policy_template import TenantGovernancePolicyTemplate fields: dict[str, Callable[[Any], None]] = { "expirationDateTime": lambda n : setattr(self, 'expiration_date_time', n.get_datetime_value()), - "governancePolicyTemplate": lambda n : setattr(self, 'governance_policy_template', n.get_object_value(GovernancePolicyTemplate)), + "governancePolicyTemplate": lambda n : setattr(self, 'governance_policy_template', n.get_object_value(TenantGovernancePolicyTemplate)), "governedTenantId": lambda n : setattr(self, 'governed_tenant_id', n.get_str_value()), "governedTenantName": lambda n : setattr(self, 'governed_tenant_name', n.get_str_value()), "governingTenantId": lambda n : setattr(self, 'governing_tenant_id', n.get_str_value()), diff --git a/msgraph_beta/generated/models/tenant_governance_services/governance_request_collection_response.py b/msgraph_beta/generated/models/governance_request_collection_response.py similarity index 84% rename from msgraph_beta/generated/models/tenant_governance_services/governance_request_collection_response.py rename to msgraph_beta/generated/models/governance_request_collection_response.py index 9705453b3ea..9cd2fc50780 100644 --- a/msgraph_beta/generated/models/tenant_governance_services/governance_request_collection_response.py +++ b/msgraph_beta/generated/models/governance_request_collection_response.py @@ -5,10 +5,10 @@ from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse from .governance_request import GovernanceRequest -from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse +from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse @dataclass class GovernanceRequestCollectionResponse(BaseCollectionPaginationCountResponse, Parsable): @@ -31,10 +31,10 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ - from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse from .governance_request import GovernanceRequest - from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse from .governance_request import GovernanceRequest fields: dict[str, Callable[[Any], None]] = { diff --git a/msgraph_beta/generated/models/health_monitoring/alert_type.py b/msgraph_beta/generated/models/health_monitoring/alert_type.py index e348156985c..b1817532ada 100644 --- a/msgraph_beta/generated/models/health_monitoring/alert_type.py +++ b/msgraph_beta/generated/models/health_monitoring/alert_type.py @@ -8,4 +8,8 @@ class AlertType(str, Enum): UnknownFutureValue = "unknownFutureValue", ConditionalAccessBlockedSignIn = "conditionalAccessBlockedSignIn", SamlSignInFailure = "samlSignInFailure", + InternetAppBlockedByPolicy = "internetAppBlockedByPolicy", + PrivateAppBlockedByConnector = "privateAppBlockedByConnector", + RemoteNetworkTunnelConnectivity = "remoteNetworkTunnelConnectivity", + RemoteNetworkBgpConnectivity = "remoteNetworkBgpConnectivity", diff --git a/msgraph_beta/generated/models/health_monitoring/scenario.py b/msgraph_beta/generated/models/health_monitoring/scenario.py index 0b5b6c669a7..e1ffa446152 100644 --- a/msgraph_beta/generated/models/health_monitoring/scenario.py +++ b/msgraph_beta/generated/models/health_monitoring/scenario.py @@ -7,4 +7,5 @@ class Scenario(str, Enum): UnknownFutureValue = "unknownFutureValue", ConditionalAccess = "conditionalAccess", Saml = "saml", + Gsa = "gsa", diff --git a/msgraph_beta/generated/models/identity_governance/agent_identity_lifecycle.py b/msgraph_beta/generated/models/identity_governance/agent_identity_lifecycle.py new file mode 100644 index 00000000000..9c6df0de7b1 --- /dev/null +++ b/msgraph_beta/generated/models/identity_governance/agent_identity_lifecycle.py @@ -0,0 +1,53 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .identity_lifecycle import IdentityLifecycle + +from .identity_lifecycle import IdentityLifecycle + +@dataclass +class AgentIdentityLifecycle(IdentityLifecycle, Parsable): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.identityGovernance.agentIdentityLifecycle" + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AgentIdentityLifecycle: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: AgentIdentityLifecycle + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AgentIdentityLifecycle() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .identity_lifecycle import IdentityLifecycle + + from .identity_lifecycle import IdentityLifecycle + + fields: dict[str, Callable[[Any], None]] = { + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + + diff --git a/msgraph_beta/generated/models/identity_governance/agent_identity_lifecycle_policy.py b/msgraph_beta/generated/models/identity_governance/agent_identity_lifecycle_policy.py new file mode 100644 index 00000000000..b6d7a3c5630 --- /dev/null +++ b/msgraph_beta/generated/models/identity_governance/agent_identity_lifecycle_policy.py @@ -0,0 +1,53 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .lifecycle_policy import LifecyclePolicy + +from .lifecycle_policy import LifecyclePolicy + +@dataclass +class AgentIdentityLifecyclePolicy(LifecyclePolicy, Parsable): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.identityGovernance.agentIdentityLifecyclePolicy" + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AgentIdentityLifecyclePolicy: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: AgentIdentityLifecyclePolicy + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AgentIdentityLifecyclePolicy() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .lifecycle_policy import LifecyclePolicy + + from .lifecycle_policy import LifecyclePolicy + + fields: dict[str, Callable[[Any], None]] = { + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + + diff --git a/msgraph_beta/generated/models/identity_governance/all_excluding_groups_subject_set.py b/msgraph_beta/generated/models/identity_governance/all_excluding_groups_subject_set.py new file mode 100644 index 00000000000..204f1e907f0 --- /dev/null +++ b/msgraph_beta/generated/models/identity_governance/all_excluding_groups_subject_set.py @@ -0,0 +1,60 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..group import Group + from ..subject_set import SubjectSet + +from ..subject_set import SubjectSet + +@dataclass +class AllExcludingGroupsSubjectSet(SubjectSet, Parsable): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.identityGovernance.allExcludingGroupsSubjectSet" + # The excludedGroups property + excluded_groups: Optional[list[Group]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AllExcludingGroupsSubjectSet: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: AllExcludingGroupsSubjectSet + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AllExcludingGroupsSubjectSet() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from ..group import Group + from ..subject_set import SubjectSet + + from ..group import Group + from ..subject_set import SubjectSet + + fields: dict[str, Callable[[Any], None]] = { + "excludedGroups": lambda n : setattr(self, 'excluded_groups', n.get_collection_of_object_values(Group)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("excludedGroups", self.excluded_groups) + + diff --git a/msgraph_beta/generated/models/identity_governance/all_excluding_specific_objects_subject_set.py b/msgraph_beta/generated/models/identity_governance/all_excluding_specific_objects_subject_set.py new file mode 100644 index 00000000000..4dd3bcbd7d5 --- /dev/null +++ b/msgraph_beta/generated/models/identity_governance/all_excluding_specific_objects_subject_set.py @@ -0,0 +1,60 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..directory_object import DirectoryObject + from ..subject_set import SubjectSet + +from ..subject_set import SubjectSet + +@dataclass +class AllExcludingSpecificObjectsSubjectSet(SubjectSet, Parsable): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.identityGovernance.allExcludingSpecificObjectsSubjectSet" + # The excludedObjects property + excluded_objects: Optional[list[DirectoryObject]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AllExcludingSpecificObjectsSubjectSet: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: AllExcludingSpecificObjectsSubjectSet + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AllExcludingSpecificObjectsSubjectSet() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from ..directory_object import DirectoryObject + from ..subject_set import SubjectSet + + from ..directory_object import DirectoryObject + from ..subject_set import SubjectSet + + fields: dict[str, Callable[[Any], None]] = { + "excludedObjects": lambda n : setattr(self, 'excluded_objects', n.get_collection_of_object_values(DirectoryObject)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("excludedObjects", self.excluded_objects) + + diff --git a/msgraph_beta/generated/models/identity_governance/attestation_compliance_issue.py b/msgraph_beta/generated/models/identity_governance/attestation_compliance_issue.py new file mode 100644 index 00000000000..e3221e1c3f7 --- /dev/null +++ b/msgraph_beta/generated/models/identity_governance/attestation_compliance_issue.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .compliance_issue import ComplianceIssue + +from .compliance_issue import ComplianceIssue + +@dataclass +class AttestationComplianceIssue(ComplianceIssue, Parsable): + # The attestationBlockReasons property + attestation_block_reasons: Optional[list[str]] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AttestationComplianceIssue: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: AttestationComplianceIssue + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AttestationComplianceIssue() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .compliance_issue import ComplianceIssue + + from .compliance_issue import ComplianceIssue + + fields: dict[str, Callable[[Any], None]] = { + "attestationBlockReasons": lambda n : setattr(self, 'attestation_block_reasons', n.get_collection_of_primitive_values(str)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_primitive_values("attestationBlockReasons", self.attestation_block_reasons) + + diff --git a/msgraph_beta/generated/models/identity_governance/compliance_issue.py b/msgraph_beta/generated/models/identity_governance/compliance_issue.py new file mode 100644 index 00000000000..964211a0d95 --- /dev/null +++ b/msgraph_beta/generated/models/identity_governance/compliance_issue.py @@ -0,0 +1,81 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..entity import Entity + from .attestation_compliance_issue import AttestationComplianceIssue + +from ..entity import Entity + +@dataclass +class ComplianceIssue(Entity, Parsable): + # The description property + description: Optional[str] = None + # The governingPolicyReferenceId property + governing_policy_reference_id: Optional[str] = None + # The issueCode property + issue_code: Optional[str] = None + # The OdataType property + odata_type: Optional[str] = None + # The ruleType property + rule_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> ComplianceIssue: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: ComplianceIssue + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None + except AttributeError: + mapping_value = None + if mapping_value and mapping_value.casefold() == "#microsoft.graph.identityGovernance.attestationComplianceIssue".casefold(): + from .attestation_compliance_issue import AttestationComplianceIssue + + return AttestationComplianceIssue() + return ComplianceIssue() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from ..entity import Entity + from .attestation_compliance_issue import AttestationComplianceIssue + + from ..entity import Entity + from .attestation_compliance_issue import AttestationComplianceIssue + + fields: dict[str, Callable[[Any], None]] = { + "description": lambda n : setattr(self, 'description', n.get_str_value()), + "governingPolicyReferenceId": lambda n : setattr(self, 'governing_policy_reference_id', n.get_str_value()), + "issueCode": lambda n : setattr(self, 'issue_code', n.get_str_value()), + "ruleType": lambda n : setattr(self, 'rule_type', n.get_str_value()), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_str_value("description", self.description) + writer.write_str_value("governingPolicyReferenceId", self.governing_policy_reference_id) + writer.write_str_value("issueCode", self.issue_code) + writer.write_str_value("ruleType", self.rule_type) + + diff --git a/msgraph_beta/generated/models/tenant_governance_services/governance_policy_template_collection_response.py b/msgraph_beta/generated/models/identity_governance/compliance_issue_collection_response.py similarity index 77% rename from msgraph_beta/generated/models/tenant_governance_services/governance_policy_template_collection_response.py rename to msgraph_beta/generated/models/identity_governance/compliance_issue_collection_response.py index 39b4fb4a41a..f090cba82f7 100644 --- a/msgraph_beta/generated/models/tenant_governance_services/governance_policy_template_collection_response.py +++ b/msgraph_beta/generated/models/identity_governance/compliance_issue_collection_response.py @@ -6,25 +6,25 @@ if TYPE_CHECKING: from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse - from .governance_policy_template import GovernancePolicyTemplate + from .compliance_issue import ComplianceIssue from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse @dataclass -class GovernancePolicyTemplateCollectionResponse(BaseCollectionPaginationCountResponse, Parsable): +class ComplianceIssueCollectionResponse(BaseCollectionPaginationCountResponse, Parsable): # The value property - value: Optional[list[GovernancePolicyTemplate]] = None + value: Optional[list[ComplianceIssue]] = None @staticmethod - def create_from_discriminator_value(parse_node: ParseNode) -> GovernancePolicyTemplateCollectionResponse: + def create_from_discriminator_value(parse_node: ParseNode) -> ComplianceIssueCollectionResponse: """ Creates a new instance of the appropriate class based on discriminator value param parse_node: The parse node to use to read the discriminator value and create the object - Returns: GovernancePolicyTemplateCollectionResponse + Returns: ComplianceIssueCollectionResponse """ if parse_node is None: raise TypeError("parse_node cannot be null.") - return GovernancePolicyTemplateCollectionResponse() + return ComplianceIssueCollectionResponse() def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: """ @@ -32,13 +32,13 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: Returns: dict[str, Callable[[ParseNode], None]] """ from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse - from .governance_policy_template import GovernancePolicyTemplate + from .compliance_issue import ComplianceIssue from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse - from .governance_policy_template import GovernancePolicyTemplate + from .compliance_issue import ComplianceIssue fields: dict[str, Callable[[Any], None]] = { - "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(GovernancePolicyTemplate)), + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ComplianceIssue)), } super_fields = super().get_field_deserializers() fields.update(super_fields) diff --git a/msgraph_beta/generated/models/identity_governance/delete_only_enforcement_action.py b/msgraph_beta/generated/models/identity_governance/delete_only_enforcement_action.py new file mode 100644 index 00000000000..d9ab3202bcd --- /dev/null +++ b/msgraph_beta/generated/models/identity_governance/delete_only_enforcement_action.py @@ -0,0 +1,53 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .lifecycle_policy_enforcement_action import LifecyclePolicyEnforcementAction + +from .lifecycle_policy_enforcement_action import LifecyclePolicyEnforcementAction + +@dataclass +class DeleteOnlyEnforcementAction(LifecyclePolicyEnforcementAction, Parsable): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.identityGovernance.deleteOnlyEnforcementAction" + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> DeleteOnlyEnforcementAction: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: DeleteOnlyEnforcementAction + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return DeleteOnlyEnforcementAction() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .lifecycle_policy_enforcement_action import LifecyclePolicyEnforcementAction + + from .lifecycle_policy_enforcement_action import LifecyclePolicyEnforcementAction + + fields: dict[str, Callable[[Any], None]] = { + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + + diff --git a/msgraph_beta/generated/models/identity_governance/directory_object_workflow_subject.py b/msgraph_beta/generated/models/identity_governance/directory_object_workflow_subject.py new file mode 100644 index 00000000000..9f6ef10f995 --- /dev/null +++ b/msgraph_beta/generated/models/identity_governance/directory_object_workflow_subject.py @@ -0,0 +1,60 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..directory_object import DirectoryObject + from .workflow_subject import WorkflowSubject + +from .workflow_subject import WorkflowSubject + +@dataclass +class DirectoryObjectWorkflowSubject(WorkflowSubject, Parsable): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.identityGovernance.directoryObjectWorkflowSubject" + # The directoryObject property + directory_object: Optional[DirectoryObject] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> DirectoryObjectWorkflowSubject: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: DirectoryObjectWorkflowSubject + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return DirectoryObjectWorkflowSubject() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from ..directory_object import DirectoryObject + from .workflow_subject import WorkflowSubject + + from ..directory_object import DirectoryObject + from .workflow_subject import WorkflowSubject + + fields: dict[str, Callable[[Any], None]] = { + "directoryObject": lambda n : setattr(self, 'directory_object', n.get_object_value(DirectoryObject)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_object_value("directoryObject", self.directory_object) + + diff --git a/msgraph_beta/generated/models/identity_governance/disable_only_enforcement_action.py b/msgraph_beta/generated/models/identity_governance/disable_only_enforcement_action.py new file mode 100644 index 00000000000..cc5eeab10e3 --- /dev/null +++ b/msgraph_beta/generated/models/identity_governance/disable_only_enforcement_action.py @@ -0,0 +1,53 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .lifecycle_policy_enforcement_action import LifecyclePolicyEnforcementAction + +from .lifecycle_policy_enforcement_action import LifecyclePolicyEnforcementAction + +@dataclass +class DisableOnlyEnforcementAction(LifecyclePolicyEnforcementAction, Parsable): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.identityGovernance.disableOnlyEnforcementAction" + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> DisableOnlyEnforcementAction: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: DisableOnlyEnforcementAction + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return DisableOnlyEnforcementAction() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .lifecycle_policy_enforcement_action import LifecyclePolicyEnforcementAction + + from .lifecycle_policy_enforcement_action import LifecyclePolicyEnforcementAction + + fields: dict[str, Callable[[Any], None]] = { + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + + diff --git a/msgraph_beta/generated/models/identity_governance/disable_then_delete_enforcement_action.py b/msgraph_beta/generated/models/identity_governance/disable_then_delete_enforcement_action.py new file mode 100644 index 00000000000..e03fd27265b --- /dev/null +++ b/msgraph_beta/generated/models/identity_governance/disable_then_delete_enforcement_action.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .lifecycle_policy_enforcement_action import LifecyclePolicyEnforcementAction + +from .lifecycle_policy_enforcement_action import LifecyclePolicyEnforcementAction + +@dataclass +class DisableThenDeleteEnforcementAction(LifecyclePolicyEnforcementAction, Parsable): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.identityGovernance.disableThenDeleteEnforcementAction" + # The deletionGracePeriodInDays property + deletion_grace_period_in_days: Optional[int] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> DisableThenDeleteEnforcementAction: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: DisableThenDeleteEnforcementAction + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return DisableThenDeleteEnforcementAction() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .lifecycle_policy_enforcement_action import LifecyclePolicyEnforcementAction + + from .lifecycle_policy_enforcement_action import LifecyclePolicyEnforcementAction + + fields: dict[str, Callable[[Any], None]] = { + "deletionGracePeriodInDays": lambda n : setattr(self, 'deletion_grace_period_in_days', n.get_int_value()), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_int_value("deletionGracePeriodInDays", self.deletion_grace_period_in_days) + + diff --git a/msgraph_beta/generated/models/identity_governance/identity_lifecycle.py b/msgraph_beta/generated/models/identity_governance/identity_lifecycle.py new file mode 100644 index 00000000000..11deef69c32 --- /dev/null +++ b/msgraph_beta/generated/models/identity_governance/identity_lifecycle.py @@ -0,0 +1,84 @@ +from __future__ import annotations +import datetime +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..entity import Entity + from .agent_identity_lifecycle import AgentIdentityLifecycle + from .compliance_issue import ComplianceIssue + from .lifecycle_policy import LifecyclePolicy + +from ..entity import Entity + +@dataclass +class IdentityLifecycle(Entity, Parsable): + # The complianceIssues property + compliance_issues: Optional[list[ComplianceIssue]] = None + # The effectiveGoverningPolicy property + effective_governing_policy: Optional[LifecyclePolicy] = None + # The lastAttestationDateTime property + last_attestation_date_time: Optional[datetime.datetime] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> IdentityLifecycle: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: IdentityLifecycle + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None + except AttributeError: + mapping_value = None + if mapping_value and mapping_value.casefold() == "#microsoft.graph.identityGovernance.agentIdentityLifecycle".casefold(): + from .agent_identity_lifecycle import AgentIdentityLifecycle + + return AgentIdentityLifecycle() + return IdentityLifecycle() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from ..entity import Entity + from .agent_identity_lifecycle import AgentIdentityLifecycle + from .compliance_issue import ComplianceIssue + from .lifecycle_policy import LifecyclePolicy + + from ..entity import Entity + from .agent_identity_lifecycle import AgentIdentityLifecycle + from .compliance_issue import ComplianceIssue + from .lifecycle_policy import LifecyclePolicy + + fields: dict[str, Callable[[Any], None]] = { + "complianceIssues": lambda n : setattr(self, 'compliance_issues', n.get_collection_of_object_values(ComplianceIssue)), + "effectiveGoverningPolicy": lambda n : setattr(self, 'effective_governing_policy', n.get_object_value(LifecyclePolicy)), + "lastAttestationDateTime": lambda n : setattr(self, 'last_attestation_date_time', n.get_datetime_value()), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("complianceIssues", self.compliance_issues) + writer.write_object_value("effectiveGoverningPolicy", self.effective_governing_policy) + writer.write_datetime_value("lastAttestationDateTime", self.last_attestation_date_time) + + diff --git a/msgraph_beta/generated/models/identity_governance/inactivity_rule.py b/msgraph_beta/generated/models/identity_governance/inactivity_rule.py new file mode 100644 index 00000000000..474695a4c2d --- /dev/null +++ b/msgraph_beta/generated/models/identity_governance/inactivity_rule.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .lifecycle_policy_rule import LifecyclePolicyRule + +from .lifecycle_policy_rule import LifecyclePolicyRule + +@dataclass +class InactivityRule(LifecyclePolicyRule, Parsable): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.identityGovernance.inactivityRule" + # The lastActivityThresholdInDays property + last_activity_threshold_in_days: Optional[int] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> InactivityRule: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: InactivityRule + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return InactivityRule() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .lifecycle_policy_rule import LifecyclePolicyRule + + from .lifecycle_policy_rule import LifecyclePolicyRule + + fields: dict[str, Callable[[Any], None]] = { + "lastActivityThresholdInDays": lambda n : setattr(self, 'last_activity_threshold_in_days', n.get_int_value()), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_int_value("lastActivityThresholdInDays", self.last_activity_threshold_in_days) + + diff --git a/msgraph_beta/generated/models/identity_governance/lifecycle_policy.py b/msgraph_beta/generated/models/identity_governance/lifecycle_policy.py new file mode 100644 index 00000000000..d5cc2dab28c --- /dev/null +++ b/msgraph_beta/generated/models/identity_governance/lifecycle_policy.py @@ -0,0 +1,144 @@ +from __future__ import annotations +import datetime +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..directory_object import DirectoryObject + from ..entity import Entity + from ..subject_set import SubjectSet + from .agent_identity_lifecycle_policy import AgentIdentityLifecyclePolicy + from .lifecycle_policy_enforcement_action import LifecyclePolicyEnforcementAction + from .lifecycle_policy_notification_settings import LifecyclePolicyNotificationSettings + from .lifecycle_policy_rule import LifecyclePolicyRule + from .lifecycle_policy_source import LifecyclePolicySource + +from ..entity import Entity + +@dataclass +class LifecyclePolicy(Entity, Parsable): + # The createdBy property + created_by: Optional[DirectoryObject] = None + # The createdDateTime property + created_date_time: Optional[datetime.datetime] = None + # The description property + description: Optional[str] = None + # The displayName property + display_name: Optional[str] = None + # The enforcementAction property + enforcement_action: Optional[LifecyclePolicyEnforcementAction] = None + # The gracePeriodInDays property + grace_period_in_days: Optional[int] = None + # The isEnabled property + is_enabled: Optional[bool] = None + # The lastModifiedBy property + last_modified_by: Optional[DirectoryObject] = None + # The lastModifiedDateTime property + last_modified_date_time: Optional[datetime.datetime] = None + # The notificationSchedule property + notification_schedule: Optional[LifecyclePolicyNotificationSettings] = None + # The OdataType property + odata_type: Optional[str] = None + # The policySource property + policy_source: Optional[LifecyclePolicySource] = None + # The rules property + rules: Optional[list[LifecyclePolicyRule]] = None + # The scope property + scope: Optional[SubjectSet] = None + # The versionNumber property + version_number: Optional[int] = None + # The versions property + versions: Optional[list[LifecyclePolicy]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> LifecyclePolicy: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: LifecyclePolicy + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None + except AttributeError: + mapping_value = None + if mapping_value and mapping_value.casefold() == "#microsoft.graph.identityGovernance.agentIdentityLifecyclePolicy".casefold(): + from .agent_identity_lifecycle_policy import AgentIdentityLifecyclePolicy + + return AgentIdentityLifecyclePolicy() + return LifecyclePolicy() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from ..directory_object import DirectoryObject + from ..entity import Entity + from ..subject_set import SubjectSet + from .agent_identity_lifecycle_policy import AgentIdentityLifecyclePolicy + from .lifecycle_policy_enforcement_action import LifecyclePolicyEnforcementAction + from .lifecycle_policy_notification_settings import LifecyclePolicyNotificationSettings + from .lifecycle_policy_rule import LifecyclePolicyRule + from .lifecycle_policy_source import LifecyclePolicySource + + from ..directory_object import DirectoryObject + from ..entity import Entity + from ..subject_set import SubjectSet + from .agent_identity_lifecycle_policy import AgentIdentityLifecyclePolicy + from .lifecycle_policy_enforcement_action import LifecyclePolicyEnforcementAction + from .lifecycle_policy_notification_settings import LifecyclePolicyNotificationSettings + from .lifecycle_policy_rule import LifecyclePolicyRule + from .lifecycle_policy_source import LifecyclePolicySource + + fields: dict[str, Callable[[Any], None]] = { + "createdBy": lambda n : setattr(self, 'created_by', n.get_object_value(DirectoryObject)), + "createdDateTime": lambda n : setattr(self, 'created_date_time', n.get_datetime_value()), + "description": lambda n : setattr(self, 'description', n.get_str_value()), + "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), + "enforcementAction": lambda n : setattr(self, 'enforcement_action', n.get_object_value(LifecyclePolicyEnforcementAction)), + "gracePeriodInDays": lambda n : setattr(self, 'grace_period_in_days', n.get_int_value()), + "isEnabled": lambda n : setattr(self, 'is_enabled', n.get_bool_value()), + "lastModifiedBy": lambda n : setattr(self, 'last_modified_by', n.get_object_value(DirectoryObject)), + "lastModifiedDateTime": lambda n : setattr(self, 'last_modified_date_time', n.get_datetime_value()), + "notificationSchedule": lambda n : setattr(self, 'notification_schedule', n.get_object_value(LifecyclePolicyNotificationSettings)), + "policySource": lambda n : setattr(self, 'policy_source', n.get_enum_value(LifecyclePolicySource)), + "rules": lambda n : setattr(self, 'rules', n.get_collection_of_object_values(LifecyclePolicyRule)), + "scope": lambda n : setattr(self, 'scope', n.get_object_value(SubjectSet)), + "versionNumber": lambda n : setattr(self, 'version_number', n.get_int_value()), + "versions": lambda n : setattr(self, 'versions', n.get_collection_of_object_values(LifecyclePolicy)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_object_value("createdBy", self.created_by) + writer.write_datetime_value("createdDateTime", self.created_date_time) + writer.write_str_value("description", self.description) + writer.write_str_value("displayName", self.display_name) + writer.write_object_value("enforcementAction", self.enforcement_action) + writer.write_int_value("gracePeriodInDays", self.grace_period_in_days) + writer.write_bool_value("isEnabled", self.is_enabled) + writer.write_object_value("lastModifiedBy", self.last_modified_by) + writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) + writer.write_object_value("notificationSchedule", self.notification_schedule) + writer.write_enum_value("policySource", self.policy_source) + writer.write_collection_of_object_values("rules", self.rules) + writer.write_object_value("scope", self.scope) + writer.write_int_value("versionNumber", self.version_number) + writer.write_collection_of_object_values("versions", self.versions) + + diff --git a/msgraph_beta/generated/models/identity_governance/lifecycle_policy_collection_response.py b/msgraph_beta/generated/models/identity_governance/lifecycle_policy_collection_response.py new file mode 100644 index 00000000000..09a9bd8f416 --- /dev/null +++ b/msgraph_beta/generated/models/identity_governance/lifecycle_policy_collection_response.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .lifecycle_policy import LifecyclePolicy + +from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class LifecyclePolicyCollectionResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[list[LifecyclePolicy]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> LifecyclePolicyCollectionResponse: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: LifecyclePolicyCollectionResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return LifecyclePolicyCollectionResponse() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .lifecycle_policy import LifecyclePolicy + + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .lifecycle_policy import LifecyclePolicy + + fields: dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(LifecyclePolicy)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/models/identity_governance/lifecycle_policy_enforcement_action.py b/msgraph_beta/generated/models/identity_governance/lifecycle_policy_enforcement_action.py new file mode 100644 index 00000000000..7375eaeb53d --- /dev/null +++ b/msgraph_beta/generated/models/identity_governance/lifecycle_policy_enforcement_action.py @@ -0,0 +1,80 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .delete_only_enforcement_action import DeleteOnlyEnforcementAction + from .disable_only_enforcement_action import DisableOnlyEnforcementAction + from .disable_then_delete_enforcement_action import DisableThenDeleteEnforcementAction + +@dataclass +class LifecyclePolicyEnforcementAction(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> LifecyclePolicyEnforcementAction: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: LifecyclePolicyEnforcementAction + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None + except AttributeError: + mapping_value = None + if mapping_value and mapping_value.casefold() == "#microsoft.graph.identityGovernance.deleteOnlyEnforcementAction".casefold(): + from .delete_only_enforcement_action import DeleteOnlyEnforcementAction + + return DeleteOnlyEnforcementAction() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.identityGovernance.disableOnlyEnforcementAction".casefold(): + from .disable_only_enforcement_action import DisableOnlyEnforcementAction + + return DisableOnlyEnforcementAction() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.identityGovernance.disableThenDeleteEnforcementAction".casefold(): + from .disable_then_delete_enforcement_action import DisableThenDeleteEnforcementAction + + return DisableThenDeleteEnforcementAction() + return LifecyclePolicyEnforcementAction() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .delete_only_enforcement_action import DeleteOnlyEnforcementAction + from .disable_only_enforcement_action import DisableOnlyEnforcementAction + from .disable_then_delete_enforcement_action import DisableThenDeleteEnforcementAction + + from .delete_only_enforcement_action import DeleteOnlyEnforcementAction + from .disable_only_enforcement_action import DisableOnlyEnforcementAction + from .disable_then_delete_enforcement_action import DisableThenDeleteEnforcementAction + + fields: dict[str, Callable[[Any], None]] = { + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("@odata.type", self.odata_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/identity_governance/lifecycle_policy_notification_settings.py b/msgraph_beta/generated/models/identity_governance/lifecycle_policy_notification_settings.py new file mode 100644 index 00000000000..5f514a7bf80 --- /dev/null +++ b/msgraph_beta/generated/models/identity_governance/lifecycle_policy_notification_settings.py @@ -0,0 +1,62 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class LifecyclePolicyNotificationSettings(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The additionalRecipients property + additional_recipients: Optional[list[str]] = None + # The isEnabled property + is_enabled: Optional[bool] = None + # The OdataType property + odata_type: Optional[str] = None + # The offsetsAfterNonComplianceInDays property + offsets_after_non_compliance_in_days: Optional[list[int]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> LifecyclePolicyNotificationSettings: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: LifecyclePolicyNotificationSettings + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return LifecyclePolicyNotificationSettings() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "additionalRecipients": lambda n : setattr(self, 'additional_recipients', n.get_collection_of_primitive_values(str)), + "isEnabled": lambda n : setattr(self, 'is_enabled', n.get_bool_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "offsetsAfterNonComplianceInDays": lambda n : setattr(self, 'offsets_after_non_compliance_in_days', n.get_collection_of_primitive_values(int)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_collection_of_primitive_values("additionalRecipients", self.additional_recipients) + writer.write_bool_value("isEnabled", self.is_enabled) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_collection_of_primitive_values("offsetsAfterNonComplianceInDays", self.offsets_after_non_compliance_in_days) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/identity_governance/lifecycle_policy_priority_configuration.py b/msgraph_beta/generated/models/identity_governance/lifecycle_policy_priority_configuration.py new file mode 100644 index 00000000000..8b38b3bb686 --- /dev/null +++ b/msgraph_beta/generated/models/identity_governance/lifecycle_policy_priority_configuration.py @@ -0,0 +1,64 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..entity import Entity + from .subject_type import SubjectType + +from ..entity import Entity + +@dataclass +class LifecyclePolicyPriorityConfiguration(Entity, Parsable): + # The OdataType property + odata_type: Optional[str] = None + # The orderedPolicyIds property + ordered_policy_ids: Optional[list[str]] = None + # The subjectType property + subject_type: Optional[SubjectType] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> LifecyclePolicyPriorityConfiguration: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: LifecyclePolicyPriorityConfiguration + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return LifecyclePolicyPriorityConfiguration() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from ..entity import Entity + from .subject_type import SubjectType + + from ..entity import Entity + from .subject_type import SubjectType + + fields: dict[str, Callable[[Any], None]] = { + "orderedPolicyIds": lambda n : setattr(self, 'ordered_policy_ids', n.get_collection_of_primitive_values(str)), + "subjectType": lambda n : setattr(self, 'subject_type', n.get_collection_of_enum_values(SubjectType)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_primitive_values("orderedPolicyIds", self.ordered_policy_ids) + writer.write_enum_value("subjectType", self.subject_type) + + diff --git a/msgraph_beta/generated/models/identity_governance/lifecycle_policy_priority_configuration_collection_response.py b/msgraph_beta/generated/models/identity_governance/lifecycle_policy_priority_configuration_collection_response.py new file mode 100644 index 00000000000..7bb7e2aeb64 --- /dev/null +++ b/msgraph_beta/generated/models/identity_governance/lifecycle_policy_priority_configuration_collection_response.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .lifecycle_policy_priority_configuration import LifecyclePolicyPriorityConfiguration + +from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class LifecyclePolicyPriorityConfigurationCollectionResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[list[LifecyclePolicyPriorityConfiguration]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> LifecyclePolicyPriorityConfigurationCollectionResponse: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: LifecyclePolicyPriorityConfigurationCollectionResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return LifecyclePolicyPriorityConfigurationCollectionResponse() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .lifecycle_policy_priority_configuration import LifecyclePolicyPriorityConfiguration + + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .lifecycle_policy_priority_configuration import LifecyclePolicyPriorityConfiguration + + fields: dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(LifecyclePolicyPriorityConfiguration)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/models/identity_governance/lifecycle_policy_rule.py b/msgraph_beta/generated/models/identity_governance/lifecycle_policy_rule.py new file mode 100644 index 00000000000..ad774cdb428 --- /dev/null +++ b/msgraph_beta/generated/models/identity_governance/lifecycle_policy_rule.py @@ -0,0 +1,83 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..entity import Entity + from .inactivity_rule import InactivityRule + from .periodic_attestation_rule import PeriodicAttestationRule + from .sponsor_presence_rule import SponsorPresenceRule + +from ..entity import Entity + +@dataclass +class LifecyclePolicyRule(Entity, Parsable): + # The isEnabled property + is_enabled: Optional[bool] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> LifecyclePolicyRule: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: LifecyclePolicyRule + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + try: + child_node = parse_node.get_child_node("@odata.type") + mapping_value = child_node.get_str_value() if child_node else None + except AttributeError: + mapping_value = None + if mapping_value and mapping_value.casefold() == "#microsoft.graph.identityGovernance.inactivityRule".casefold(): + from .inactivity_rule import InactivityRule + + return InactivityRule() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.identityGovernance.periodicAttestationRule".casefold(): + from .periodic_attestation_rule import PeriodicAttestationRule + + return PeriodicAttestationRule() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.identityGovernance.sponsorPresenceRule".casefold(): + from .sponsor_presence_rule import SponsorPresenceRule + + return SponsorPresenceRule() + return LifecyclePolicyRule() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from ..entity import Entity + from .inactivity_rule import InactivityRule + from .periodic_attestation_rule import PeriodicAttestationRule + from .sponsor_presence_rule import SponsorPresenceRule + + from ..entity import Entity + from .inactivity_rule import InactivityRule + from .periodic_attestation_rule import PeriodicAttestationRule + from .sponsor_presence_rule import SponsorPresenceRule + + fields: dict[str, Callable[[Any], None]] = { + "isEnabled": lambda n : setattr(self, 'is_enabled', n.get_bool_value()), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_bool_value("isEnabled", self.is_enabled) + + diff --git a/msgraph_beta/generated/models/identity_governance/lifecycle_policy_rule_collection_response.py b/msgraph_beta/generated/models/identity_governance/lifecycle_policy_rule_collection_response.py new file mode 100644 index 00000000000..38ecc91aa11 --- /dev/null +++ b/msgraph_beta/generated/models/identity_governance/lifecycle_policy_rule_collection_response.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .lifecycle_policy_rule import LifecyclePolicyRule + +from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class LifecyclePolicyRuleCollectionResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[list[LifecyclePolicyRule]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> LifecyclePolicyRuleCollectionResponse: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: LifecyclePolicyRuleCollectionResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return LifecyclePolicyRuleCollectionResponse() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .lifecycle_policy_rule import LifecyclePolicyRule + + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .lifecycle_policy_rule import LifecyclePolicyRule + + fields: dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(LifecyclePolicyRule)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/models/identity_governance/lifecycle_policy_source.py b/msgraph_beta/generated/models/identity_governance/lifecycle_policy_source.py new file mode 100644 index 00000000000..9360918e573 --- /dev/null +++ b/msgraph_beta/generated/models/identity_governance/lifecycle_policy_source.py @@ -0,0 +1,7 @@ +from enum import Enum + +class LifecyclePolicySource(str, Enum): + UserCreated = "userCreated", + SystemDefault = "systemDefault", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/identity_governance/lifecycle_workflows_container.py b/msgraph_beta/generated/models/identity_governance/lifecycle_workflows_container.py index b428d73e56b..ac3005bdd30 100644 --- a/msgraph_beta/generated/models/identity_governance/lifecycle_workflows_container.py +++ b/msgraph_beta/generated/models/identity_governance/lifecycle_workflows_container.py @@ -10,6 +10,8 @@ from .custom_task_extension import CustomTaskExtension from .insights import Insights from .lifecycle_management_settings import LifecycleManagementSettings + from .lifecycle_policy import LifecyclePolicy + from .lifecycle_policy_priority_configuration import LifecyclePolicyPriorityConfiguration from .task_definition import TaskDefinition from .workflow import Workflow from .workflow_template import WorkflowTemplate @@ -24,6 +26,10 @@ class LifecycleWorkflowsContainer(Entity, Parsable): deleted_items: Optional[DeletedItemContainer] = None # The insight container holding workflow insight summaries for a tenant. insights: Optional[Insights] = None + # The lifecyclePolicies property + lifecycle_policies: Optional[list[LifecyclePolicy]] = None + # The lifecyclePolicyPriorityConfigurations property + lifecycle_policy_priority_configurations: Optional[list[LifecyclePolicyPriorityConfiguration]] = None # The OdataType property odata_type: Optional[str] = None # The settings property @@ -56,6 +62,8 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .custom_task_extension import CustomTaskExtension from .insights import Insights from .lifecycle_management_settings import LifecycleManagementSettings + from .lifecycle_policy import LifecyclePolicy + from .lifecycle_policy_priority_configuration import LifecyclePolicyPriorityConfiguration from .task_definition import TaskDefinition from .workflow import Workflow from .workflow_template import WorkflowTemplate @@ -65,6 +73,8 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .custom_task_extension import CustomTaskExtension from .insights import Insights from .lifecycle_management_settings import LifecycleManagementSettings + from .lifecycle_policy import LifecyclePolicy + from .lifecycle_policy_priority_configuration import LifecyclePolicyPriorityConfiguration from .task_definition import TaskDefinition from .workflow import Workflow from .workflow_template import WorkflowTemplate @@ -73,6 +83,8 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: "customTaskExtensions": lambda n : setattr(self, 'custom_task_extensions', n.get_collection_of_object_values(CustomTaskExtension)), "deletedItems": lambda n : setattr(self, 'deleted_items', n.get_object_value(DeletedItemContainer)), "insights": lambda n : setattr(self, 'insights', n.get_object_value(Insights)), + "lifecyclePolicies": lambda n : setattr(self, 'lifecycle_policies', n.get_collection_of_object_values(LifecyclePolicy)), + "lifecyclePolicyPriorityConfigurations": lambda n : setattr(self, 'lifecycle_policy_priority_configurations', n.get_collection_of_object_values(LifecyclePolicyPriorityConfiguration)), "settings": lambda n : setattr(self, 'settings', n.get_object_value(LifecycleManagementSettings)), "taskDefinitions": lambda n : setattr(self, 'task_definitions', n.get_collection_of_object_values(TaskDefinition)), "workflowTemplates": lambda n : setattr(self, 'workflow_templates', n.get_collection_of_object_values(WorkflowTemplate)), @@ -94,6 +106,8 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_collection_of_object_values("customTaskExtensions", self.custom_task_extensions) writer.write_object_value("deletedItems", self.deleted_items) writer.write_object_value("insights", self.insights) + writer.write_collection_of_object_values("lifecyclePolicies", self.lifecycle_policies) + writer.write_collection_of_object_values("lifecyclePolicyPriorityConfigurations", self.lifecycle_policy_priority_configurations) writer.write_object_value("settings", self.settings) writer.write_collection_of_object_values("taskDefinitions", self.task_definitions) writer.write_collection_of_object_values("workflowTemplates", self.workflow_templates) diff --git a/msgraph_beta/generated/models/identity_governance/periodic_attestation_rule.py b/msgraph_beta/generated/models/identity_governance/periodic_attestation_rule.py new file mode 100644 index 00000000000..fb6ec20630e --- /dev/null +++ b/msgraph_beta/generated/models/identity_governance/periodic_attestation_rule.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .lifecycle_policy_rule import LifecyclePolicyRule + +from .lifecycle_policy_rule import LifecyclePolicyRule + +@dataclass +class PeriodicAttestationRule(LifecyclePolicyRule, Parsable): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.identityGovernance.periodicAttestationRule" + # The attestationIntervalInDays property + attestation_interval_in_days: Optional[int] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> PeriodicAttestationRule: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: PeriodicAttestationRule + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return PeriodicAttestationRule() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .lifecycle_policy_rule import LifecyclePolicyRule + + from .lifecycle_policy_rule import LifecyclePolicyRule + + fields: dict[str, Callable[[Any], None]] = { + "attestationIntervalInDays": lambda n : setattr(self, 'attestation_interval_in_days', n.get_int_value()), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_int_value("attestationIntervalInDays", self.attestation_interval_in_days) + + diff --git a/msgraph_beta/generated/models/identity_governance/selected_objects_subject_set.py b/msgraph_beta/generated/models/identity_governance/selected_objects_subject_set.py new file mode 100644 index 00000000000..1c9ef05fb93 --- /dev/null +++ b/msgraph_beta/generated/models/identity_governance/selected_objects_subject_set.py @@ -0,0 +1,60 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..directory_object import DirectoryObject + from ..subject_set import SubjectSet + +from ..subject_set import SubjectSet + +@dataclass +class SelectedObjectsSubjectSet(SubjectSet, Parsable): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.identityGovernance.selectedObjectsSubjectSet" + # The inScopeObjects property + in_scope_objects: Optional[list[DirectoryObject]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> SelectedObjectsSubjectSet: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: SelectedObjectsSubjectSet + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return SelectedObjectsSubjectSet() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from ..directory_object import DirectoryObject + from ..subject_set import SubjectSet + + from ..directory_object import DirectoryObject + from ..subject_set import SubjectSet + + fields: dict[str, Callable[[Any], None]] = { + "inScopeObjects": lambda n : setattr(self, 'in_scope_objects', n.get_collection_of_object_values(DirectoryObject)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("inScopeObjects", self.in_scope_objects) + + diff --git a/msgraph_beta/generated/models/identity_governance/sponsor_presence_rule.py b/msgraph_beta/generated/models/identity_governance/sponsor_presence_rule.py new file mode 100644 index 00000000000..ab06b45b135 --- /dev/null +++ b/msgraph_beta/generated/models/identity_governance/sponsor_presence_rule.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .lifecycle_policy_rule import LifecyclePolicyRule + +from .lifecycle_policy_rule import LifecyclePolicyRule + +@dataclass +class SponsorPresenceRule(LifecyclePolicyRule, Parsable): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.identityGovernance.sponsorPresenceRule" + # The minimumSponsorCount property + minimum_sponsor_count: Optional[int] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> SponsorPresenceRule: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: SponsorPresenceRule + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return SponsorPresenceRule() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .lifecycle_policy_rule import LifecyclePolicyRule + + from .lifecycle_policy_rule import LifecyclePolicyRule + + fields: dict[str, Callable[[Any], None]] = { + "minimumSponsorCount": lambda n : setattr(self, 'minimum_sponsor_count', n.get_int_value()), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_int_value("minimumSponsorCount", self.minimum_sponsor_count) + + diff --git a/msgraph_beta/generated/models/identity_governance/subject_processing_result.py b/msgraph_beta/generated/models/identity_governance/subject_processing_result.py index c27b60fc9fe..2ac22d0f519 100644 --- a/msgraph_beta/generated/models/identity_governance/subject_processing_result.py +++ b/msgraph_beta/generated/models/identity_governance/subject_processing_result.py @@ -9,6 +9,7 @@ from ..entity import Entity from .lifecycle_workflow_processing_status import LifecycleWorkflowProcessingStatus from .run import Run + from .subject_type import SubjectType from .task_processing_result import TaskProcessingResult from .workflow_execution_type import WorkflowExecutionType from .workflow_subject import WorkflowSubject @@ -33,6 +34,8 @@ class SubjectProcessingResult(Entity, Parsable): started_date_time: Optional[datetime.datetime] = None # The subject property subject: Optional[WorkflowSubject] = None + # The subjectType property + subject_type: Optional[SubjectType] = None # The task-level processing results for this subject. Read-only. task_processing_results: Optional[list[TaskProcessingResult]] = None # The total number of tasks in the workflow. Read-only. @@ -63,6 +66,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from ..entity import Entity from .lifecycle_workflow_processing_status import LifecycleWorkflowProcessingStatus from .run import Run + from .subject_type import SubjectType from .task_processing_result import TaskProcessingResult from .workflow_execution_type import WorkflowExecutionType from .workflow_subject import WorkflowSubject @@ -70,6 +74,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from ..entity import Entity from .lifecycle_workflow_processing_status import LifecycleWorkflowProcessingStatus from .run import Run + from .subject_type import SubjectType from .task_processing_result import TaskProcessingResult from .workflow_execution_type import WorkflowExecutionType from .workflow_subject import WorkflowSubject @@ -82,6 +87,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: "scheduledDateTime": lambda n : setattr(self, 'scheduled_date_time', n.get_datetime_value()), "startedDateTime": lambda n : setattr(self, 'started_date_time', n.get_datetime_value()), "subject": lambda n : setattr(self, 'subject', n.get_object_value(WorkflowSubject)), + "subjectType": lambda n : setattr(self, 'subject_type', n.get_collection_of_enum_values(SubjectType)), "taskProcessingResults": lambda n : setattr(self, 'task_processing_results', n.get_collection_of_object_values(TaskProcessingResult)), "totalTasksCount": lambda n : setattr(self, 'total_tasks_count', n.get_int_value()), "totalUnprocessedTasksCount": lambda n : setattr(self, 'total_unprocessed_tasks_count', n.get_int_value()), @@ -108,6 +114,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_datetime_value("scheduledDateTime", self.scheduled_date_time) writer.write_datetime_value("startedDateTime", self.started_date_time) writer.write_object_value("subject", self.subject) + writer.write_enum_value("subjectType", self.subject_type) writer.write_collection_of_object_values("taskProcessingResults", self.task_processing_results) writer.write_int_value("totalTasksCount", self.total_tasks_count) writer.write_int_value("totalUnprocessedTasksCount", self.total_unprocessed_tasks_count) diff --git a/msgraph_beta/generated/models/identity_governance/subject_summary.py b/msgraph_beta/generated/models/identity_governance/subject_summary.py new file mode 100644 index 00000000000..ec346479a52 --- /dev/null +++ b/msgraph_beta/generated/models/identity_governance/subject_summary.py @@ -0,0 +1,70 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class SubjectSummary(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The number of subjects with at least one failed task in a subject summary. + failed_subjects: Optional[int] = None + # The number of failed tasks for subjects in a subject summary. + failed_tasks: Optional[int] = None + # The OdataType property + odata_type: Optional[str] = None + # The number of subjects where all tasks succeeded in a subject summary. + successful_subjects: Optional[int] = None + # The total number of subjects in a subject summary. + total_subjects: Optional[int] = None + # The total tasks of subjects in a subject summary. + total_tasks: Optional[int] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> SubjectSummary: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: SubjectSummary + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return SubjectSummary() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "failedSubjects": lambda n : setattr(self, 'failed_subjects', n.get_int_value()), + "failedTasks": lambda n : setattr(self, 'failed_tasks', n.get_int_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "successfulSubjects": lambda n : setattr(self, 'successful_subjects', n.get_int_value()), + "totalSubjects": lambda n : setattr(self, 'total_subjects', n.get_int_value()), + "totalTasks": lambda n : setattr(self, 'total_tasks', n.get_int_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_int_value("failedSubjects", self.failed_subjects) + writer.write_int_value("failedTasks", self.failed_tasks) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_int_value("successfulSubjects", self.successful_subjects) + writer.write_int_value("totalSubjects", self.total_subjects) + writer.write_int_value("totalTasks", self.total_tasks) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/identity_governance/subject_type.py b/msgraph_beta/generated/models/identity_governance/subject_type.py new file mode 100644 index 00000000000..cca0bb8954c --- /dev/null +++ b/msgraph_beta/generated/models/identity_governance/subject_type.py @@ -0,0 +1,8 @@ +from enum import Enum + +class SubjectType(str, Enum): + User = "user", + AgentIdentity = "agentIdentity", + UnknownFutureValue = "unknownFutureValue", + ProvisioningObject = "provisioningObject", + diff --git a/msgraph_beta/generated/models/identity_governance/workflow_base.py b/msgraph_beta/generated/models/identity_governance/workflow_base.py index 2c9ff13d08a..c05a0a6242a 100644 --- a/msgraph_beta/generated/models/identity_governance/workflow_base.py +++ b/msgraph_beta/generated/models/identity_governance/workflow_base.py @@ -10,6 +10,7 @@ from ..directory_object import DirectoryObject from ..user import User from .lifecycle_workflow_category import LifecycleWorkflowCategory + from .subject_type import SubjectType from .task import Task from .workflow import Workflow from .workflow_execution_conditions import WorkflowExecutionConditions @@ -46,6 +47,8 @@ class WorkflowBase(AdditionalDataHolder, BackedModel, Parsable): last_modified_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None + # The targetSubjectType property + target_subject_type: Optional[SubjectType] = None # The tasks in the workflow. tasks: Optional[list[Task]] = None @@ -81,6 +84,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from ..directory_object import DirectoryObject from ..user import User from .lifecycle_workflow_category import LifecycleWorkflowCategory + from .subject_type import SubjectType from .task import Task from .workflow import Workflow from .workflow_execution_conditions import WorkflowExecutionConditions @@ -89,6 +93,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from ..directory_object import DirectoryObject from ..user import User from .lifecycle_workflow_category import LifecycleWorkflowCategory + from .subject_type import SubjectType from .task import Task from .workflow import Workflow from .workflow_execution_conditions import WorkflowExecutionConditions @@ -107,6 +112,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: "lastModifiedBy": lambda n : setattr(self, 'last_modified_by', n.get_object_value(User)), "lastModifiedDateTime": lambda n : setattr(self, 'last_modified_date_time', n.get_datetime_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "targetSubjectType": lambda n : setattr(self, 'target_subject_type', n.get_collection_of_enum_values(SubjectType)), "tasks": lambda n : setattr(self, 'tasks', n.get_collection_of_object_values(Task)), } return fields @@ -131,6 +137,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_object_value("lastModifiedBy", self.last_modified_by) writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) writer.write_str_value("@odata.type", self.odata_type) + writer.write_enum_value("targetSubjectType", self.target_subject_type) writer.write_collection_of_object_values("tasks", self.tasks) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/identity_governance/workflow_subject.py b/msgraph_beta/generated/models/identity_governance/workflow_subject.py index 9285f7fc1ab..2f59e19a05c 100644 --- a/msgraph_beta/generated/models/identity_governance/workflow_subject.py +++ b/msgraph_beta/generated/models/identity_governance/workflow_subject.py @@ -6,6 +6,7 @@ from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: + from .directory_object_workflow_subject import DirectoryObjectWorkflowSubject from .provisioning_object_workflow_subject import ProvisioningObjectWorkflowSubject @dataclass @@ -32,6 +33,10 @@ def create_from_discriminator_value(parse_node: ParseNode) -> WorkflowSubject: mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None + if mapping_value and mapping_value.casefold() == "#microsoft.graph.identityGovernance.directoryObjectWorkflowSubject".casefold(): + from .directory_object_workflow_subject import DirectoryObjectWorkflowSubject + + return DirectoryObjectWorkflowSubject() if mapping_value and mapping_value.casefold() == "#microsoft.graph.identityGovernance.provisioningObjectWorkflowSubject".casefold(): from .provisioning_object_workflow_subject import ProvisioningObjectWorkflowSubject @@ -43,8 +48,10 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ + from .directory_object_workflow_subject import DirectoryObjectWorkflowSubject from .provisioning_object_workflow_subject import ProvisioningObjectWorkflowSubject + from .directory_object_workflow_subject import DirectoryObjectWorkflowSubject from .provisioning_object_workflow_subject import ProvisioningObjectWorkflowSubject fields: dict[str, Callable[[Any], None]] = { diff --git a/msgraph_beta/generated/models/impacted_resource.py b/msgraph_beta/generated/models/impacted_resource.py index bf7d5177aec..f2a9006c3bd 100644 --- a/msgraph_beta/generated/models/impacted_resource.py +++ b/msgraph_beta/generated/models/impacted_resource.py @@ -9,6 +9,7 @@ from .entity import Entity from .key_value import KeyValue from .recommendation_status import RecommendationStatus + from .recommendation_tag import RecommendationTag from .entity import Entity @@ -44,6 +45,8 @@ class ImpactedResource(Entity, Parsable): status: Optional[RecommendationStatus] = None # The related unique identifier, depending on the resourceType. For example, this property is set to the applicationId if the resourceType is an application. subject_id: Optional[str] = None + # The tags property + tags: Optional[list[RecommendationTag]] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> ImpactedResource: @@ -64,10 +67,12 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .entity import Entity from .key_value import KeyValue from .recommendation_status import RecommendationStatus + from .recommendation_tag import RecommendationTag from .entity import Entity from .key_value import KeyValue from .recommendation_status import RecommendationStatus + from .recommendation_tag import RecommendationTag fields: dict[str, Callable[[Any], None]] = { "addedDateTime": lambda n : setattr(self, 'added_date_time', n.get_datetime_value()), @@ -84,6 +89,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: "resourceType": lambda n : setattr(self, 'resource_type', n.get_str_value()), "status": lambda n : setattr(self, 'status', n.get_enum_value(RecommendationStatus)), "subjectId": lambda n : setattr(self, 'subject_id', n.get_str_value()), + "tags": lambda n : setattr(self, 'tags', n.get_collection_of_object_values(RecommendationTag)), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -112,5 +118,6 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_str_value("resourceType", self.resource_type) writer.write_enum_value("status", self.status) writer.write_str_value("subjectId", self.subject_id) + writer.write_collection_of_object_values("tags", self.tags) diff --git a/msgraph_beta/generated/models/tenant_governance_services/action_step.py b/msgraph_beta/generated/models/investigation_action_step.py similarity index 74% rename from msgraph_beta/generated/models/tenant_governance_services/action_step.py rename to msgraph_beta/generated/models/investigation_action_step.py index 40838bdf4a2..36ff6a29b08 100644 --- a/msgraph_beta/generated/models/tenant_governance_services/action_step.py +++ b/msgraph_beta/generated/models/investigation_action_step.py @@ -6,46 +6,46 @@ from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from .action_url import ActionUrl + from .investigation_action_url import InvestigationActionUrl @dataclass -class ActionStep(AdditionalDataHolder, BackedModel, Parsable): +class InvestigationActionStep(AdditionalDataHolder, BackedModel, Parsable): # Stores model information. backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # The follow-on API reference for the step, containing the URL template and a machine-readable execution directive that a client uses to retrieve the drill-in data. - action_url: Optional[ActionUrl] = None + # The actionUrl property + action_url: Optional[InvestigationActionUrl] = None # The OdataType property odata_type: Optional[str] = None - # The one-based order, as a string, in which the step should be evaluated by a client. Steps are intended to be run in ascending stepNumber order because later steps can depend on the output of earlier steps. This value is the key of the resource. + # The stepNumber property step_number: Optional[str] = None - # Human-readable guidance that explains what the step does and why it's useful for investigating the related metric. + # The text property text: Optional[str] = None @staticmethod - def create_from_discriminator_value(parse_node: ParseNode) -> ActionStep: + def create_from_discriminator_value(parse_node: ParseNode) -> InvestigationActionStep: """ Creates a new instance of the appropriate class based on discriminator value param parse_node: The parse node to use to read the discriminator value and create the object - Returns: ActionStep + Returns: InvestigationActionStep """ if parse_node is None: raise TypeError("parse_node cannot be null.") - return ActionStep() + return InvestigationActionStep() def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: """ The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ - from .action_url import ActionUrl + from .investigation_action_url import InvestigationActionUrl - from .action_url import ActionUrl + from .investigation_action_url import InvestigationActionUrl fields: dict[str, Callable[[Any], None]] = { - "actionUrl": lambda n : setattr(self, 'action_url', n.get_object_value(ActionUrl)), + "actionUrl": lambda n : setattr(self, 'action_url', n.get_object_value(InvestigationActionUrl)), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), "stepNumber": lambda n : setattr(self, 'step_number', n.get_str_value()), "text": lambda n : setattr(self, 'text', n.get_str_value()), diff --git a/msgraph_beta/generated/models/tenant_governance_services/action_url.py b/msgraph_beta/generated/models/investigation_action_url.py similarity index 73% rename from msgraph_beta/generated/models/tenant_governance_services/action_url.py rename to msgraph_beta/generated/models/investigation_action_url.py index eb8603dc35d..ef8776e062e 100644 --- a/msgraph_beta/generated/models/tenant_governance_services/action_url.py +++ b/msgraph_beta/generated/models/investigation_action_url.py @@ -6,29 +6,29 @@ from typing import Any, Optional, TYPE_CHECKING, Union @dataclass -class ActionUrl(AdditionalDataHolder, BackedModel, Parsable): +class InvestigationActionUrl(AdditionalDataHolder, BackedModel, Parsable): # Stores model information. backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # A machine-readable directive that describes how a client should run the step, in the form metricPath§operation§input§output (for example, b2BRegistrationMetrics.recent.inboundTotalUsers§single§§$verifiedDomains). Clients use this value to chain steps together and to interpret the output of the associated url. + # The displayName property display_name: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # A Microsoft Graph or Azure Resource Manager (ARM) URL template that the client invokes to retrieve the drill-in data for the step. The template can include placeholders such as {@id}, {startDate}, {endDate}, or {sourceDomain} that the client resolves from the related tenant, the caller context, or the output of earlier steps. This value can be empty for steps that only transform data returned by a previous step. + # The url property url: Optional[str] = None @staticmethod - def create_from_discriminator_value(parse_node: ParseNode) -> ActionUrl: + def create_from_discriminator_value(parse_node: ParseNode) -> InvestigationActionUrl: """ Creates a new instance of the appropriate class based on discriminator value param parse_node: The parse node to use to read the discriminator value and create the object - Returns: ActionUrl + Returns: InvestigationActionUrl """ if parse_node is None: raise TypeError("parse_node cannot be null.") - return ActionUrl() + return InvestigationActionUrl() def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: """ diff --git a/msgraph_beta/generated/models/ios_ddm_lob_app_assignment_settings.py b/msgraph_beta/generated/models/ios_ddm_lob_app_assignment_settings.py index 6073766eb04..12881b48a56 100644 --- a/msgraph_beta/generated/models/ios_ddm_lob_app_assignment_settings.py +++ b/msgraph_beta/generated/models/ios_ddm_lob_app_assignment_settings.py @@ -3,6 +3,7 @@ from dataclasses import dataclass, field from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter from typing import Any, Optional, TYPE_CHECKING, Union +from uuid import UUID if TYPE_CHECKING: from .mobile_app_assignment_settings import MobileAppAssignmentSettings @@ -24,6 +25,8 @@ class IosDdmLobAppAssignmentSettings(MobileAppAssignmentSettings, Parsable): cellular_slice_configuration_id: Optional[str] = None # The contentFilterConfigurationId property content_filter_configuration_id: Optional[str] = None + # The unique identifier of the DDM app configuration to associate with the app. + ddm_app_config_id: Optional[UUID] = None # The dnsProxyConfigurationId property dns_proxy_configuration_id: Optional[str] = None # When true, indicates that the app should not be backed up to iCloud. When false, indicates that the app may be backed up to iCloud. Default is false. @@ -60,6 +63,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: "associatedDomainsDirectDownloadAllowed": lambda n : setattr(self, 'associated_domains_direct_download_allowed', n.get_bool_value()), "cellularSliceConfigurationId": lambda n : setattr(self, 'cellular_slice_configuration_id', n.get_str_value()), "contentFilterConfigurationId": lambda n : setattr(self, 'content_filter_configuration_id', n.get_str_value()), + "ddmAppConfigId": lambda n : setattr(self, 'ddm_app_config_id', n.get_uuid_value()), "dnsProxyConfigurationId": lambda n : setattr(self, 'dns_proxy_configuration_id', n.get_str_value()), "preventManagedAppBackup": lambda n : setattr(self, 'prevent_managed_app_backup', n.get_bool_value()), "relayConfigurationId": lambda n : setattr(self, 'relay_configuration_id', n.get_str_value()), @@ -83,6 +87,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_bool_value("associatedDomainsDirectDownloadAllowed", self.associated_domains_direct_download_allowed) writer.write_str_value("cellularSliceConfigurationId", self.cellular_slice_configuration_id) writer.write_str_value("contentFilterConfigurationId", self.content_filter_configuration_id) + writer.write_uuid_value("ddmAppConfigId", self.ddm_app_config_id) writer.write_str_value("dnsProxyConfigurationId", self.dns_proxy_configuration_id) writer.write_bool_value("preventManagedAppBackup", self.prevent_managed_app_backup) writer.write_str_value("relayConfigurationId", self.relay_configuration_id) diff --git a/msgraph_beta/generated/models/ios_ddm_vpp_app_assignment_settings.py b/msgraph_beta/generated/models/ios_ddm_vpp_app_assignment_settings.py index 21fd962ffc2..ac87437ffc3 100644 --- a/msgraph_beta/generated/models/ios_ddm_vpp_app_assignment_settings.py +++ b/msgraph_beta/generated/models/ios_ddm_vpp_app_assignment_settings.py @@ -3,6 +3,7 @@ from dataclasses import dataclass, field from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter from typing import Any, Optional, TYPE_CHECKING, Union +from uuid import UUID if TYPE_CHECKING: from .ddm_app_allow_downloads_over_cellular import DdmAppAllowDownloadsOverCellular @@ -30,6 +31,8 @@ class IosDdmVppAppAssignmentSettings(MobileAppAssignmentSettings, Parsable): cellular_slice_configuration_id: Optional[str] = None # The unique identifier of the content filter to associate with the app. content_filter_configuration_id: Optional[str] = None + # The unique identifier of the DDM app configuration to associate with the app. + ddm_app_config_id: Optional[UUID] = None # The unique identifier of the DNS proxy to associate with the app. dns_proxy_configuration_id: Optional[str] = None # When true, indicates that the app should not be backed up to iCloud. When false, indicates that the app may be backed up to iCloud. Default is false. @@ -76,6 +79,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: "automaticAppUpdates": lambda n : setattr(self, 'automatic_app_updates', n.get_enum_value(DdmAppAutomaticAppUpdates)), "cellularSliceConfigurationId": lambda n : setattr(self, 'cellular_slice_configuration_id', n.get_str_value()), "contentFilterConfigurationId": lambda n : setattr(self, 'content_filter_configuration_id', n.get_str_value()), + "ddmAppConfigId": lambda n : setattr(self, 'ddm_app_config_id', n.get_uuid_value()), "dnsProxyConfigurationId": lambda n : setattr(self, 'dns_proxy_configuration_id', n.get_str_value()), "preventManagedAppBackup": lambda n : setattr(self, 'prevent_managed_app_backup', n.get_bool_value()), "relayConfigurationId": lambda n : setattr(self, 'relay_configuration_id', n.get_str_value()), @@ -103,6 +107,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_enum_value("automaticAppUpdates", self.automatic_app_updates) writer.write_str_value("cellularSliceConfigurationId", self.cellular_slice_configuration_id) writer.write_str_value("contentFilterConfigurationId", self.content_filter_configuration_id) + writer.write_uuid_value("ddmAppConfigId", self.ddm_app_config_id) writer.write_str_value("dnsProxyConfigurationId", self.dns_proxy_configuration_id) writer.write_bool_value("preventManagedAppBackup", self.prevent_managed_app_backup) writer.write_str_value("relayConfigurationId", self.relay_configuration_id) diff --git a/msgraph_beta/generated/models/mac_os_ddm_vpp_app_assignment_settings.py b/msgraph_beta/generated/models/mac_os_ddm_vpp_app_assignment_settings.py index 4b529535c79..0d2ba2c08c7 100644 --- a/msgraph_beta/generated/models/mac_os_ddm_vpp_app_assignment_settings.py +++ b/msgraph_beta/generated/models/mac_os_ddm_vpp_app_assignment_settings.py @@ -3,6 +3,7 @@ from dataclasses import dataclass, field from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter from typing import Any, Optional, TYPE_CHECKING, Union +from uuid import UUID if TYPE_CHECKING: from .ddm_app_automatic_app_updates import DdmAppAutomaticAppUpdates @@ -19,6 +20,8 @@ class MacOsDdmVppAppAssignmentSettings(MobileAppAssignmentSettings, Parsable): odata_type: Optional[str] = "#microsoft.graph.macOsDdmVppAppAssignmentSettings" # Specifies whether the device automatically updates the app. Possible values are: 'alwaysOn', 'alwaysOff', 'storeSettings'. By default, this value is set to 'storeSettings'. automatic_app_updates: Optional[DdmAppAutomaticAppUpdates] = None + # The unique identifier of the DDM app configuration to associate with the app. + ddm_app_config_id: Optional[UUID] = None # If true, the device installs an iOS or iPadOS app that runs on a Mac with Apple Silicon. This is only used when the app is a VPP app. Default is false. is_ios_app: Optional[bool] = None # When TRUE, indicates that the app should be assigned using device licensing. When FALSE, indicates that the app should be assigned using user licensing. By default, this property is set to FALSE. @@ -50,6 +53,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: fields: dict[str, Callable[[Any], None]] = { "automaticAppUpdates": lambda n : setattr(self, 'automatic_app_updates', n.get_enum_value(DdmAppAutomaticAppUpdates)), + "ddmAppConfigId": lambda n : setattr(self, 'ddm_app_config_id', n.get_uuid_value()), "isIosApp": lambda n : setattr(self, 'is_ios_app', n.get_bool_value()), "useDeviceLicensing": lambda n : setattr(self, 'use_device_licensing', n.get_bool_value()), "version": lambda n : setattr(self, 'version', n.get_int_value()), @@ -68,6 +72,7 @@ def serialize(self,writer: SerializationWriter) -> None: raise TypeError("writer cannot be null.") super().serialize(writer) writer.write_enum_value("automaticAppUpdates", self.automatic_app_updates) + writer.write_uuid_value("ddmAppConfigId", self.ddm_app_config_id) writer.write_bool_value("isIosApp", self.is_ios_app) writer.write_bool_value("useDeviceLicensing", self.use_device_licensing) writer.write_int_value("version", self.version) diff --git a/msgraph_beta/generated/models/member.py b/msgraph_beta/generated/models/member.py index 6a281cbb091..6f9d48c839e 100644 --- a/msgraph_beta/generated/models/member.py +++ b/msgraph_beta/generated/models/member.py @@ -15,18 +15,16 @@ class Member(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # The contactId property - contact_id: Optional[str] = None # The display name of the member. Optional. display_name: Optional[str] = None # The email address or routing key of the member. Optional. key: Optional[str] = None + # A unique identifier system-generated for contact, privateDL, and mailbox members. Optional. + member_id: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The recipientType property - recipient_type: Optional[RecipientType] = None - # The routingType property - routing_type: Optional[str] = None + # The type property + type: Optional[RecipientType] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> Member: @@ -49,12 +47,11 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .recipient_type import RecipientType fields: dict[str, Callable[[Any], None]] = { - "contactId": lambda n : setattr(self, 'contact_id', n.get_str_value()), "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), "key": lambda n : setattr(self, 'key', n.get_str_value()), + "memberId": lambda n : setattr(self, 'member_id', n.get_str_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), - "recipientType": lambda n : setattr(self, 'recipient_type', n.get_enum_value(RecipientType)), - "routingType": lambda n : setattr(self, 'routing_type', n.get_str_value()), + "type": lambda n : setattr(self, 'type', n.get_enum_value(RecipientType)), } return fields @@ -66,12 +63,11 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") - writer.write_str_value("contactId", self.contact_id) writer.write_str_value("displayName", self.display_name) writer.write_str_value("key", self.key) + writer.write_str_value("memberId", self.member_id) writer.write_str_value("@odata.type", self.odata_type) - writer.write_enum_value("recipientType", self.recipient_type) - writer.write_str_value("routingType", self.routing_type) + writer.write_enum_value("type", self.type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/mobile_app_content_file.py b/msgraph_beta/generated/models/mobile_app_content_file.py index 3c5e88102ef..23e56f4e790 100644 --- a/msgraph_beta/generated/models/mobile_app_content_file.py +++ b/msgraph_beta/generated/models/mobile_app_content_file.py @@ -7,6 +7,7 @@ if TYPE_CHECKING: from .entity import Entity + from .mobile_app_content_file_upload_error_code import MobileAppContentFileUploadErrorCode from .mobile_app_content_file_upload_state import MobileAppContentFileUploadState from .entity import Entity @@ -38,6 +39,8 @@ class MobileAppContentFile(Entity, Parsable): size: Optional[int] = None # Indicates the size of the file after encryption, in bytes. size_encrypted: Optional[int] = None + # Indicates optional error details when uploadState is indicating an error. For example, when uploadState has commitFileFailed value, this field may have the error code of apkIsInvalid. Read-only. + upload_error_code: Optional[MobileAppContentFileUploadErrorCode] = None # Contains properties for upload request states. upload_state: Optional[MobileAppContentFileUploadState] = None @@ -58,9 +61,11 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: Returns: dict[str, Callable[[ParseNode], None]] """ from .entity import Entity + from .mobile_app_content_file_upload_error_code import MobileAppContentFileUploadErrorCode from .mobile_app_content_file_upload_state import MobileAppContentFileUploadState from .entity import Entity + from .mobile_app_content_file_upload_error_code import MobileAppContentFileUploadErrorCode from .mobile_app_content_file_upload_state import MobileAppContentFileUploadState fields: dict[str, Callable[[Any], None]] = { @@ -74,6 +79,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: "name": lambda n : setattr(self, 'name', n.get_str_value()), "size": lambda n : setattr(self, 'size', n.get_int_value()), "sizeEncrypted": lambda n : setattr(self, 'size_encrypted', n.get_int_value()), + "uploadErrorCode": lambda n : setattr(self, 'upload_error_code', n.get_enum_value(MobileAppContentFileUploadErrorCode)), "uploadState": lambda n : setattr(self, 'upload_state', n.get_enum_value(MobileAppContentFileUploadState)), } super_fields = super().get_field_deserializers() diff --git a/msgraph_beta/generated/models/mobile_app_content_file_upload_error_code.py b/msgraph_beta/generated/models/mobile_app_content_file_upload_error_code.py new file mode 100644 index 00000000000..e64c09007a7 --- /dev/null +++ b/msgraph_beta/generated/models/mobile_app_content_file_upload_error_code.py @@ -0,0 +1,14 @@ +from enum import Enum + +class MobileAppContentFileUploadErrorCode(str, Enum): + ApkIsInvalid = "apkIsInvalid", + ApkIsMissingSignerCertificates = "apkIsMissingSignerCertificates", + ApkHasInvalidPackageName = "apkHasInvalidPackageName", + ApkPackageNameMismatch = "apkPackageNameMismatch", + ApkHasInvalidVersionCode = "apkHasInvalidVersionCode", + ApkHasVersionCodeMismatch = "apkHasVersionCodeMismatch", + ApkHasInvalidMinSdk = "apkHasInvalidMinSdk", + ApkMinSdkMismatch = "apkMinSdkMismatch", + ApkVersionNameMismatch = "apkVersionNameMismatch", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/tenant_governance_services/multi_tenant_application_metrics.py b/msgraph_beta/generated/models/multi_tenant_application_metrics.py similarity index 82% rename from msgraph_beta/generated/models/tenant_governance_services/multi_tenant_application_metrics.py rename to msgraph_beta/generated/models/multi_tenant_application_metrics.py index 9b028e70083..fb424669a26 100644 --- a/msgraph_beta/generated/models/tenant_governance_services/multi_tenant_application_metrics.py +++ b/msgraph_beta/generated/models/multi_tenant_application_metrics.py @@ -5,19 +5,19 @@ from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from ..entity import Entity - from .action_step import ActionStep + from .entity import Entity + from .investigation_action_step import InvestigationActionStep from .multi_tenant_application_metrics_initial import MultiTenantApplicationMetricsInitial from .multi_tenant_application_metrics_recent import MultiTenantApplicationMetricsRecent -from ..entity import Entity +from .entity import Entity @dataclass class MultiTenantApplicationMetrics(Entity, Parsable): # The initial property initial: Optional[MultiTenantApplicationMetricsInitial] = None - # Ordered drill-in guidance for investigating multitenant application counts. This collection is returned only when explicitly requested by using a nested $expand query parameter, for example $expand=multiTenantApplicationMetrics($expand=investigationHints). - investigation_hints: Optional[list[ActionStep]] = None + # The investigationHints property + investigation_hints: Optional[list[InvestigationActionStep]] = None # The OdataType property odata_type: Optional[str] = None # The recent property @@ -39,19 +39,19 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ - from ..entity import Entity - from .action_step import ActionStep + from .entity import Entity + from .investigation_action_step import InvestigationActionStep from .multi_tenant_application_metrics_initial import MultiTenantApplicationMetricsInitial from .multi_tenant_application_metrics_recent import MultiTenantApplicationMetricsRecent - from ..entity import Entity - from .action_step import ActionStep + from .entity import Entity + from .investigation_action_step import InvestigationActionStep from .multi_tenant_application_metrics_initial import MultiTenantApplicationMetricsInitial from .multi_tenant_application_metrics_recent import MultiTenantApplicationMetricsRecent fields: dict[str, Callable[[Any], None]] = { "initial": lambda n : setattr(self, 'initial', n.get_object_value(MultiTenantApplicationMetricsInitial)), - "investigationHints": lambda n : setattr(self, 'investigation_hints', n.get_collection_of_object_values(ActionStep)), + "investigationHints": lambda n : setattr(self, 'investigation_hints', n.get_collection_of_object_values(InvestigationActionStep)), "recent": lambda n : setattr(self, 'recent', n.get_object_value(MultiTenantApplicationMetricsRecent)), } super_fields = super().get_field_deserializers() diff --git a/msgraph_beta/generated/models/tenant_governance_services/multi_tenant_application_metrics_base.py b/msgraph_beta/generated/models/multi_tenant_application_metrics_base.py similarity index 87% rename from msgraph_beta/generated/models/tenant_governance_services/multi_tenant_application_metrics_base.py rename to msgraph_beta/generated/models/multi_tenant_application_metrics_base.py index ff55ab9465e..4897194d261 100644 --- a/msgraph_beta/generated/models/tenant_governance_services/multi_tenant_application_metrics_base.py +++ b/msgraph_beta/generated/models/multi_tenant_application_metrics_base.py @@ -6,21 +6,21 @@ from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from ..entity import Entity + from .entity import Entity from .multi_tenant_application_metrics_initial import MultiTenantApplicationMetricsInitial from .multi_tenant_application_metrics_recent import MultiTenantApplicationMetricsRecent -from ..entity import Entity +from .entity import Entity @dataclass class MultiTenantApplicationMetricsBase(Entity, Parsable): - # The total number of inbound multi-tenant applications in the last month. + # The inboundMonthlyTotalApplications property inbound_monthly_total_applications: Optional[float] = None # The OdataType property odata_type: Optional[str] = None - # The total number of outbound multi-tenant applications in the last month. + # The outboundMonthlyTotalApplications property outbound_monthly_total_applications: Optional[float] = None - # The date and time when the metrics snapshot was taken. + # The watermarkDateTime property watermark_date_time: Optional[datetime.datetime] = None @staticmethod @@ -37,11 +37,11 @@ def create_from_discriminator_value(parse_node: ParseNode) -> MultiTenantApplica mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None - if mapping_value and mapping_value.casefold() == "#microsoft.graph.tenantGovernanceServices.multiTenantApplicationMetricsInitial".casefold(): + if mapping_value and mapping_value.casefold() == "#microsoft.graph.multiTenantApplicationMetricsInitial".casefold(): from .multi_tenant_application_metrics_initial import MultiTenantApplicationMetricsInitial return MultiTenantApplicationMetricsInitial() - if mapping_value and mapping_value.casefold() == "#microsoft.graph.tenantGovernanceServices.multiTenantApplicationMetricsRecent".casefold(): + if mapping_value and mapping_value.casefold() == "#microsoft.graph.multiTenantApplicationMetricsRecent".casefold(): from .multi_tenant_application_metrics_recent import MultiTenantApplicationMetricsRecent return MultiTenantApplicationMetricsRecent() @@ -52,11 +52,11 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ - from ..entity import Entity + from .entity import Entity from .multi_tenant_application_metrics_initial import MultiTenantApplicationMetricsInitial from .multi_tenant_application_metrics_recent import MultiTenantApplicationMetricsRecent - from ..entity import Entity + from .entity import Entity from .multi_tenant_application_metrics_initial import MultiTenantApplicationMetricsInitial from .multi_tenant_application_metrics_recent import MultiTenantApplicationMetricsRecent diff --git a/msgraph_beta/generated/models/tenant_governance_services/multi_tenant_application_metrics_initial.py b/msgraph_beta/generated/models/multi_tenant_application_metrics_initial.py similarity index 95% rename from msgraph_beta/generated/models/tenant_governance_services/multi_tenant_application_metrics_initial.py rename to msgraph_beta/generated/models/multi_tenant_application_metrics_initial.py index 8c23c5e150b..b5c04a8bb0e 100644 --- a/msgraph_beta/generated/models/tenant_governance_services/multi_tenant_application_metrics_initial.py +++ b/msgraph_beta/generated/models/multi_tenant_application_metrics_initial.py @@ -12,7 +12,7 @@ @dataclass class MultiTenantApplicationMetricsInitial(MultiTenantApplicationMetricsBase, Parsable): - # Timestamp that represents when multitenant application metrics are initially aggregated for the related tenant. + # The createdDateTime property created_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/tenant_governance_services/multi_tenant_application_metrics_recent.py b/msgraph_beta/generated/models/multi_tenant_application_metrics_recent.py similarity index 94% rename from msgraph_beta/generated/models/tenant_governance_services/multi_tenant_application_metrics_recent.py rename to msgraph_beta/generated/models/multi_tenant_application_metrics_recent.py index 9e86b06c2ce..e1ffa50c7a7 100644 --- a/msgraph_beta/generated/models/tenant_governance_services/multi_tenant_application_metrics_recent.py +++ b/msgraph_beta/generated/models/multi_tenant_application_metrics_recent.py @@ -14,7 +14,7 @@ class MultiTenantApplicationMetricsRecent(MultiTenantApplicationMetricsBase, Parsable): # The OdataType property odata_type: Optional[str] = None - # Timestamp that represents when multitenant application metrics are aggregated and have sufficiently changed for the related tenant. + # The updateDateTime property update_date_time: Optional[datetime.datetime] = None @staticmethod diff --git a/msgraph_beta/generated/models/tenant_governance_services/multi_tenant_applications_to_provision.py b/msgraph_beta/generated/models/multi_tenant_applications_to_provision.py similarity index 84% rename from msgraph_beta/generated/models/tenant_governance_services/multi_tenant_applications_to_provision.py rename to msgraph_beta/generated/models/multi_tenant_applications_to_provision.py index 7abd36ab2b0..7e304707bef 100644 --- a/msgraph_beta/generated/models/tenant_governance_services/multi_tenant_applications_to_provision.py +++ b/msgraph_beta/generated/models/multi_tenant_applications_to_provision.py @@ -6,7 +6,7 @@ from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from .required_resource_access import RequiredResourceAccess + from .applications_required_resource_access import ApplicationsRequiredResourceAccess @dataclass class MultiTenantApplicationsToProvision(AdditionalDataHolder, BackedModel, Parsable): @@ -15,16 +15,16 @@ class MultiTenantApplicationsToProvision(AdditionalDataHolder, BackedModel, Pars # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # The appId (client ID) of the multi-tenant application. + # The appId property app_id: Optional[str] = None - # The display name of the application. + # The displayName property display_name: Optional[str] = None - # The object ID of the service principal in the governing tenant. + # The objectId property object_id: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The collection of resource accesses (permissions) required by the application. - required_resource_accesses: Optional[list[RequiredResourceAccess]] = None + # The requiredResourceAccesses property + required_resource_accesses: Optional[list[ApplicationsRequiredResourceAccess]] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> MultiTenantApplicationsToProvision: @@ -42,16 +42,16 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ - from .required_resource_access import RequiredResourceAccess + from .applications_required_resource_access import ApplicationsRequiredResourceAccess - from .required_resource_access import RequiredResourceAccess + from .applications_required_resource_access import ApplicationsRequiredResourceAccess fields: dict[str, Callable[[Any], None]] = { "appId": lambda n : setattr(self, 'app_id', n.get_str_value()), "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), "objectId": lambda n : setattr(self, 'object_id', n.get_str_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), - "requiredResourceAccesses": lambda n : setattr(self, 'required_resource_accesses', n.get_collection_of_object_values(RequiredResourceAccess)), + "requiredResourceAccesses": lambda n : setattr(self, 'required_resource_accesses', n.get_collection_of_object_values(ApplicationsRequiredResourceAccess)), } return fields diff --git a/msgraph_beta/generated/models/tenant_governance_services/multi_tenant_applications_to_provision_snapshot.py b/msgraph_beta/generated/models/multi_tenant_applications_to_provision_snapshot.py similarity index 84% rename from msgraph_beta/generated/models/tenant_governance_services/multi_tenant_applications_to_provision_snapshot.py rename to msgraph_beta/generated/models/multi_tenant_applications_to_provision_snapshot.py index 19b038505cd..07029f1050b 100644 --- a/msgraph_beta/generated/models/tenant_governance_services/multi_tenant_applications_to_provision_snapshot.py +++ b/msgraph_beta/generated/models/multi_tenant_applications_to_provision_snapshot.py @@ -6,7 +6,7 @@ from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from .required_resource_access import RequiredResourceAccess + from .applications_required_resource_access import ApplicationsRequiredResourceAccess @dataclass class MultiTenantApplicationsToProvisionSnapshot(AdditionalDataHolder, BackedModel, Parsable): @@ -15,16 +15,16 @@ class MultiTenantApplicationsToProvisionSnapshot(AdditionalDataHolder, BackedMod # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # The appId (client ID) of the multi-tenant application. + # The appId property app_id: Optional[str] = None - # The display name of the application. + # The displayName property display_name: Optional[str] = None - # The object ID of the service principal in the governing tenant. + # The objectId property object_id: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The collection of resource accesses (permissions) required by the application. - required_resource_accesses: Optional[list[RequiredResourceAccess]] = None + # The requiredResourceAccesses property + required_resource_accesses: Optional[list[ApplicationsRequiredResourceAccess]] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> MultiTenantApplicationsToProvisionSnapshot: @@ -42,16 +42,16 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ - from .required_resource_access import RequiredResourceAccess + from .applications_required_resource_access import ApplicationsRequiredResourceAccess - from .required_resource_access import RequiredResourceAccess + from .applications_required_resource_access import ApplicationsRequiredResourceAccess fields: dict[str, Callable[[Any], None]] = { "appId": lambda n : setattr(self, 'app_id', n.get_str_value()), "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), "objectId": lambda n : setattr(self, 'object_id', n.get_str_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), - "requiredResourceAccesses": lambda n : setattr(self, 'required_resource_accesses', n.get_collection_of_object_values(RequiredResourceAccess)), + "requiredResourceAccesses": lambda n : setattr(self, 'required_resource_accesses', n.get_collection_of_object_values(ApplicationsRequiredResourceAccess)), } return fields diff --git a/msgraph_beta/generated/models/ndes_connector.py b/msgraph_beta/generated/models/ndes_connector.py index 93718e5e55c..e4a54e2de57 100644 --- a/msgraph_beta/generated/models/ndes_connector.py +++ b/msgraph_beta/generated/models/ndes_connector.py @@ -6,7 +6,9 @@ from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: + from .connector_health_check import ConnectorHealthCheck from .entity import Entity + from .ndes_connector_health_status import NdesConnectorHealthStatus from .ndes_connector_state import NdesConnectorState from .entity import Entity @@ -22,6 +24,10 @@ class NdesConnector(Entity, Parsable): display_name: Optional[str] = None # Timestamp when on-prem certificate connector was enrolled in Intune. enrolled_date_time: Optional[datetime.datetime] = None + # The collection of individual health check results for this connector. Each entry represents an independent health metric with its current status. Empty when the connector is disconnected or when health has not been evaluated yet. Read-only. + health_checks: Optional[list[ConnectorHealthCheck]] = None + # The overall health status of the connector, representing the worst status across all individual health checks. This value is pre-computed on each connector upload and may be overridden to disconnected at read time if the connector has not connected recently. Read-only. + health_status: Optional[NdesConnectorHealthStatus] = None # Last connection time for the Ndes Connector last_connection_date_time: Optional[datetime.datetime] = None # Name of the machine running on-prem certificate connector service. @@ -49,16 +55,22 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ + from .connector_health_check import ConnectorHealthCheck from .entity import Entity + from .ndes_connector_health_status import NdesConnectorHealthStatus from .ndes_connector_state import NdesConnectorState + from .connector_health_check import ConnectorHealthCheck from .entity import Entity + from .ndes_connector_health_status import NdesConnectorHealthStatus from .ndes_connector_state import NdesConnectorState fields: dict[str, Callable[[Any], None]] = { "connectorVersion": lambda n : setattr(self, 'connector_version', n.get_str_value()), "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), "enrolledDateTime": lambda n : setattr(self, 'enrolled_date_time', n.get_datetime_value()), + "healthChecks": lambda n : setattr(self, 'health_checks', n.get_collection_of_object_values(ConnectorHealthCheck)), + "healthStatus": lambda n : setattr(self, 'health_status', n.get_enum_value(NdesConnectorHealthStatus)), "lastConnectionDateTime": lambda n : setattr(self, 'last_connection_date_time', n.get_datetime_value()), "machineName": lambda n : setattr(self, 'machine_name', n.get_str_value()), "roleScopeTagIds": lambda n : setattr(self, 'role_scope_tag_ids', n.get_collection_of_primitive_values(str)), diff --git a/msgraph_beta/generated/models/ndes_connector_health_status.py b/msgraph_beta/generated/models/ndes_connector_health_status.py new file mode 100644 index 00000000000..71498d6b1ee --- /dev/null +++ b/msgraph_beta/generated/models/ndes_connector_health_status.py @@ -0,0 +1,16 @@ +from enum import Enum + +class NdesConnectorHealthStatus(str, Enum): + # Health has not been evaluated yet for this connector. + Unknown = "unknown", + # All health checks are passing. Error rates are below the attention threshold for all metrics. + NoActionRequired = "noActionRequired", + # One or more health checks have error rates between the attention and action thresholds. + AttentionRequired = "attentionRequired", + # One or more health checks have error rates above the action threshold. Investigation is required. + ActionRequired = "actionRequired", + # The connector has not connected within the staleness threshold. Applied at read time based on lastConnectionDateTime. + Disconnected = "disconnected", + # Evolvable enumeration sentinel value. Do not use. + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/nist_classification.py b/msgraph_beta/generated/models/nist_classification.py new file mode 100644 index 00000000000..0962ec307a0 --- /dev/null +++ b/msgraph_beta/generated/models/nist_classification.py @@ -0,0 +1,66 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class NistClassification(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The category property + category: Optional[str] = None + # The description property + description: Optional[str] = None + # The function property + function: Optional[str] = None + # The name property + name: Optional[str] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> NistClassification: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: NistClassification + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return NistClassification() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "category": lambda n : setattr(self, 'category', n.get_str_value()), + "description": lambda n : setattr(self, 'description', n.get_str_value()), + "function": lambda n : setattr(self, 'function', n.get_str_value()), + "name": lambda n : setattr(self, 'name', n.get_str_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("category", self.category) + writer.write_str_value("description", self.description) + writer.write_str_value("function", self.function) + writer.write_str_value("name", self.name) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/on_premises_publishing.py b/msgraph_beta/generated/models/on_premises_publishing.py index cf8915d7874..16e657e24d8 100644 --- a/msgraph_beta/generated/models/on_premises_publishing.py +++ b/msgraph_beta/generated/models/on_premises_publishing.py @@ -42,6 +42,8 @@ class OnPremisesPublishing(AdditionalDataHolder, BackedModel, Parsable): is_backend_certificate_validation_enabled: Optional[bool] = None # Indicates whether continuous access evaluation is enabled for Application Proxy application. For all Application Proxy apps, the property is set to true by default. is_continuous_access_evaluation_enabled: Optional[bool] = None + # The isDeviceAccessEnabled property + is_device_access_enabled: Optional[bool] = None # Indicates Microsoft Entra Private Access should handle DNS resolution. false by default. is_dns_resolution_enabled: Optional[bool] = None # Indicates if the HTTPOnly cookie flag should be set in the HTTP response headers. Set this value to true to have Application Proxy cookies include the HTTPOnly flag in the HTTP response headers. If using Remote Desktop Services, set this value to False. Default value is false. @@ -131,6 +133,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: "isAccessibleViaZTNAClient": lambda n : setattr(self, 'is_accessible_via_z_t_n_a_client', n.get_bool_value()), "isBackendCertificateValidationEnabled": lambda n : setattr(self, 'is_backend_certificate_validation_enabled', n.get_bool_value()), "isContinuousAccessEvaluationEnabled": lambda n : setattr(self, 'is_continuous_access_evaluation_enabled', n.get_bool_value()), + "isDeviceAccessEnabled": lambda n : setattr(self, 'is_device_access_enabled', n.get_bool_value()), "isDnsResolutionEnabled": lambda n : setattr(self, 'is_dns_resolution_enabled', n.get_bool_value()), "isHttpOnlyCookieEnabled": lambda n : setattr(self, 'is_http_only_cookie_enabled', n.get_bool_value()), "isOnPremPublishingEnabled": lambda n : setattr(self, 'is_on_prem_publishing_enabled', n.get_bool_value()), @@ -171,6 +174,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_bool_value("isAccessibleViaZTNAClient", self.is_accessible_via_z_t_n_a_client) writer.write_bool_value("isBackendCertificateValidationEnabled", self.is_backend_certificate_validation_enabled) writer.write_bool_value("isContinuousAccessEvaluationEnabled", self.is_continuous_access_evaluation_enabled) + writer.write_bool_value("isDeviceAccessEnabled", self.is_device_access_enabled) writer.write_bool_value("isDnsResolutionEnabled", self.is_dns_resolution_enabled) writer.write_bool_value("isHttpOnlyCookieEnabled", self.is_http_only_cookie_enabled) writer.write_bool_value("isOnPremPublishingEnabled", self.is_on_prem_publishing_enabled) diff --git a/msgraph_beta/generated/models/policy_tip_action.py b/msgraph_beta/generated/models/policy_tip_action.py index 2b7e40cd06a..df2fd9e6fe9 100644 --- a/msgraph_beta/generated/models/policy_tip_action.py +++ b/msgraph_beta/generated/models/policy_tip_action.py @@ -12,9 +12,9 @@ @dataclass class PolicyTipAction(DlpActionInfo, Parsable): - # The complianceUrl property + # A URL that points users to additional compliance guidance or remediation details for the policy tip. compliance_url: Optional[str] = None - # The matchedConditionsDescription property + # A user-friendly summary of the matched DLP conditions that triggered the policy tip. matched_conditions_description: Optional[str] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/provision_response.py b/msgraph_beta/generated/models/provision_response.py new file mode 100644 index 00000000000..2dbeac9e556 --- /dev/null +++ b/msgraph_beta/generated/models/provision_response.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class ProvisionResponse(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The challenge property + challenge: Optional[str] = None + # The deviceId property + device_id: Optional[str] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> ProvisionResponse: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: ProvisionResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return ProvisionResponse() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "challenge": lambda n : setattr(self, 'challenge', n.get_str_value()), + "deviceId": lambda n : setattr(self, 'device_id', n.get_str_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("challenge", self.challenge) + writer.write_str_value("deviceId", self.device_id) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/recommendation_base.py b/msgraph_beta/generated/models/recommendation_base.py index 49f8625f6ce..866e68d9887 100644 --- a/msgraph_beta/generated/models/recommendation_base.py +++ b/msgraph_beta/generated/models/recommendation_base.py @@ -9,11 +9,14 @@ from .action_step import ActionStep from .entity import Entity from .impacted_resource import ImpactedResource + from .nist_classification import NistClassification from .recommendation import Recommendation from .recommendation_category import RecommendationCategory + from .recommendation_category_group import RecommendationCategoryGroup from .recommendation_feature_areas import RecommendationFeatureAreas from .recommendation_priority import RecommendationPriority from .recommendation_status import RecommendationStatus + from .recommendation_tag import RecommendationTag from .recommendation_type import RecommendationType from .required_licenses import RequiredLicenses @@ -27,12 +30,20 @@ class RecommendationBase(Entity, Parsable): benefits: Optional[str] = None # The category property category: Optional[RecommendationCategory] = None + # The categoryGroup property + category_group: Optional[RecommendationCategoryGroup] = None + # The completedBySystemDateTime property + completed_by_system_date_time: Optional[datetime.datetime] = None + # The completedByUserDateTime property + completed_by_user_date_time: Optional[datetime.datetime] = None # The date and time when the recommendation was detected as applicable to your directory. created_date_time: Optional[datetime.datetime] = None # The number of points the tenant has attained. Only applies to recommendations with category set to identitySecureScore. current_score: Optional[float] = None # The title of the recommendation. display_name: Optional[str] = None + # The failedReviewDateTime property + failed_review_date_time: Optional[datetime.datetime] = None # The directory feature that the recommendation is related to. feature_areas: Optional[list[RecommendationFeatureAreas]] = None # The future date and time when a recommendation should be completed. @@ -51,6 +62,10 @@ class RecommendationBase(Entity, Parsable): last_modified_date_time: Optional[datetime.datetime] = None # The maximum number of points attainable. Only applies to recommendations with category set to identitySecureScore. max_score: Optional[float] = None + # The needsMoreActionResourceCount property + needs_more_action_resource_count: Optional[int] = None + # The nistClassifications property + nist_classifications: Optional[list[NistClassification]] = None # The OdataType property odata_type: Optional[str] = None # The future date and time when the status of a postponed recommendation will be active again. @@ -61,12 +76,18 @@ class RecommendationBase(Entity, Parsable): recommendation_type: Optional[RecommendationType] = None # The current release type of the recommendation. The possible values are: preview, generallyAvailable, unknownFutureValue. release_type: Optional[str] = None + # The remediatedDateTime property + remediated_date_time: Optional[datetime.datetime] = None # Description of the impact on users of the remediation. Only applies to recommendations with category set to identitySecureScore. remediation_impact: Optional[str] = None # The required licenses to view the recommendation. The possible values are: notApplicable, microsoftEntraIdFree, microsoftEntraIdP1, microsoftEntraIdP2, microsoftEntraIdGovernance, microsoftEntraWorkloadId, unknownFutureValue, aatp. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: aatp. required_licenses: Optional[RequiredLicenses] = None # The status property status: Optional[RecommendationStatus] = None + # The statusModifiedDateTime property + status_modified_date_time: Optional[datetime.datetime] = None + # The tags property + tags: Optional[list[RecommendationTag]] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> RecommendationBase: @@ -96,22 +117,28 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .action_step import ActionStep from .entity import Entity from .impacted_resource import ImpactedResource + from .nist_classification import NistClassification from .recommendation import Recommendation from .recommendation_category import RecommendationCategory + from .recommendation_category_group import RecommendationCategoryGroup from .recommendation_feature_areas import RecommendationFeatureAreas from .recommendation_priority import RecommendationPriority from .recommendation_status import RecommendationStatus + from .recommendation_tag import RecommendationTag from .recommendation_type import RecommendationType from .required_licenses import RequiredLicenses from .action_step import ActionStep from .entity import Entity from .impacted_resource import ImpactedResource + from .nist_classification import NistClassification from .recommendation import Recommendation from .recommendation_category import RecommendationCategory + from .recommendation_category_group import RecommendationCategoryGroup from .recommendation_feature_areas import RecommendationFeatureAreas from .recommendation_priority import RecommendationPriority from .recommendation_status import RecommendationStatus + from .recommendation_tag import RecommendationTag from .recommendation_type import RecommendationType from .required_licenses import RequiredLicenses @@ -119,9 +146,13 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: "actionSteps": lambda n : setattr(self, 'action_steps', n.get_collection_of_object_values(ActionStep)), "benefits": lambda n : setattr(self, 'benefits', n.get_str_value()), "category": lambda n : setattr(self, 'category', n.get_enum_value(RecommendationCategory)), + "categoryGroup": lambda n : setattr(self, 'category_group', n.get_enum_value(RecommendationCategoryGroup)), + "completedBySystemDateTime": lambda n : setattr(self, 'completed_by_system_date_time', n.get_datetime_value()), + "completedByUserDateTime": lambda n : setattr(self, 'completed_by_user_date_time', n.get_datetime_value()), "createdDateTime": lambda n : setattr(self, 'created_date_time', n.get_datetime_value()), "currentScore": lambda n : setattr(self, 'current_score', n.get_float_value()), "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), + "failedReviewDateTime": lambda n : setattr(self, 'failed_review_date_time', n.get_datetime_value()), "featureAreas": lambda n : setattr(self, 'feature_areas', n.get_collection_of_enum_values(RecommendationFeatureAreas)), "impactStartDateTime": lambda n : setattr(self, 'impact_start_date_time', n.get_datetime_value()), "impactType": lambda n : setattr(self, 'impact_type', n.get_str_value()), @@ -131,13 +162,18 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: "lastModifiedBy": lambda n : setattr(self, 'last_modified_by', n.get_str_value()), "lastModifiedDateTime": lambda n : setattr(self, 'last_modified_date_time', n.get_datetime_value()), "maxScore": lambda n : setattr(self, 'max_score', n.get_float_value()), + "needsMoreActionResourceCount": lambda n : setattr(self, 'needs_more_action_resource_count', n.get_int_value()), + "nistClassifications": lambda n : setattr(self, 'nist_classifications', n.get_collection_of_object_values(NistClassification)), "postponeUntilDateTime": lambda n : setattr(self, 'postpone_until_date_time', n.get_datetime_value()), "priority": lambda n : setattr(self, 'priority', n.get_enum_value(RecommendationPriority)), "recommendationType": lambda n : setattr(self, 'recommendation_type', n.get_enum_value(RecommendationType)), "releaseType": lambda n : setattr(self, 'release_type', n.get_str_value()), + "remediatedDateTime": lambda n : setattr(self, 'remediated_date_time', n.get_datetime_value()), "remediationImpact": lambda n : setattr(self, 'remediation_impact', n.get_str_value()), "requiredLicenses": lambda n : setattr(self, 'required_licenses', n.get_enum_value(RequiredLicenses)), "status": lambda n : setattr(self, 'status', n.get_enum_value(RecommendationStatus)), + "statusModifiedDateTime": lambda n : setattr(self, 'status_modified_date_time', n.get_datetime_value()), + "tags": lambda n : setattr(self, 'tags', n.get_collection_of_object_values(RecommendationTag)), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -155,9 +191,13 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_collection_of_object_values("actionSteps", self.action_steps) writer.write_str_value("benefits", self.benefits) writer.write_enum_value("category", self.category) + writer.write_enum_value("categoryGroup", self.category_group) + writer.write_datetime_value("completedBySystemDateTime", self.completed_by_system_date_time) + writer.write_datetime_value("completedByUserDateTime", self.completed_by_user_date_time) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_float_value("currentScore", self.current_score) writer.write_str_value("displayName", self.display_name) + writer.write_datetime_value("failedReviewDateTime", self.failed_review_date_time) writer.write_collection_of_enum_values("featureAreas", self.feature_areas) writer.write_datetime_value("impactStartDateTime", self.impact_start_date_time) writer.write_str_value("impactType", self.impact_type) @@ -167,12 +207,17 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_str_value("lastModifiedBy", self.last_modified_by) writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) writer.write_float_value("maxScore", self.max_score) + writer.write_int_value("needsMoreActionResourceCount", self.needs_more_action_resource_count) + writer.write_collection_of_object_values("nistClassifications", self.nist_classifications) writer.write_datetime_value("postponeUntilDateTime", self.postpone_until_date_time) writer.write_enum_value("priority", self.priority) writer.write_enum_value("recommendationType", self.recommendation_type) writer.write_str_value("releaseType", self.release_type) + writer.write_datetime_value("remediatedDateTime", self.remediated_date_time) writer.write_str_value("remediationImpact", self.remediation_impact) writer.write_enum_value("requiredLicenses", self.required_licenses) writer.write_enum_value("status", self.status) + writer.write_datetime_value("statusModifiedDateTime", self.status_modified_date_time) + writer.write_collection_of_object_values("tags", self.tags) diff --git a/msgraph_beta/generated/models/recommendation_category_group.py b/msgraph_beta/generated/models/recommendation_category_group.py new file mode 100644 index 00000000000..0eeb0d17a05 --- /dev/null +++ b/msgraph_beta/generated/models/recommendation_category_group.py @@ -0,0 +1,11 @@ +from enum import Enum + +class RecommendationCategoryGroup(str, Enum): + StrengthenAuthentication = "strengthenAuthentication", + DetectAndRespondToThreats = "detectAndRespondToThreats", + EnforceLeastPrivilege = "enforceLeastPrivilege", + GovernAppsCredentialsAndAgents = "governAppsCredentialsAndAgents", + HardenInfrastructure = "hardenInfrastructure", + DefenderForIdentity = "defenderForIdentity", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/recommendation_configuration.py b/msgraph_beta/generated/models/recommendation_configuration.py index ba8cb61832d..d74bd401522 100644 --- a/msgraph_beta/generated/models/recommendation_configuration.py +++ b/msgraph_beta/generated/models/recommendation_configuration.py @@ -1,4 +1,5 @@ from __future__ import annotations +import datetime from collections.abc import Callable from dataclasses import dataclass, field from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter @@ -13,6 +14,8 @@ class RecommendationConfiguration(Entity, Parsable): # Indicates whether notifications for recommendations are enabled. is_notification_enabled: Optional[bool] = None + # The lastRefreshedDateTime property + last_refreshed_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None @@ -38,6 +41,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: fields: dict[str, Callable[[Any], None]] = { "isNotificationEnabled": lambda n : setattr(self, 'is_notification_enabled', n.get_bool_value()), + "lastRefreshedDateTime": lambda n : setattr(self, 'last_refreshed_date_time', n.get_datetime_value()), } super_fields = super().get_field_deserializers() fields.update(super_fields) diff --git a/msgraph_beta/generated/models/recommendation_priority.py b/msgraph_beta/generated/models/recommendation_priority.py index f2b80fc99ea..64f0135d08a 100644 --- a/msgraph_beta/generated/models/recommendation_priority.py +++ b/msgraph_beta/generated/models/recommendation_priority.py @@ -4,4 +4,6 @@ class RecommendationPriority(str, Enum): Low = "low", Medium = "medium", High = "high", + Critical = "critical", + UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/recommendation_status.py b/msgraph_beta/generated/models/recommendation_status.py index fe54c7f7900..122a78012d3 100644 --- a/msgraph_beta/generated/models/recommendation_status.py +++ b/msgraph_beta/generated/models/recommendation_status.py @@ -11,4 +11,5 @@ class RecommendationStatus(str, Enum): ThirdParty = "thirdParty", Planned = "planned", AlternateMitigation = "alternateMitigation", + NeedsMoreAction = "needsMoreAction", diff --git a/msgraph_beta/generated/models/recommendation_tag.py b/msgraph_beta/generated/models/recommendation_tag.py new file mode 100644 index 00000000000..769433e3ca9 --- /dev/null +++ b/msgraph_beta/generated/models/recommendation_tag.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .entity import Entity + +from .entity import Entity + +@dataclass +class RecommendationTag(Entity, Parsable): + # The displayName property + display_name: Optional[str] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RecommendationTag: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: RecommendationTag + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return RecommendationTag() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .entity import Entity + + from .entity import Entity + + fields: dict[str, Callable[[Any], None]] = { + "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_str_value("displayName", self.display_name) + + diff --git a/msgraph_beta/generated/models/recommendation_tag_collection_response.py b/msgraph_beta/generated/models/recommendation_tag_collection_response.py new file mode 100644 index 00000000000..5c99ad109c5 --- /dev/null +++ b/msgraph_beta/generated/models/recommendation_tag_collection_response.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .recommendation_tag import RecommendationTag + +from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class RecommendationTagCollectionResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[list[RecommendationTag]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RecommendationTagCollectionResponse: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: RecommendationTagCollectionResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return RecommendationTagCollectionResponse() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .recommendation_tag import RecommendationTag + + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .recommendation_tag import RecommendationTag + + fields: dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(RecommendationTag)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/models/tenant_governance_services/related_tenant.py b/msgraph_beta/generated/models/related_tenant.py similarity index 84% rename from msgraph_beta/generated/models/tenant_governance_services/related_tenant.py rename to msgraph_beta/generated/models/related_tenant.py index 7c06c8655d2..8116207b1e0 100644 --- a/msgraph_beta/generated/models/tenant_governance_services/related_tenant.py +++ b/msgraph_beta/generated/models/related_tenant.py @@ -6,29 +6,29 @@ from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from ..entity import Entity from .b2b_registration_metrics import B2bRegistrationMetrics from .b2_b_sign_in_activity_metrics import B2BSignInActivityMetrics from .billing_metrics import BillingMetrics + from .entity import Entity from .multi_tenant_application_metrics import MultiTenantApplicationMetrics -from ..entity import Entity +from .entity import Entity @dataclass class RelatedTenant(Entity, Parsable): - # B2B sign-in activity metrics for this related tenant. Expanded by default. + # The appB2BSignInActivityMetrics property app_b2_b_sign_in_activity_metrics: Optional[B2BSignInActivityMetrics] = None - # B2B registration metrics for this related tenant. Expanded by default. + # The b2BRegistrationMetrics property b2_b_registration_metrics: Optional[B2bRegistrationMetrics] = None - # B2B sign-in activity metrics for this related tenant. Expanded by default. + # The b2BSignInActivityMetrics property b2_b_sign_in_activity_metrics: Optional[B2BSignInActivityMetrics] = None - # Billing metrics for this related tenant. Expanded by default. + # The billingMetrics property billing_metrics: Optional[BillingMetrics] = None - # The date and time when the related tenant was discovered. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. + # The createdDateTime property created_date_time: Optional[datetime.datetime] = None - # Indicates whether the related tenant is a Microsoft infrastructure tenant. Read-only. + # Indicates whether this tenant is a Microsoft infrastructure tenant. is_microsoft_infrastructure: Optional[bool] = None - # Multi-tenant application usage metrics for this related tenant. Expanded by default. + # The multiTenantApplicationMetrics property multi_tenant_application_metrics: Optional[MultiTenantApplicationMetrics] = None # The OdataType property odata_type: Optional[str] = None @@ -49,16 +49,16 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ - from ..entity import Entity from .b2b_registration_metrics import B2bRegistrationMetrics from .b2_b_sign_in_activity_metrics import B2BSignInActivityMetrics from .billing_metrics import BillingMetrics + from .entity import Entity from .multi_tenant_application_metrics import MultiTenantApplicationMetrics - from ..entity import Entity from .b2b_registration_metrics import B2bRegistrationMetrics from .b2_b_sign_in_activity_metrics import B2BSignInActivityMetrics from .billing_metrics import BillingMetrics + from .entity import Entity from .multi_tenant_application_metrics import MultiTenantApplicationMetrics fields: dict[str, Callable[[Any], None]] = { diff --git a/msgraph_beta/generated/models/tenant_governance_services/related_tenant_collection_response.py b/msgraph_beta/generated/models/related_tenant_collection_response.py similarity index 83% rename from msgraph_beta/generated/models/tenant_governance_services/related_tenant_collection_response.py rename to msgraph_beta/generated/models/related_tenant_collection_response.py index fc42805b0dd..359b70d47f0 100644 --- a/msgraph_beta/generated/models/tenant_governance_services/related_tenant_collection_response.py +++ b/msgraph_beta/generated/models/related_tenant_collection_response.py @@ -5,10 +5,10 @@ from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse from .related_tenant import RelatedTenant -from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse +from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse @dataclass class RelatedTenantCollectionResponse(BaseCollectionPaginationCountResponse, Parsable): @@ -31,10 +31,10 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ - from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse from .related_tenant import RelatedTenant - from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse from .related_tenant import RelatedTenant fields: dict[str, Callable[[Any], None]] = { diff --git a/msgraph_beta/generated/models/tenant_governance_services/related_tenants_refresh_request.py b/msgraph_beta/generated/models/related_tenants_refresh_request.py similarity index 89% rename from msgraph_beta/generated/models/tenant_governance_services/related_tenants_refresh_request.py rename to msgraph_beta/generated/models/related_tenants_refresh_request.py index 049ec226577..298fc8bf14b 100644 --- a/msgraph_beta/generated/models/tenant_governance_services/related_tenants_refresh_request.py +++ b/msgraph_beta/generated/models/related_tenants_refresh_request.py @@ -5,13 +5,13 @@ from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from ..entity import Entity + from .entity import Entity -from ..entity import Entity +from .entity import Entity @dataclass class RelatedTenantsRefreshRequest(Entity, Parsable): - # The location URL where the status of the refresh request can be retrieved. + # The location property location: Optional[str] = None # The OdataType property odata_type: Optional[str] = None @@ -32,9 +32,9 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ - from ..entity import Entity + from .entity import Entity - from ..entity import Entity + from .entity import Entity fields: dict[str, Callable[[Any], None]] = { "location": lambda n : setattr(self, 'location', n.get_str_value()), diff --git a/msgraph_beta/generated/models/tenant_governance_services/related_tenants_refresh_status.py b/msgraph_beta/generated/models/related_tenants_refresh_status.py similarity index 93% rename from msgraph_beta/generated/models/tenant_governance_services/related_tenants_refresh_status.py rename to msgraph_beta/generated/models/related_tenants_refresh_status.py index 996bccc4666..807a9927f5b 100644 --- a/msgraph_beta/generated/models/tenant_governance_services/related_tenants_refresh_status.py +++ b/msgraph_beta/generated/models/related_tenants_refresh_status.py @@ -12,11 +12,11 @@ class RelatedTenantsRefreshStatus(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # Describes whether the related tenants refresh was the initial aggregation done by our service or not. + # The isFirstRefresh property is_first_refresh: Optional[bool] = None - # The status of the refresh operation + # The mostRecentRefreshRequestStatus property most_recent_refresh_request_status: Optional[str] = None - # Timestamp of the respective refresh request. + # The mostRecentRefreshTime property most_recent_refresh_time: Optional[str] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/tenant_governance_services/relationship_creation_type.py b/msgraph_beta/generated/models/relationship_creation_type.py similarity index 100% rename from msgraph_beta/generated/models/tenant_governance_services/relationship_creation_type.py rename to msgraph_beta/generated/models/relationship_creation_type.py diff --git a/msgraph_beta/generated/models/tenant_governance_services/relationship_policy.py b/msgraph_beta/generated/models/relationship_policy.py similarity index 92% rename from msgraph_beta/generated/models/tenant_governance_services/relationship_policy.py rename to msgraph_beta/generated/models/relationship_policy.py index 800bda6171e..413a0a732b7 100644 --- a/msgraph_beta/generated/models/tenant_governance_services/relationship_policy.py +++ b/msgraph_beta/generated/models/relationship_policy.py @@ -16,15 +16,15 @@ class RelationshipPolicy(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # A snapshot of the delegated administration role assignments configured in this policy. + # The delegatedAdministrationRoleAssignments property delegated_administration_role_assignments: Optional[list[DelegatedAdministrationRoleAssignmentSnapshot]] = None - # Indicates whether the governed tenant can terminate the relationship. + # The governedTenantCanTerminate property governed_tenant_can_terminate: Optional[bool] = None - # A snapshot of the multi-tenant applications to be provisioned in the governed tenant. + # The multiTenantApplicationsToProvision property multi_tenant_applications_to_provision: Optional[list[MultiTenantApplicationsToProvisionSnapshot]] = None # The OdataType property odata_type: Optional[str] = None - # The identifier of the source policy template from which this snapshot was created. + # The policyId property policy_id: Optional[str] = None # The version property version: Optional[int] = None diff --git a/msgraph_beta/generated/models/tenant_governance_services/relationship_status.py b/msgraph_beta/generated/models/relationship_status.py similarity index 100% rename from msgraph_beta/generated/models/tenant_governance_services/relationship_status.py rename to msgraph_beta/generated/models/relationship_status.py diff --git a/msgraph_beta/generated/models/remote_action.py b/msgraph_beta/generated/models/remote_action.py index a09393fad07..24d12c70d3d 100644 --- a/msgraph_beta/generated/models/remote_action.py +++ b/msgraph_beta/generated/models/remote_action.py @@ -83,4 +83,8 @@ class RemoteAction(str, Enum): SuspendManagedHomeScreen = "suspendManagedHomeScreen", # Indicates remote device action to restore the Managed Home Screen kiosk app. RestoreManagedHomeScreen = "restoreManagedHomeScreen", + # Indicates remote device action to trigger an AppleCare-authorized enhanced log collection session on a supervised Apple device. + TriggerEnhancedLogCollection = "triggerEnhancedLogCollection", + # Indicates remote device action to cancel an in-progress enhanced log collection session on a supervised Apple device. + CancelEnhancedLogCollection = "cancelEnhancedLogCollection", diff --git a/msgraph_beta/generated/models/tenant_governance_services/request_status.py b/msgraph_beta/generated/models/request_status.py similarity index 100% rename from msgraph_beta/generated/models/tenant_governance_services/request_status.py rename to msgraph_beta/generated/models/request_status.py diff --git a/msgraph_beta/generated/models/required_licenses.py b/msgraph_beta/generated/models/required_licenses.py index 42f5b4f89ef..881dfac48d5 100644 --- a/msgraph_beta/generated/models/required_licenses.py +++ b/msgraph_beta/generated/models/required_licenses.py @@ -9,4 +9,5 @@ class RequiredLicenses(str, Enum): MicrosoftEntraWorkloadId = "microsoftEntraWorkloadId", UnknownFutureValue = "unknownFutureValue", Aatp = "aatp", + MicrosoftEntraSuite = "microsoftEntraSuite", diff --git a/msgraph_beta/generated/models/resultant_app_state_detail.py b/msgraph_beta/generated/models/resultant_app_state_detail.py index b75a1619469..943962a3a0e 100644 --- a/msgraph_beta/generated/models/resultant_app_state_detail.py +++ b/msgraph_beta/generated/models/resultant_app_state_detail.py @@ -65,6 +65,8 @@ class ResultantAppStateDetail(str, Enum): UntargetedSupersedingAppsDetected = "untargetedSupersedingAppsDetected", # App was removed in order to install a superseding app. AppRemovedBySupersedence = "appRemovedBySupersedence", + # App cannot be installed. One or more of the application's dependencies are in use. + DependencyAppInUse = "dependencyAppInUse", # Application failed to uninstall. See error code property for more details. SeeUninstallErrorCode = "seeUninstallErrorCode", # Device must be rebooted to complete installation of the application. @@ -73,4 +75,10 @@ class ResultantAppStateDetail(str, Enum): InstallingDependencies = "installingDependencies", # Application content was downloaded to the device. ContentDownloaded = "contentDownloaded", + # App enforcement is pending because the app is currently in use. + InUse = "inUse", + # App enforcement was deferred by the user because the app is currently in use. + Deferred = "deferred", + # App enforcement was automatically deferred because the app is currently in use and a user response was not available. + AutoDeferred = "autoDeferred", diff --git a/msgraph_beta/generated/models/risky_agent.py b/msgraph_beta/generated/models/risky_agent.py index c9310c7aca2..946bc40f72e 100644 --- a/msgraph_beta/generated/models/risky_agent.py +++ b/msgraph_beta/generated/models/risky_agent.py @@ -8,6 +8,7 @@ if TYPE_CHECKING: from .agent_identity_type import AgentIdentityType from .entity import Entity + from .risky_agent_discovered_agent_identity import RiskyAgentDiscoveredAgentIdentity from .risky_agent_identity import RiskyAgentIdentity from .risky_agent_identity_blueprint_principal import RiskyAgentIdentityBlueprintPrincipal from .risky_agent_user import RiskyAgentUser @@ -56,6 +57,10 @@ def create_from_discriminator_value(parse_node: ParseNode) -> RiskyAgent: mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None + if mapping_value and mapping_value.casefold() == "#microsoft.graph.riskyAgentDiscoveredAgentIdentity".casefold(): + from .risky_agent_discovered_agent_identity import RiskyAgentDiscoveredAgentIdentity + + return RiskyAgentDiscoveredAgentIdentity() if mapping_value and mapping_value.casefold() == "#microsoft.graph.riskyAgentIdentity".casefold(): from .risky_agent_identity import RiskyAgentIdentity @@ -77,6 +82,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: """ from .agent_identity_type import AgentIdentityType from .entity import Entity + from .risky_agent_discovered_agent_identity import RiskyAgentDiscoveredAgentIdentity from .risky_agent_identity import RiskyAgentIdentity from .risky_agent_identity_blueprint_principal import RiskyAgentIdentityBlueprintPrincipal from .risky_agent_user import RiskyAgentUser @@ -86,6 +92,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .agent_identity_type import AgentIdentityType from .entity import Entity + from .risky_agent_discovered_agent_identity import RiskyAgentDiscoveredAgentIdentity from .risky_agent_identity import RiskyAgentIdentity from .risky_agent_identity_blueprint_principal import RiskyAgentIdentityBlueprintPrincipal from .risky_agent_user import RiskyAgentUser diff --git a/msgraph_beta/generated/models/risky_agent_discovered_agent_identity.py b/msgraph_beta/generated/models/risky_agent_discovered_agent_identity.py new file mode 100644 index 00000000000..1e3aa44e59d --- /dev/null +++ b/msgraph_beta/generated/models/risky_agent_discovered_agent_identity.py @@ -0,0 +1,53 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .risky_agent import RiskyAgent + +from .risky_agent import RiskyAgent + +@dataclass +class RiskyAgentDiscoveredAgentIdentity(RiskyAgent, Parsable): + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RiskyAgentDiscoveredAgentIdentity: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: RiskyAgentDiscoveredAgentIdentity + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return RiskyAgentDiscoveredAgentIdentity() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .risky_agent import RiskyAgent + + from .risky_agent import RiskyAgent + + fields: dict[str, Callable[[Any], None]] = { + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + + diff --git a/msgraph_beta/generated/models/tenant_governance_services/role_template.py b/msgraph_beta/generated/models/role_template.py similarity index 92% rename from msgraph_beta/generated/models/tenant_governance_services/role_template.py rename to msgraph_beta/generated/models/role_template.py index f75a7fca841..943894d993b 100644 --- a/msgraph_beta/generated/models/tenant_governance_services/role_template.py +++ b/msgraph_beta/generated/models/role_template.py @@ -12,9 +12,9 @@ class RoleTemplate(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # The template ID of the Microsoft Entra role (e.g., 62e90394-69f5-4237-9190-012177145e10 for Global Administrator). + # The id property id: Optional[str] = None - # The display name of the role (e.g., 'Global Administrator', 'Helpdesk Administrator'). + # The name property name: Optional[str] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/sap_assignment_request_callback_data.py b/msgraph_beta/generated/models/sap_assignment_request_callback_data.py new file mode 100644 index 00000000000..64caa7d95e5 --- /dev/null +++ b/msgraph_beta/generated/models/sap_assignment_request_callback_data.py @@ -0,0 +1,65 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .custom_extension_data import CustomExtensionData + +from .custom_extension_data import CustomExtensionData + +@dataclass +class SapAssignmentRequestCallbackData(CustomExtensionData, Parsable): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.sapAssignmentRequestCallbackData" + # The detail property + detail: Optional[str] = None + # The requestNumber property + request_number: Optional[str] = None + # The state property + state: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> SapAssignmentRequestCallbackData: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: SapAssignmentRequestCallbackData + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return SapAssignmentRequestCallbackData() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .custom_extension_data import CustomExtensionData + + from .custom_extension_data import CustomExtensionData + + fields: dict[str, Callable[[Any], None]] = { + "detail": lambda n : setattr(self, 'detail', n.get_str_value()), + "requestNumber": lambda n : setattr(self, 'request_number', n.get_str_value()), + "state": lambda n : setattr(self, 'state', n.get_str_value()), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_str_value("detail", self.detail) + writer.write_str_value("requestNumber", self.request_number) + writer.write_str_value("state", self.state) + + diff --git a/msgraph_beta/generated/models/security/alert.py b/msgraph_beta/generated/models/security/alert.py index 4f0a4051262..2140fc13a2c 100644 --- a/msgraph_beta/generated/models/security/alert.py +++ b/msgraph_beta/generated/models/security/alert.py @@ -51,7 +51,7 @@ class Alert(Entity, Parsable): detection_source: Optional[DetectionSource] = None # The ID of the detector that triggered the alert. detector_id: Optional[str] = None - # Specifies the result of the investigation, whether the alert represents a true attack, and if so, the nature of the attack. The possible values are: unknown, apt, malware, securityPersonnel, securityTesting, unwantedSoftware, other, multiStagedAttack, compromisedAccount, phishing, maliciousUserActivity, notMalicious, notEnoughDataToValidate, confirmedUserActivity, lineOfBusinessApplication, unknownFutureValue. + # Specifies the result of the investigation, whether the alert represents a true attack, and if so, the nature of the attack. The possible values are: unknown, apt, malware, securityPersonnel, securityTesting, unwantedSoftware, other, multiStagedAttack, compromisedAccount, phishing, maliciousUserActivity, notMalicious, notEnoughDataToValidate, confirmedActivity, lineOfBusinessApplication, unknownFutureValue. determination: Optional[AlertDetermination] = None # Collection of evidence related to the alert. evidence: Optional[list[AlertEvidence]] = None diff --git a/msgraph_beta/generated/models/security/case_management/attachment.py b/msgraph_beta/generated/models/security/case_management/attachment.py index 240ffd43f85..a266854f732 100644 --- a/msgraph_beta/generated/models/security/case_management/attachment.py +++ b/msgraph_beta/generated/models/security/case_management/attachment.py @@ -15,15 +15,15 @@ class Attachment(CaseManagementEntity, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.security.caseManagement.attachment" - # The binary content stream for the attachment. + # The binary content stream for the attachment. Use the Upload content and Download content methods to access it. content: Optional[bytes] = None # The description of the attachment. description: Optional[str] = None # The display name of the attachment. display_name: Optional[str] = None - # The file extension of the attachment. + # The file extension of the attachment. The service normalizes the value to include a leading period. file_extension: Optional[str] = None - # The size of the attachment in bytes. + # The size of the attachment in bytes. The maximum file size is 100 MB. file_size: Optional[int] = None # The origin reference for the attachment. origin: Optional[AttachmentOrigin] = None diff --git a/msgraph_beta/generated/models/security/case_management/audit_log.py b/msgraph_beta/generated/models/security/case_management/audit_log.py index 561a1d19873..100a812cb88 100644 --- a/msgraph_beta/generated/models/security/case_management/audit_log.py +++ b/msgraph_beta/generated/models/security/case_management/audit_log.py @@ -20,7 +20,7 @@ class AuditLog(Activity, Parsable): action: Optional[AuditAction] = None # The target resource details for the audit activity. details: Optional[ActivityResourceDetails] = None - # The collection of property changes recorded in the audit log. + # The collection of property changes recorded in the audit log. Supports $filter. modified_properties: Optional[list[ModifiedProperty]] = None @staticmethod diff --git a/msgraph_beta/generated/models/security/case_management/case.py b/msgraph_beta/generated/models/security/case_management/case.py index e2e7ad5c83e..332b3fcb4c2 100644 --- a/msgraph_beta/generated/models/security/case_management/case.py +++ b/msgraph_beta/generated/models/security/case_management/case.py @@ -25,13 +25,13 @@ class Case(CaseManagementEntity, Parsable): activities: Optional[list[Activity]] = None # Evidence files and metadata associated with the case. Supports $expand. attachments: Optional[list[Attachment]] = None - # Tenant-defined custom field values keyed by custom field identifier. + # Tenant-defined custom field values keyed by the exact displayName of each custom field definition. The property and its dynamic fields don't support $filter. custom_fields: Optional[CustomFieldValues] = None - # The display name of the case. Supports $filter (eq, ne) and $orderby. + # The display name of the case. Supports $filter and $orderby. display_name: Optional[str] = None # Links from the case to related security resources. Supports $expand. relations: Optional[list[Relation]] = None - # The lifecycle status of the case, such as open, in progress, or closed. Supports $filter (eq, ne) and $orderby. + # The tenant-defined lifecycle status of the case. Use a displayName value returned in the status tree by List statuses from /security/caseManagement/caseTypeConfigurations/genericCase/statuses or /security/caseManagement/caseTypeConfigurations/incidentCase/statuses, depending on the case type. Supports $filter (eq). status: Optional[str] = None # Tasks used to track work required to resolve the case. Supports $expand. tasks: Optional[list[Task]] = None diff --git a/msgraph_beta/generated/models/security/case_management/comment.py b/msgraph_beta/generated/models/security/case_management/comment.py index 1a8317a7839..5115ab26b1a 100644 --- a/msgraph_beta/generated/models/security/case_management/comment.py +++ b/msgraph_beta/generated/models/security/case_management/comment.py @@ -13,7 +13,7 @@ class Comment(Activity, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.security.caseManagement.comment" - # The comment body. + # The comment body. Supports $filter. message: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/security/case_management/generic_case.py b/msgraph_beta/generated/models/security/case_management/generic_case.py index 7692be5166d..e5746b39f63 100644 --- a/msgraph_beta/generated/models/security/case_management/generic_case.py +++ b/msgraph_beta/generated/models/security/case_management/generic_case.py @@ -14,15 +14,15 @@ class GenericCase(Case, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.security.caseManagement.genericCase" - # The user assigned to the generic case. + # The user assigned to the generic case. Supports $filter and $orderby. assigned_to: Optional[str] = None - # Notes recorded when the generic case is closed. + # Notes recorded when the generic case is closed. Supports $filter. closing_notes: Optional[str] = None - # The description of the generic case. + # The description of the generic case. Supports $filter. description: Optional[str] = None - # The target completion date and time for the generic case. + # The target completion date and time for the generic case. Supports $filter. due_date_time: Optional[datetime.datetime] = None - # The priority assigned to the generic case. + # The priority assigned to the generic case. Possible values are: veryLow, low, medium, high, and critical. Supports $filter. priority: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/security/case_management/incident_case.py b/msgraph_beta/generated/models/security/case_management/incident_case.py index e7ab9a344f3..875c722202b 100644 --- a/msgraph_beta/generated/models/security/case_management/incident_case.py +++ b/msgraph_beta/generated/models/security/case_management/incident_case.py @@ -20,75 +20,75 @@ class IncidentCase(Case, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.security.caseManagement.incidentCase" - # The list of AI agent identifiers associated with the incident. + # The list of AI agent identifiers associated with the incident. Supports $filter. ai_agent_ids: Optional[list[str]] = None - # A summary of alert counts grouped by severity and status. + # A summary of alert counts grouped by severity and status. Supports $filter. alert_counts: Optional[AlertCounts] = None - # The list of alert policy identifiers associated with the incident. + # The list of alert policy identifiers associated with the incident. Supports $filter. alert_policy_ids: Optional[list[str]] = None - # The user assigned to investigate the incident case. + # The user assigned to investigate the incident case. Supports $filter and $orderby. assigned_to: Optional[str] = None - # The list of threat identifiers associated with the incident. + # The list of threat identifiers associated with the incident. Supports $filter. associated_threat_ids: Optional[list[str]] = None - # The incident categories. + # The incident categories. Supports $filter. categories: Optional[list[str]] = None # The classification property classification: Optional[IncidentClassification] = None - # The cloud scopes associated with the incident. + # The cloud scopes associated with the incident. Supports $filter. cloud_scopes: Optional[list[str]] = None - # The data sensitivity labels associated with the incident. + # The data sensitivity labels associated with the incident. Supports $filter. data_sensitivity_labels: Optional[list[str]] = None - # The data streams associated with the incident. + # The data streams associated with the incident. Supports $filter. data_streams: Optional[list[str]] = None - # The detection sources that identified the incident. + # The detection sources that identified the incident. Supports $filter. detection_sources: Optional[list[str]] = None # The determination property determination: Optional[IncidentDetermination] = None - # The target completion date and time for the incident case. + # The target completion date and time for the incident case. Supports $filter. due_date_time: Optional[datetime.datetime] = None - # The email notification recipients for the incident case. + # The email notification recipients for the incident case. Supports $filter. email_notification_recipients: Optional[list[str]] = None - # The date and time of the first event in the incident. + # The date and time of the first event in the incident. Supports $filter. first_event_time: Optional[datetime.datetime] = None - # A summary of impacted asset counts for the incident. + # A summary of impacted asset counts for the incident. Supports $filter. impacted_assets: Optional[ImpactedAssetsCounts] = None - # The Microsoft Security incident identifier. + # The Microsoft Security incident identifier. Supports $filter. incident_id: Optional[int] = None - # The URL for the incident in the Microsoft Defender portal. + # The URL for the incident in the Microsoft Defender portal. Supports $filter. incident_web_url: Optional[str] = None - # A summary of investigation details associated with the incident. + # A summary of investigation details associated with the incident. Supports $filter. investigation: Optional[Investigation] = None - # The list of investigation identifiers associated with the incident. + # The list of investigation identifiers associated with the incident. Supports $filter. investigation_ids: Optional[list[str]] = None - # The list of investigation states associated with the incident. + # The list of investigation states associated with the incident. Supports $filter. investigation_states: Optional[list[str]] = None - # The date and time of the most recent event in the incident. + # The date and time of the most recent event in the incident. Supports $filter. last_event_time: Optional[datetime.datetime] = None - # The list of machine group identifiers associated with the incident. + # The list of machine group identifiers associated with the incident. Supports $filter. machine_group_ids: Optional[list[str]] = None - # The operating system platforms associated with the incident. + # The operating system platforms associated with the incident. Supports $filter. os_platforms: Optional[list[str]] = None - # The policy names associated with the incident. + # The policy names associated with the incident. Supports $filter. policy_names: Optional[list[str]] = None - # The priority score assigned to the incident. + # The priority score assigned to the incident. Supports $filter. priority_score: Optional[int] = None - # The product names associated with the incident. + # The product names associated with the incident. Supports $filter. product_names: Optional[list[str]] = None - # The case identifier to which this case redirects when merged. + # The redirectCaseId property redirect_case_id: Optional[int] = None - # The incident identifier to which this incident redirects when merged. + # The redirectIncidentId property redirect_incident_id: Optional[int] = None - # The service sources associated with the incident. + # The service sources associated with the incident. Supports $filter. service_sources: Optional[list[str]] = None # The severity property severity: Optional[IncidentSeverity] = None - # A summary of the incident. + # A summary of the incident. Supports $filter. summary: Optional[str] = None - # The system tags associated with the incident. + # The system tags associated with the incident. Supports $filter. system_tags: Optional[list[str]] = None - # The top risk score associated with the incident. + # The top risk score associated with the incident. Supports $filter. top_risk_score: Optional[int] = None - # The list of workspace identifiers associated with the incident. + # The list of workspace identifiers associated with the incident. Supports $filter. workspace_ids: Optional[list[str]] = None @staticmethod diff --git a/msgraph_beta/generated/models/security/case_management/task.py b/msgraph_beta/generated/models/security/case_management/task.py index b7fe17627d7..6a669001c9f 100644 --- a/msgraph_beta/generated/models/security/case_management/task.py +++ b/msgraph_beta/generated/models/security/case_management/task.py @@ -17,17 +17,17 @@ class Task(CaseManagementEntity, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.security.caseManagement.task" - # The user assigned to the task. + # The user assigned to the task. Supports $filter. assigned_to: Optional[str] = None # The category property category: Optional[CaseTaskCategory] = None - # Notes recorded when the task is completed. + # Notes recorded when the task is completed. Supports $filter. closing_notes: Optional[str] = None - # The description of the task. + # The description of the task. Supports $filter. description: Optional[str] = None - # The title of the task. + # The title of the task. Supports $filter. display_name: Optional[str] = None - # The target completion date and time for the task. + # The target completion date and time for the task. Supports $filter. due_date_time: Optional[datetime.datetime] = None # The priority property priority: Optional[CaseTaskPriority] = None diff --git a/msgraph_beta/generated/models/security/case_management_root.py b/msgraph_beta/generated/models/security/case_management_root.py index 59ccd04db6a..1cd91a64072 100644 --- a/msgraph_beta/generated/models/security/case_management_root.py +++ b/msgraph_beta/generated/models/security/case_management_root.py @@ -15,7 +15,7 @@ class CaseManagementRoot(Entity, Parsable): # The collection of case type configurations that define the statuses and custom fields available for each case type. Read-only. Supports $select, $count, and $expand of the statuses and customFields relationships. case_type_configurations: Optional[list[CaseTypeConfiguration]] = None - # The collection of security cases managed through the case management entry point. Supports $filter, $orderby, $select, $top, $skip, and $count. + # The collection of security cases managed through the case management entry point. Supports $filter, $orderby, $select, $top, and $skip. cases: Optional[list[Case]] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/security/create_alert_input.py b/msgraph_beta/generated/models/security/create_alert_input.py new file mode 100644 index 00000000000..63ec10ceacb --- /dev/null +++ b/msgraph_beta/generated/models/security/create_alert_input.py @@ -0,0 +1,100 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .alert_severity import AlertSeverity + from .entity_definition import EntityDefinition + +@dataclass +class CreateAlertInput(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # MITRE ATT&CK category for the alert. + category: Optional[str] = None + # Free-text explanation of the suspicious activity or policy violation. + description: Optional[str] = None + # Inline entity definitions that associate entities with the alert. + entity_definitions: Optional[list[EntityDefinition]] = None + # Whether the alert is excluded from automatic correlation. Defaults to false. + is_excluded_from_correlation: Optional[bool] = None + # Incident ID to link the alert to. Use 0 or omit the value to create a new incident. + link_to_incident: Optional[int] = None + # MITRE ATT&CK technique identifiers associated with the alert. + mitre_techniques: Optional[list[str]] = None + # The OdataType property + odata_type: Optional[str] = None + # Recommended remediation actions for the alert. + recommended_actions: Optional[str] = None + # Microsoft Sentinel workspace identifier used for workspace routing. + sentinel_workspace: Optional[str] = None + # The severity property + severity: Optional[AlertSeverity] = None + # Short display name shown for the alert in the Defender portal. + title: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> CreateAlertInput: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: CreateAlertInput + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return CreateAlertInput() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .alert_severity import AlertSeverity + from .entity_definition import EntityDefinition + + from .alert_severity import AlertSeverity + from .entity_definition import EntityDefinition + + fields: dict[str, Callable[[Any], None]] = { + "category": lambda n : setattr(self, 'category', n.get_str_value()), + "description": lambda n : setattr(self, 'description', n.get_str_value()), + "entityDefinitions": lambda n : setattr(self, 'entity_definitions', n.get_collection_of_object_values(EntityDefinition)), + "isExcludedFromCorrelation": lambda n : setattr(self, 'is_excluded_from_correlation', n.get_bool_value()), + "linkToIncident": lambda n : setattr(self, 'link_to_incident', n.get_int_value()), + "mitreTechniques": lambda n : setattr(self, 'mitre_techniques', n.get_collection_of_primitive_values(str)), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "recommendedActions": lambda n : setattr(self, 'recommended_actions', n.get_str_value()), + "sentinelWorkspace": lambda n : setattr(self, 'sentinel_workspace', n.get_str_value()), + "severity": lambda n : setattr(self, 'severity', n.get_enum_value(AlertSeverity)), + "title": lambda n : setattr(self, 'title', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("category", self.category) + writer.write_str_value("description", self.description) + writer.write_collection_of_object_values("entityDefinitions", self.entity_definitions) + writer.write_bool_value("isExcludedFromCorrelation", self.is_excluded_from_correlation) + writer.write_int_value("linkToIncident", self.link_to_incident) + writer.write_collection_of_primitive_values("mitreTechniques", self.mitre_techniques) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_str_value("recommendedActions", self.recommended_actions) + writer.write_str_value("sentinelWorkspace", self.sentinel_workspace) + writer.write_enum_value("severity", self.severity) + writer.write_str_value("title", self.title) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/security/entity_definition.py b/msgraph_beta/generated/models/security/entity_definition.py new file mode 100644 index 00000000000..e35eb2eeead --- /dev/null +++ b/msgraph_beta/generated/models/security/entity_definition.py @@ -0,0 +1,76 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .entity_definition_input_role import EntityDefinitionInputRole + from .manual_alert_entity_type import ManualAlertEntityType + +@dataclass +class EntityDefinition(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The identifier kind for the selected entity type, such as userPrincipalName, deviceId, or address. + entity_identifier: Optional[str] = None + # The entityType property + entity_type: Optional[ManualAlertEntityType] = None + # The value for the selected entity identifier. + identifier_value: Optional[str] = None + # The OdataType property + odata_type: Optional[str] = None + # The role property + role: Optional[EntityDefinitionInputRole] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> EntityDefinition: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: EntityDefinition + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return EntityDefinition() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .entity_definition_input_role import EntityDefinitionInputRole + from .manual_alert_entity_type import ManualAlertEntityType + + from .entity_definition_input_role import EntityDefinitionInputRole + from .manual_alert_entity_type import ManualAlertEntityType + + fields: dict[str, Callable[[Any], None]] = { + "entityIdentifier": lambda n : setattr(self, 'entity_identifier', n.get_str_value()), + "entityType": lambda n : setattr(self, 'entity_type', n.get_enum_value(ManualAlertEntityType)), + "identifierValue": lambda n : setattr(self, 'identifier_value', n.get_str_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "role": lambda n : setattr(self, 'role', n.get_enum_value(EntityDefinitionInputRole)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("entityIdentifier", self.entity_identifier) + writer.write_enum_value("entityType", self.entity_type) + writer.write_str_value("identifierValue", self.identifier_value) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_enum_value("role", self.role) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/security/incident.py b/msgraph_beta/generated/models/security/incident.py index 6fee67ef590..b04208a1cff 100644 --- a/msgraph_beta/generated/models/security/incident.py +++ b/msgraph_beta/generated/models/security/incident.py @@ -33,7 +33,7 @@ class Incident(Entity, Parsable): custom_tags: Optional[list[str]] = None # Description of the incident. description: Optional[str] = None - # Specifies the determination of the incident. The possible values are: unknown, apt, malware, securityPersonnel, securityTesting, unwantedSoftware, other, multiStagedAttack, compromisedUser, phishing, maliciousUserActivity, clean, insufficientData, confirmedUserActivity, lineOfBusinessApplication, unknownFutureValue. + # Specifies the determination of the incident. The possible values are: unknown, apt, malware, securityPersonnel, securityTesting, unwantedSoftware, other, multiStagedAttack, compromisedUser, phishing, maliciousUserActivity, clean, insufficientData, confirmedActivity, lineOfBusinessApplication, unknownFutureValue. determination: Optional[AlertDetermination] = None # The incident name. display_name: Optional[str] = None diff --git a/msgraph_beta/generated/models/service_principal.py b/msgraph_beta/generated/models/service_principal.py index 6c79038ef15..305c4d1fa2b 100644 --- a/msgraph_beta/generated/models/service_principal.py +++ b/msgraph_beta/generated/models/service_principal.py @@ -21,6 +21,7 @@ from .endpoint import Endpoint from .federated_identity_credential import FederatedIdentityCredential from .home_realm_discovery_policy import HomeRealmDiscoveryPolicy + from .identity_governance.identity_lifecycle import IdentityLifecycle from .informational_url import InformationalUrl from .key_credential import KeyCredential from .license_details import LicenseDetails @@ -104,6 +105,8 @@ class ServicePrincipal(DirectoryObject, Parsable): key_credentials: Optional[list[KeyCredential]] = None # The licenseDetails property license_details: Optional[list[LicenseDetails]] = None + # The lifecycle property + lifecycle: Optional[IdentityLifecycle] = None # Specifies the URL where the service provider redirects the user to Microsoft Entra ID to authenticate. Microsoft Entra ID uses the URL to launch the application from Microsoft 365 or the Microsoft Entra My Apps. When blank, Microsoft Entra ID performs IdP-initiated sign-on for applications configured with SAML-based single sign-on. The user launches the application from Microsoft 365, the Microsoft Entra My Apps, or the Microsoft Entra SSO URL. login_url: Optional[str] = None # Specifies the URL that the Microsoft's authorization service uses to sign out a user using OpenId Connect front-channel, back-channel, or SAML sign out protocols. @@ -208,6 +211,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .endpoint import Endpoint from .federated_identity_credential import FederatedIdentityCredential from .home_realm_discovery_policy import HomeRealmDiscoveryPolicy + from .identity_governance.identity_lifecycle import IdentityLifecycle from .informational_url import InformationalUrl from .key_credential import KeyCredential from .license_details import LicenseDetails @@ -237,6 +241,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .endpoint import Endpoint from .federated_identity_credential import FederatedIdentityCredential from .home_realm_discovery_policy import HomeRealmDiscoveryPolicy + from .identity_governance.identity_lifecycle import IdentityLifecycle from .informational_url import InformationalUrl from .key_credential import KeyCredential from .license_details import LicenseDetails @@ -284,6 +289,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: "isDisabled": lambda n : setattr(self, 'is_disabled', n.get_bool_value()), "keyCredentials": lambda n : setattr(self, 'key_credentials', n.get_collection_of_object_values(KeyCredential)), "licenseDetails": lambda n : setattr(self, 'license_details', n.get_collection_of_object_values(LicenseDetails)), + "lifecycle": lambda n : setattr(self, 'lifecycle', n.get_object_value(IdentityLifecycle)), "loginUrl": lambda n : setattr(self, 'login_url', n.get_str_value()), "logoutUrl": lambda n : setattr(self, 'logout_url', n.get_str_value()), "memberOf": lambda n : setattr(self, 'member_of', n.get_collection_of_object_values(DirectoryObject)), @@ -359,6 +365,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_bool_value("isDisabled", self.is_disabled) writer.write_collection_of_object_values("keyCredentials", self.key_credentials) writer.write_collection_of_object_values("licenseDetails", self.license_details) + writer.write_object_value("lifecycle", self.lifecycle) writer.write_str_value("loginUrl", self.login_url) writer.write_str_value("logoutUrl", self.logout_url) writer.write_collection_of_object_values("memberOf", self.member_of) diff --git a/msgraph_beta/generated/models/subject_set.py b/msgraph_beta/generated/models/subject_set.py index e4f4348340f..c5768f767cc 100644 --- a/msgraph_beta/generated/models/subject_set.py +++ b/msgraph_beta/generated/models/subject_set.py @@ -6,8 +6,11 @@ from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: + from .identity_governance.all_excluding_groups_subject_set import AllExcludingGroupsSubjectSet + from .identity_governance.all_excluding_specific_objects_subject_set import AllExcludingSpecificObjectsSubjectSet from .identity_governance.group_based_subject_set import GroupBasedSubjectSet from .identity_governance.rule_based_subject_set import RuleBasedSubjectSet + from .identity_governance.selected_objects_subject_set import SelectedObjectsSubjectSet @dataclass class SubjectSet(AdditionalDataHolder, BackedModel, Parsable): @@ -33,6 +36,14 @@ def create_from_discriminator_value(parse_node: ParseNode) -> SubjectSet: mapping_value = child_node.get_str_value() if child_node else None except AttributeError: mapping_value = None + if mapping_value and mapping_value.casefold() == "#microsoft.graph.identityGovernance.allExcludingGroupsSubjectSet".casefold(): + from .identity_governance.all_excluding_groups_subject_set import AllExcludingGroupsSubjectSet + + return AllExcludingGroupsSubjectSet() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.identityGovernance.allExcludingSpecificObjectsSubjectSet".casefold(): + from .identity_governance.all_excluding_specific_objects_subject_set import AllExcludingSpecificObjectsSubjectSet + + return AllExcludingSpecificObjectsSubjectSet() if mapping_value and mapping_value.casefold() == "#microsoft.graph.identityGovernance.groupBasedSubjectSet".casefold(): from .identity_governance.group_based_subject_set import GroupBasedSubjectSet @@ -41,6 +52,10 @@ def create_from_discriminator_value(parse_node: ParseNode) -> SubjectSet: from .identity_governance.rule_based_subject_set import RuleBasedSubjectSet return RuleBasedSubjectSet() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.identityGovernance.selectedObjectsSubjectSet".casefold(): + from .identity_governance.selected_objects_subject_set import SelectedObjectsSubjectSet + + return SelectedObjectsSubjectSet() return SubjectSet() def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: @@ -48,11 +63,17 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ + from .identity_governance.all_excluding_groups_subject_set import AllExcludingGroupsSubjectSet + from .identity_governance.all_excluding_specific_objects_subject_set import AllExcludingSpecificObjectsSubjectSet from .identity_governance.group_based_subject_set import GroupBasedSubjectSet from .identity_governance.rule_based_subject_set import RuleBasedSubjectSet + from .identity_governance.selected_objects_subject_set import SelectedObjectsSubjectSet + from .identity_governance.all_excluding_groups_subject_set import AllExcludingGroupsSubjectSet + from .identity_governance.all_excluding_specific_objects_subject_set import AllExcludingSpecificObjectsSubjectSet from .identity_governance.group_based_subject_set import GroupBasedSubjectSet from .identity_governance.rule_based_subject_set import RuleBasedSubjectSet + from .identity_governance.selected_objects_subject_set import SelectedObjectsSubjectSet fields: dict[str, Callable[[Any], None]] = { "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), diff --git a/msgraph_beta/generated/models/tenant_governance_services/tenant_governance.py b/msgraph_beta/generated/models/tenant_governance.py similarity index 83% rename from msgraph_beta/generated/models/tenant_governance_services/tenant_governance.py rename to msgraph_beta/generated/models/tenant_governance.py index 2180badef54..7c6e346a0ee 100644 --- a/msgraph_beta/generated/models/tenant_governance_services/tenant_governance.py +++ b/msgraph_beta/generated/models/tenant_governance.py @@ -5,31 +5,31 @@ from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from ..entity import Entity + from .entity import Entity from .governance_invitation import GovernanceInvitation - from .governance_policy_template import GovernancePolicyTemplate from .governance_relationship import GovernanceRelationship from .governance_request import GovernanceRequest from .related_tenant import RelatedTenant + from .tenant_governance_policy_template import TenantGovernancePolicyTemplate from .tenant_governance_setting import TenantGovernanceSetting -from ..entity import Entity +from .entity import Entity @dataclass class TenantGovernance(Entity, Parsable): - # Collection of governance invitations associated with the tenant. + # The governanceInvitations property governance_invitations: Optional[list[GovernanceInvitation]] = None - # Collection of governance policy templates associated with the tenant. - governance_policy_templates: Optional[list[GovernancePolicyTemplate]] = None - # Collection of governance relationships associated with the tenant. + # The governancePolicyTemplates property + governance_policy_templates: Optional[list[TenantGovernancePolicyTemplate]] = None + # The governanceRelationships property governance_relationships: Optional[list[GovernanceRelationship]] = None - # Collection of governance requests associated with the tenant. + # The governanceRequests property governance_requests: Optional[list[GovernanceRequest]] = None # The OdataType property odata_type: Optional[str] = None - # Collection of related tenants associated with the tenant. + # The relatedTenants property related_tenants: Optional[list[RelatedTenant]] = None - # Settings for the tenant governance container. + # The settings property settings: Optional[TenantGovernanceSetting] = None @staticmethod @@ -48,25 +48,25 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ - from ..entity import Entity + from .entity import Entity from .governance_invitation import GovernanceInvitation - from .governance_policy_template import GovernancePolicyTemplate from .governance_relationship import GovernanceRelationship from .governance_request import GovernanceRequest from .related_tenant import RelatedTenant + from .tenant_governance_policy_template import TenantGovernancePolicyTemplate from .tenant_governance_setting import TenantGovernanceSetting - from ..entity import Entity + from .entity import Entity from .governance_invitation import GovernanceInvitation - from .governance_policy_template import GovernancePolicyTemplate from .governance_relationship import GovernanceRelationship from .governance_request import GovernanceRequest from .related_tenant import RelatedTenant + from .tenant_governance_policy_template import TenantGovernancePolicyTemplate from .tenant_governance_setting import TenantGovernanceSetting fields: dict[str, Callable[[Any], None]] = { "governanceInvitations": lambda n : setattr(self, 'governance_invitations', n.get_collection_of_object_values(GovernanceInvitation)), - "governancePolicyTemplates": lambda n : setattr(self, 'governance_policy_templates', n.get_collection_of_object_values(GovernancePolicyTemplate)), + "governancePolicyTemplates": lambda n : setattr(self, 'governance_policy_templates', n.get_collection_of_object_values(TenantGovernancePolicyTemplate)), "governanceRelationships": lambda n : setattr(self, 'governance_relationships', n.get_collection_of_object_values(GovernanceRelationship)), "governanceRequests": lambda n : setattr(self, 'governance_requests', n.get_collection_of_object_values(GovernanceRequest)), "relatedTenants": lambda n : setattr(self, 'related_tenants', n.get_collection_of_object_values(RelatedTenant)), diff --git a/msgraph_beta/generated/models/tenant_governance_services/governance_policy_template.py b/msgraph_beta/generated/models/tenant_governance_policy_template.py similarity index 76% rename from msgraph_beta/generated/models/tenant_governance_services/governance_policy_template.py rename to msgraph_beta/generated/models/tenant_governance_policy_template.py index fec5c4e4a29..7cfa259db00 100644 --- a/msgraph_beta/generated/models/tenant_governance_services/governance_policy_template.py +++ b/msgraph_beta/generated/models/tenant_governance_policy_template.py @@ -6,55 +6,55 @@ from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from ..entity import Entity from .delegated_administration_role_assignment import DelegatedAdministrationRoleAssignment + from .entity import Entity from .multi_tenant_applications_to_provision import MultiTenantApplicationsToProvision -from ..entity import Entity +from .entity import Entity @dataclass -class GovernancePolicyTemplate(Entity, Parsable): - # The date and time when the template was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. +class TenantGovernancePolicyTemplate(Entity, Parsable): + # The createdDateTime property created_date_time: Optional[datetime.datetime] = None - # A collection of delegated administration role assignments to be applied in the governed tenant when the governance relationship is established. + # The delegatedAdministrationRoleAssignments property delegated_administration_role_assignments: Optional[list[DelegatedAdministrationRoleAssignment]] = None - # A description of the policy template. Supports $filter (eq, ne) and $orderBy. + # The description property description: Optional[str] = None - # The display name of the policy template. Supports $filter (eq, ne) and $orderBy. + # The displayName property display_name: Optional[str] = None - # Not implemented. + # The governedTenantCanTerminate property governed_tenant_can_terminate: Optional[bool] = None - # The date and time when the template was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. + # The lastModifiedDateTime property last_modified_date_time: Optional[datetime.datetime] = None - # A collection of multi-tenant applications to be provisioned in the governed tenant when the governance relationship is established. + # The multiTenantApplicationsToProvision property multi_tenant_applications_to_provision: Optional[list[MultiTenantApplicationsToProvision]] = None # The OdataType property odata_type: Optional[str] = None - # The version of the policy template. Version count increased by 1 when updated. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. + # The version property version: Optional[str] = None @staticmethod - def create_from_discriminator_value(parse_node: ParseNode) -> GovernancePolicyTemplate: + def create_from_discriminator_value(parse_node: ParseNode) -> TenantGovernancePolicyTemplate: """ Creates a new instance of the appropriate class based on discriminator value param parse_node: The parse node to use to read the discriminator value and create the object - Returns: GovernancePolicyTemplate + Returns: TenantGovernancePolicyTemplate """ if parse_node is None: raise TypeError("parse_node cannot be null.") - return GovernancePolicyTemplate() + return TenantGovernancePolicyTemplate() def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: """ The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ - from ..entity import Entity from .delegated_administration_role_assignment import DelegatedAdministrationRoleAssignment + from .entity import Entity from .multi_tenant_applications_to_provision import MultiTenantApplicationsToProvision - from ..entity import Entity from .delegated_administration_role_assignment import DelegatedAdministrationRoleAssignment + from .entity import Entity from .multi_tenant_applications_to_provision import MultiTenantApplicationsToProvision fields: dict[str, Callable[[Any], None]] = { diff --git a/msgraph_beta/generated/models/tenant_governance_policy_template_collection_response.py b/msgraph_beta/generated/models/tenant_governance_policy_template_collection_response.py new file mode 100644 index 00000000000..685e538ea70 --- /dev/null +++ b/msgraph_beta/generated/models/tenant_governance_policy_template_collection_response.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .tenant_governance_policy_template import TenantGovernancePolicyTemplate + +from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class TenantGovernancePolicyTemplateCollectionResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[list[TenantGovernancePolicyTemplate]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> TenantGovernancePolicyTemplateCollectionResponse: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: TenantGovernancePolicyTemplateCollectionResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return TenantGovernancePolicyTemplateCollectionResponse() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .tenant_governance_policy_template import TenantGovernancePolicyTemplate + + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .tenant_governance_policy_template import TenantGovernancePolicyTemplate + + fields: dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(TenantGovernancePolicyTemplate)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/models/tenant_governance_services/long_running_operation.py b/msgraph_beta/generated/models/tenant_governance_services/long_running_operation.py deleted file mode 100644 index 1b6694813c5..00000000000 --- a/msgraph_beta/generated/models/tenant_governance_services/long_running_operation.py +++ /dev/null @@ -1,77 +0,0 @@ -from __future__ import annotations -import datetime -from collections.abc import Callable -from dataclasses import dataclass, field -from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter -from typing import Any, Optional, TYPE_CHECKING, Union - -if TYPE_CHECKING: - from ..entity import Entity - from .long_running_operation_status import LongRunningOperationStatus - -from ..entity import Entity - -@dataclass -class LongRunningOperation(Entity, Parsable): - # The createdDateTime property - created_date_time: Optional[datetime.datetime] = None - # The lastActionDateTime property - last_action_date_time: Optional[datetime.datetime] = None - # The OdataType property - odata_type: Optional[str] = None - # The resourceLocation property - resource_location: Optional[str] = None - # The status property - status: Optional[LongRunningOperationStatus] = None - # The statusDetail property - status_detail: Optional[str] = None - - @staticmethod - def create_from_discriminator_value(parse_node: ParseNode) -> LongRunningOperation: - """ - Creates a new instance of the appropriate class based on discriminator value - param parse_node: The parse node to use to read the discriminator value and create the object - Returns: LongRunningOperation - """ - if parse_node is None: - raise TypeError("parse_node cannot be null.") - return LongRunningOperation() - - def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: - """ - The deserialization information for the current model - Returns: dict[str, Callable[[ParseNode], None]] - """ - from ..entity import Entity - from .long_running_operation_status import LongRunningOperationStatus - - from ..entity import Entity - from .long_running_operation_status import LongRunningOperationStatus - - fields: dict[str, Callable[[Any], None]] = { - "createdDateTime": lambda n : setattr(self, 'created_date_time', n.get_datetime_value()), - "lastActionDateTime": lambda n : setattr(self, 'last_action_date_time', n.get_datetime_value()), - "resourceLocation": lambda n : setattr(self, 'resource_location', n.get_str_value()), - "status": lambda n : setattr(self, 'status', n.get_enum_value(LongRunningOperationStatus)), - "statusDetail": lambda n : setattr(self, 'status_detail', n.get_str_value()), - } - super_fields = super().get_field_deserializers() - fields.update(super_fields) - return fields - - def serialize(self,writer: SerializationWriter) -> None: - """ - Serializes information the current object - param writer: Serialization writer to use to serialize this model - Returns: None - """ - if writer is None: - raise TypeError("writer cannot be null.") - super().serialize(writer) - writer.write_datetime_value("createdDateTime", self.created_date_time) - writer.write_datetime_value("lastActionDateTime", self.last_action_date_time) - writer.write_str_value("resourceLocation", self.resource_location) - writer.write_enum_value("status", self.status) - writer.write_str_value("statusDetail", self.status_detail) - - diff --git a/msgraph_beta/generated/models/tenant_governance_services/long_running_operation_status.py b/msgraph_beta/generated/models/tenant_governance_services/long_running_operation_status.py deleted file mode 100644 index 5728cf1cd65..00000000000 --- a/msgraph_beta/generated/models/tenant_governance_services/long_running_operation_status.py +++ /dev/null @@ -1,9 +0,0 @@ -from enum import Enum - -class LongRunningOperationStatus(str, Enum): - NotStarted = "notStarted", - Running = "running", - Succeeded = "succeeded", - Failed = "failed", - UnknownFutureValue = "unknownFutureValue", - diff --git a/msgraph_beta/generated/models/tenant_governance_services/tenant_governance_setting.py b/msgraph_beta/generated/models/tenant_governance_setting.py similarity index 77% rename from msgraph_beta/generated/models/tenant_governance_services/tenant_governance_setting.py rename to msgraph_beta/generated/models/tenant_governance_setting.py index 5b3b810aaaf..15f0837be91 100644 --- a/msgraph_beta/generated/models/tenant_governance_services/tenant_governance_setting.py +++ b/msgraph_beta/generated/models/tenant_governance_setting.py @@ -5,15 +5,15 @@ from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from ..entity import Entity + from .entity import Entity -from ..entity import Entity +from .entity import Entity @dataclass class TenantGovernanceSetting(Entity, Parsable): - # Indicates whether the tenant can receive governance invitations. When set to false, the tenant cannot receive new governance invitations. When set to true, other tenants can send your tenant invitations by providing your tenant id or domain name. Default value is false. + # The canReceiveInvitations property can_receive_invitations: Optional[bool] = None - # Indicates whether the related tenants feature is enabled for tenant discovery. When set to false, related tenant APIs don't work. This property can be enabled by calling the enableRelatedTenants action. Default value is false. + # The isRelatedTenantsEnabled property is_related_tenants_enabled: Optional[bool] = None # The OdataType property odata_type: Optional[str] = None @@ -34,9 +34,9 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ - from ..entity import Entity + from .entity import Entity - from ..entity import Entity + from .entity import Entity fields: dict[str, Callable[[Any], None]] = { "canReceiveInvitations": lambda n : setattr(self, 'can_receive_invitations', n.get_bool_value()), diff --git a/msgraph_beta/generated/models/text_classification_request.py b/msgraph_beta/generated/models/text_classification_request.py index 810512b0075..718a9f92dc3 100644 --- a/msgraph_beta/generated/models/text_classification_request.py +++ b/msgraph_beta/generated/models/text_classification_request.py @@ -6,6 +6,7 @@ if TYPE_CHECKING: from .classification_request_content_meta_data import ClassificationRequestContentMetaData + from .embedding_input import EmbeddingInput from .entity import Entity from .ml_classification_match_tolerance import MlClassificationMatchTolerance from .sensitive_type_scope import SensitiveTypeScope @@ -16,6 +17,8 @@ class TextClassificationRequest(Entity, Parsable): # Metadata that describes the content being classified. content_meta_data: Optional[ClassificationRequestContentMetaData] = None + # Optional caller-supplied precomputed embeddings for the text, so the service can skip recomputing them. Embeddings for models outside the allow-list are rejected with a 400. + embeddings: Optional[list[EmbeddingInput]] = None # The file extension of the content being classified. file_extension: Optional[str] = None # The match tolerance levels to include in the classification results. The possible values are: exact, near. @@ -46,17 +49,20 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: Returns: dict[str, Callable[[ParseNode], None]] """ from .classification_request_content_meta_data import ClassificationRequestContentMetaData + from .embedding_input import EmbeddingInput from .entity import Entity from .ml_classification_match_tolerance import MlClassificationMatchTolerance from .sensitive_type_scope import SensitiveTypeScope from .classification_request_content_meta_data import ClassificationRequestContentMetaData + from .embedding_input import EmbeddingInput from .entity import Entity from .ml_classification_match_tolerance import MlClassificationMatchTolerance from .sensitive_type_scope import SensitiveTypeScope fields: dict[str, Callable[[Any], None]] = { "contentMetaData": lambda n : setattr(self, 'content_meta_data', n.get_object_value(ClassificationRequestContentMetaData)), + "embeddings": lambda n : setattr(self, 'embeddings', n.get_collection_of_object_values(EmbeddingInput)), "fileExtension": lambda n : setattr(self, 'file_extension', n.get_str_value()), "matchTolerancesToInclude": lambda n : setattr(self, 'match_tolerances_to_include', n.get_collection_of_enum_values(MlClassificationMatchTolerance)), "scopesToRun": lambda n : setattr(self, 'scopes_to_run', n.get_collection_of_enum_values(SensitiveTypeScope)), @@ -77,6 +83,7 @@ def serialize(self,writer: SerializationWriter) -> None: raise TypeError("writer cannot be null.") super().serialize(writer) writer.write_object_value("contentMetaData", self.content_meta_data) + writer.write_collection_of_object_values("embeddings", self.embeddings) writer.write_str_value("fileExtension", self.file_extension) writer.write_enum_value("matchTolerancesToInclude", self.match_tolerances_to_include) writer.write_enum_value("scopesToRun", self.scopes_to_run) diff --git a/msgraph_beta/generated/models/user_activity_types.py b/msgraph_beta/generated/models/user_activity_types.py index e5cadb29edf..c38dcd6562a 100644 --- a/msgraph_beta/generated/models/user_activity_types.py +++ b/msgraph_beta/generated/models/user_activity_types.py @@ -11,4 +11,5 @@ class UserActivityTypes(str, Enum): PasteFromClipboard = "pasteFromClipboard", Print = "print", AccessDebugTools = "accessDebugTools", + ContentFiltering = "contentFiltering", diff --git a/msgraph_beta/generated/models/windows_managed_app_data_transfer_level.py b/msgraph_beta/generated/models/windows_managed_app_data_transfer_level.py index 487fd98ad3e..829a4c77411 100644 --- a/msgraph_beta/generated/models/windows_managed_app_data_transfer_level.py +++ b/msgraph_beta/generated/models/windows_managed_app_data_transfer_level.py @@ -5,4 +5,8 @@ class WindowsManagedAppDataTransferLevel(str, Enum): AllApps = "allApps", # No apps. None_ = "none", + # Selected apps only. Allowed locations are specified by the child property. + SelectedApps = "selectedApps", + # Evolvable enumeration sentinel value. Do not use. + UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/windows_managed_app_data_transfer_locations.py b/msgraph_beta/generated/models/windows_managed_app_data_transfer_locations.py new file mode 100644 index 00000000000..6b9f825d997 --- /dev/null +++ b/msgraph_beta/generated/models/windows_managed_app_data_transfer_locations.py @@ -0,0 +1,10 @@ +from enum import Enum + +class WindowsManagedAppDataTransferLocations(str, Enum): + # No locations selected. + None_ = "none", + # OneDrive for Business. Data transferred to or from this location is subject to app protection policy. + OneDriveForBusiness = "oneDriveForBusiness", + # Evolvable enumeration sentinel value. Do not use. + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/windows_managed_app_protection.py b/msgraph_beta/generated/models/windows_managed_app_protection.py index afd810ca8f4..eb35f08f243 100644 --- a/msgraph_beta/generated/models/windows_managed_app_protection.py +++ b/msgraph_beta/generated/models/windows_managed_app_protection.py @@ -14,6 +14,7 @@ from .targeted_managed_app_policy_assignment import TargetedManagedAppPolicyAssignment from .windows_managed_app_clipboard_sharing_level import WindowsManagedAppClipboardSharingLevel from .windows_managed_app_data_transfer_level import WindowsManagedAppDataTransferLevel + from .windows_managed_app_data_transfer_locations import WindowsManagedAppDataTransferLocations from .managed_app_policy import ManagedAppPolicy @@ -24,10 +25,14 @@ class WindowsManagedAppProtection(ManagedAppPolicy, Parsable): """ # The OdataType property odata_type: Optional[str] = "#microsoft.graph.windowsManagedAppProtection" + # Windows MAM data transfer locations + allowed_inbound_data_transfer_source_apps: Optional[WindowsManagedAppDataTransferLocations] = None # Data can be transferred from/to these classes of apps allowed_inbound_data_transfer_sources: Optional[WindowsManagedAppDataTransferLevel] = None # Represents the level to which the device's clipboard may be shared between apps allowed_outbound_clipboard_sharing_level: Optional[WindowsManagedAppClipboardSharingLevel] = None + # Windows MAM data transfer locations + allowed_outbound_data_transfer_destination_apps: Optional[WindowsManagedAppDataTransferLocations] = None # Data can be transferred from/to these classes of apps allowed_outbound_data_transfer_destinations: Optional[WindowsManagedAppDataTransferLevel] = None # If set, it will specify what action to take in the case where the user is unable to checkin because their authentication token is invalid. This happens when the user is deleted or disabled in AAD. Some possible values are block or wipe. If this property is not set, no action will be taken. Possible values are: block, wipe, warn, blockWhenSettingIsSupported. @@ -99,6 +104,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .targeted_managed_app_policy_assignment import TargetedManagedAppPolicyAssignment from .windows_managed_app_clipboard_sharing_level import WindowsManagedAppClipboardSharingLevel from .windows_managed_app_data_transfer_level import WindowsManagedAppDataTransferLevel + from .windows_managed_app_data_transfer_locations import WindowsManagedAppDataTransferLocations from .managed_app_device_threat_level import ManagedAppDeviceThreatLevel from .managed_app_policy import ManagedAppPolicy @@ -108,10 +114,13 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .targeted_managed_app_policy_assignment import TargetedManagedAppPolicyAssignment from .windows_managed_app_clipboard_sharing_level import WindowsManagedAppClipboardSharingLevel from .windows_managed_app_data_transfer_level import WindowsManagedAppDataTransferLevel + from .windows_managed_app_data_transfer_locations import WindowsManagedAppDataTransferLocations fields: dict[str, Callable[[Any], None]] = { + "allowedInboundDataTransferSourceApps": lambda n : setattr(self, 'allowed_inbound_data_transfer_source_apps', n.get_collection_of_enum_values(WindowsManagedAppDataTransferLocations)), "allowedInboundDataTransferSources": lambda n : setattr(self, 'allowed_inbound_data_transfer_sources', n.get_enum_value(WindowsManagedAppDataTransferLevel)), "allowedOutboundClipboardSharingLevel": lambda n : setattr(self, 'allowed_outbound_clipboard_sharing_level', n.get_enum_value(WindowsManagedAppClipboardSharingLevel)), + "allowedOutboundDataTransferDestinationApps": lambda n : setattr(self, 'allowed_outbound_data_transfer_destination_apps', n.get_collection_of_enum_values(WindowsManagedAppDataTransferLocations)), "allowedOutboundDataTransferDestinations": lambda n : setattr(self, 'allowed_outbound_data_transfer_destinations', n.get_enum_value(WindowsManagedAppDataTransferLevel)), "appActionIfUnableToAuthenticateUser": lambda n : setattr(self, 'app_action_if_unable_to_authenticate_user', n.get_enum_value(ManagedAppRemediationAction)), "apps": lambda n : setattr(self, 'apps', n.get_collection_of_object_values(ManagedMobileApp)), @@ -149,8 +158,10 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + writer.write_enum_value("allowedInboundDataTransferSourceApps", self.allowed_inbound_data_transfer_source_apps) writer.write_enum_value("allowedInboundDataTransferSources", self.allowed_inbound_data_transfer_sources) writer.write_enum_value("allowedOutboundClipboardSharingLevel", self.allowed_outbound_clipboard_sharing_level) + writer.write_enum_value("allowedOutboundDataTransferDestinationApps", self.allowed_outbound_data_transfer_destination_apps) writer.write_enum_value("allowedOutboundDataTransferDestinations", self.allowed_outbound_data_transfer_destinations) writer.write_enum_value("appActionIfUnableToAuthenticateUser", self.app_action_if_unable_to_authenticate_user) writer.write_collection_of_object_values("apps", self.apps) diff --git a/msgraph_beta/generated/policies/cross_tenant_access_policy/partners/item/restore/restore_request_builder.py b/msgraph_beta/generated/policies/cross_tenant_access_policy/partners/item/restore/restore_request_builder.py index 372f13a053d..8c400fb3aee 100644 --- a/msgraph_beta/generated/policies/cross_tenant_access_policy/partners/item/restore/restore_request_builder.py +++ b/msgraph_beta/generated/policies/cross_tenant_access_policy/partners/item/restore/restore_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CrossTenantAccessPolicyConfigurationPartner]: """ - Restore a deleted crossTenantAccessPolicyConfigurationPartner object. + Restore a deleted crossTenantAccessPolicyConfigurationPartner object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CrossTenantAccessPolicyConfigurationPartner] Find more info here: https://learn.microsoft.com/graph/api/crosstenantaccesspolicyconfigurationpartner-restore?view=graph-rest-beta @@ -53,7 +53,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Restore a deleted crossTenantAccessPolicyConfigurationPartner object. + Restore a deleted crossTenantAccessPolicyConfigurationPartner object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/policies/deleted_items/cross_tenant_partners/item/restore/restore_request_builder.py b/msgraph_beta/generated/policies/deleted_items/cross_tenant_partners/item/restore/restore_request_builder.py index 20285eb0334..e08d0e8599b 100644 --- a/msgraph_beta/generated/policies/deleted_items/cross_tenant_partners/item/restore/restore_request_builder.py +++ b/msgraph_beta/generated/policies/deleted_items/cross_tenant_partners/item/restore/restore_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CrossTenantAccessPolicyConfigurationPartner]: """ - Restore a deleted crossTenantAccessPolicyConfigurationPartner object. + Restore a deleted crossTenantAccessPolicyConfigurationPartner object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CrossTenantAccessPolicyConfigurationPartner] Find more info here: https://learn.microsoft.com/graph/api/crosstenantaccesspolicyconfigurationpartner-restore?view=graph-rest-beta @@ -53,7 +53,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Restore a deleted crossTenantAccessPolicyConfigurationPartner object. + Restore a deleted crossTenantAccessPolicyConfigurationPartner object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/security/alerts_v2/alerts_v2_request_builder.py b/msgraph_beta/generated/security/alerts_v2/alerts_v2_request_builder.py index b9ad77e4074..b85bcd0ad71 100644 --- a/msgraph_beta/generated/security/alerts_v2/alerts_v2_request_builder.py +++ b/msgraph_beta/generated/security/alerts_v2/alerts_v2_request_builder.py @@ -19,6 +19,7 @@ from ...models.security.alert_collection_response import AlertCollectionResponse from .count.count_request_builder import CountRequestBuilder from .item.alert_item_request_builder import AlertItemRequestBuilder + from .microsoft_graph_security_create_alert.microsoft_graph_security_create_alert_request_builder import MicrosoftGraphSecurityCreateAlertRequestBuilder from .microsoft_graph_security_move_alerts.microsoft_graph_security_move_alerts_request_builder import MicrosoftGraphSecurityMoveAlertsRequestBuilder class Alerts_v2RequestBuilder(BaseRequestBuilder): @@ -138,6 +139,15 @@ def count(self) -> CountRequestBuilder: return CountRequestBuilder(self.request_adapter, self.path_parameters) + @property + def microsoft_graph_security_create_alert(self) -> MicrosoftGraphSecurityCreateAlertRequestBuilder: + """ + Provides operations to call the createAlert method. + """ + from .microsoft_graph_security_create_alert.microsoft_graph_security_create_alert_request_builder import MicrosoftGraphSecurityCreateAlertRequestBuilder + + return MicrosoftGraphSecurityCreateAlertRequestBuilder(self.request_adapter, self.path_parameters) + @property def microsoft_graph_security_move_alerts(self) -> MicrosoftGraphSecurityMoveAlertsRequestBuilder: """ diff --git a/msgraph_beta/generated/security/alerts_v2/microsoft_graph_security_create_alert/create_alert_post_request_body.py b/msgraph_beta/generated/security/alerts_v2/microsoft_graph_security_create_alert/create_alert_post_request_body.py new file mode 100644 index 00000000000..c41775335a9 --- /dev/null +++ b/msgraph_beta/generated/security/alerts_v2/microsoft_graph_security_create_alert/create_alert_post_request_body.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ....models.security.create_alert_input import CreateAlertInput + +@dataclass +class CreateAlertPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The createAlertInput property + create_alert_input: Optional[CreateAlertInput] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> CreateAlertPostRequestBody: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: CreateAlertPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return CreateAlertPostRequestBody() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from ....models.security.create_alert_input import CreateAlertInput + + from ....models.security.create_alert_input import CreateAlertInput + + fields: dict[str, Callable[[Any], None]] = { + "createAlertInput": lambda n : setattr(self, 'create_alert_input', n.get_object_value(CreateAlertInput)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_object_value("createAlertInput", self.create_alert_input) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/security/alerts_v2/microsoft_graph_security_create_alert/microsoft_graph_security_create_alert_request_builder.py b/msgraph_beta/generated/security/alerts_v2/microsoft_graph_security_create_alert/microsoft_graph_security_create_alert_request_builder.py new file mode 100644 index 00000000000..5d9ca5b6eb2 --- /dev/null +++ b/msgraph_beta/generated/security/alerts_v2/microsoft_graph_security_create_alert/microsoft_graph_security_create_alert_request_builder.py @@ -0,0 +1,90 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ....models.o_data_errors.o_data_error import ODataError + from ....models.security.alert import Alert + from .create_alert_post_request_body import CreateAlertPostRequestBody + +class MicrosoftGraphSecurityCreateAlertRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the createAlert method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new MicrosoftGraphSecurityCreateAlertRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/security/alerts_v2/microsoft.graph.security.createAlert", path_parameters) + + async def post(self,body: CreateAlertPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Alert]: + """ + Create a Microsoft 365 Defender alert by invoking a bound action on the alerts_v2 collection and returning the created alert resource. The action accepts a createAlertInput complex type that combines alert metadata and creation-specific options in one request object. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[Alert] + Find more info here: https://learn.microsoft.com/graph/api/security-alert-createalert?view=graph-rest-beta + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ....models.security.alert import Alert + + return await self.request_adapter.send_async(request_info, Alert, error_mapping) + + def to_post_request_information(self,body: CreateAlertPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Create a Microsoft 365 Defender alert by invoking a bound action on the alerts_v2 collection and returning the created alert resource. The action accepts a createAlertInput complex type that combines alert metadata and creation-specific options in one request object. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> MicrosoftGraphSecurityCreateAlertRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: MicrosoftGraphSecurityCreateAlertRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return MicrosoftGraphSecurityCreateAlertRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class MicrosoftGraphSecurityCreateAlertRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/security/case_management/cases/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/security/case_management/cases/item/attachments/attachments_request_builder.py index f76e64d631e..a16bf25f6f6 100644 --- a/msgraph_beta/generated/security/case_management/cases/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/security/case_management/cases/item/attachments/attachments_request_builder.py @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Attachme async def post(self,body: Attachment, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Attachment]: """ - Create an attachment for a case. + Create attachment metadata for a case. This method doesn't upload the file content. After creating the attachment, use Upload attachment content. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Attachment, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create an attachment for a case. + Create attachment metadata for a case. This method doesn't upload the file content. After creating the attachment, use Upload attachment content. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/security/case_management/cases/item/attachments/item/content/content_request_builder.py b/msgraph_beta/generated/security/case_management/cases/item/attachments/item/content/content_request_builder.py index 6765ffda696..932c63a40a9 100644 --- a/msgraph_beta/generated/security/case_management/cases/item/attachments/item/content/content_request_builder.py +++ b/msgraph_beta/generated/security/case_management/cases/item/attachments/item/content/content_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - The binary content stream for the attachment. + The binary content stream for the attachment. Use the Upload content and Download content methods to access it. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ @@ -50,9 +50,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[bytes]: """ - The binary content stream for the attachment. + Download the binary content of an attachment. After an upload completes, the service asynchronously scans the attachment for malware. Poll the attachment metadata by using Get attachment. If scanResult is unscanned, wait and try again later. Download the content only when scanResult is noThreatsFound. Don't download content when scanResult is malicious. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes + Find more info here: https://learn.microsoft.com/graph/api/security-casemanagement-attachment-download-content?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -68,10 +69,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar async def put(self,body: bytes, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Attachment]: """ - The binary content stream for the attachment. + Upload binary content for an attachment. Create the attachment metadata first by using Create case attachment. The maximum file size is 100 MB. Upload files in chunks of no more than 1 MB. For files larger than 1 MB, send one PUT request for each chunk until all byte ranges are uploaded. param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] + Find more info here: https://learn.microsoft.com/graph/api/security-casemanagement-attachment-upload-content?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -91,7 +93,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - The binary content stream for the attachment. + The binary content stream for the attachment. Use the Upload content and Download content methods to access it. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - The binary content stream for the attachment. + Download the binary content of an attachment. After an upload completes, the service asynchronously scans the attachment for malware. Poll the attachment metadata by using Get attachment. If scanResult is unscanned, wait and try again later. Download the content only when scanResult is noThreatsFound. Don't download content when scanResult is malicious. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -113,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: bytes, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - The binary content stream for the attachment. + Upload binary content for an attachment. Create the attachment metadata first by using Create case attachment. The maximum file size is 100 MB. Upload files in chunks of no more than 1 MB. For files larger than 1 MB, send one PUT request for each chunk until all byte ranges are uploaded. param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/security/case_management/cases/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/security/case_management/cases/item/relations/item/relation_item_request_builder.py index 6ebdc119291..ca22fdc00d2 100644 --- a/msgraph_beta/generated/security/case_management/cases/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/security/case_management/cases/item/relations/item/relation_item_request_builder.py @@ -32,9 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete navigation property relations for security + Delete a concrete relation from a case. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None + Find more info here: https://learn.microsoft.com/graph/api/security-casemanagement-relation-delete?view=graph-rest-beta """ request_info = self.to_delete_request_information( request_configuration @@ -50,9 +51,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[RelationItemRequestBuilderGetQueryParameters]] = None) -> Optional[Relation]: """ - Links from the case to related security resources. Supports $expand. + Read a concrete relation from a case. The response is an incidentRelation, recommendationRelation, or workspaceIndicatorRelation, identified by @odata.type. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Relation] + Find more info here: https://learn.microsoft.com/graph/api/security-casemanagement-relation-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -70,7 +72,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Relation async def patch(self,body: Relation, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Relation]: """ - Update the properties of a relation object. + Update the properties of a concrete relation object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Relation] @@ -94,7 +96,7 @@ async def patch(self,body: Relation, request_configuration: Optional[RequestConf def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete navigation property relations for security + Delete a concrete relation from a case. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Links from the case to related security resources. Supports $expand. + Read a concrete relation from a case. The response is an incidentRelation, recommendationRelation, or workspaceIndicatorRelation, identified by @odata.type. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -116,7 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Relation, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a relation object. + Update the properties of a concrete relation object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -149,7 +151,7 @@ class RelationItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[ @dataclass class RelationItemRequestBuilderGetQueryParameters(): """ - Links from the case to related security resources. Supports $expand. + Read a concrete relation from a case. The response is an incidentRelation, recommendationRelation, or workspaceIndicatorRelation, identified by @odata.type. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/security/case_management/cases/item/relations/relations_request_builder.py b/msgraph_beta/generated/security/case_management/cases/item/relations/relations_request_builder.py index b8fb77589f8..2d1fb459284 100644 --- a/msgraph_beta/generated/security/case_management/cases/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/security/case_management/cases/item/relations/relations_request_builder.py @@ -49,7 +49,7 @@ def by_relation_id(self,relation_id: str) -> RelationItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration[RelationsRequestBuilderGetQueryParameters]] = None) -> Optional[RelationCollectionResponse]: """ - Get a list of external resource relation objects for a case. + Get a list of external resource relation objects for a case. Each relation is an incidentRelation, recommendationRelation, or workspaceIndicatorRelation, identified by @odata.type. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RelationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-casemanagement-case-list-relations?view=graph-rest-beta @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Relation async def post(self,body: Relation, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Relation]: """ - Create an external resource relation for a case. + Create a concrete external resource relation for a case. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Relation] @@ -94,7 +94,7 @@ async def post(self,body: Relation, request_configuration: Optional[RequestConfi def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get a list of external resource relation objects for a case. + Get a list of external resource relation objects for a case. Each relation is an incidentRelation, recommendationRelation, or workspaceIndicatorRelation, identified by @odata.type. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Relation, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create an external resource relation for a case. + Create a concrete external resource relation for a case. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -140,7 +140,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationsRequestBuilderGetQueryParameters(): """ - Get a list of external resource relation objects for a case. + Get a list of external resource relation objects for a case. Each relation is an incidentRelation, recommendationRelation, or workspaceIndicatorRelation, identified by @odata.type. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/security/case_management/cases/item/tasks/item/task_item_request_builder.py b/msgraph_beta/generated/security/case_management/cases/item/tasks/item/task_item_request_builder.py index f176d7a59a7..f6cef5ba486 100644 --- a/msgraph_beta/generated/security/case_management/cases/item/tasks/item/task_item_request_builder.py +++ b/msgraph_beta/generated/security/case_management/cases/item/tasks/item/task_item_request_builder.py @@ -32,9 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete navigation property tasks for security + Delete a task from a case. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None + Find more info here: https://learn.microsoft.com/graph/api/security-casemanagement-task-delete?view=graph-rest-beta """ request_info = self.to_delete_request_information( request_configuration @@ -95,7 +96,7 @@ async def patch(self,body: Task, request_configuration: Optional[RequestConfigur def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete navigation property tasks for security + Delete a task from a case. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/service_principals/count/count_request_builder.py b/msgraph_beta/generated/service_principals/count/count_request_builder.py index 0a33c5d3d3e..4ed27e1d640 100644 --- a/msgraph_beta/generated/service_principals/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/delta/delta_request_builder.py b/msgraph_beta/generated/service_principals/delta/delta_request_builder.py index 210d9d50d8e..fefa28b91f4 100644 --- a/msgraph_beta/generated/service_principals/delta/delta_request_builder.py +++ b/msgraph_beta/generated/service_principals/delta/delta_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeltaReq Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-delta?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> DeltaRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DeltaRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DeltaRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/get_by_ids/get_by_ids_request_builder.py b/msgraph_beta/generated/service_principals/get_by_ids/get_by_ids_request_builder.py index 77b6e8ff9e0..e56fd34db38 100644 --- a/msgraph_beta/generated/service_principals/get_by_ids/get_by_ids_request_builder.py +++ b/msgraph_beta/generated/service_principals/get_by_ids/get_by_ids_request_builder.py @@ -39,6 +39,7 @@ async def post(self,body: GetByIdsPostRequestBody, request_configuration: Option Returns: Optional[GetByIdsPostResponse] Find more info here: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -62,6 +63,7 @@ def to_post_request_information(self,body: GetByIdsPostRequestBody, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -76,6 +78,7 @@ def with_url(self,raw_url: str) -> GetByIdsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GetByIdsRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GetByIdsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/get_user_owned_objects/get_user_owned_objects_request_builder.py b/msgraph_beta/generated/service_principals/get_user_owned_objects/get_user_owned_objects_request_builder.py index a67592f5b12..a5efd7f33f8 100644 --- a/msgraph_beta/generated/service_principals/get_user_owned_objects/get_user_owned_objects_request_builder.py +++ b/msgraph_beta/generated/service_principals/get_user_owned_objects/get_user_owned_objects_request_builder.py @@ -39,6 +39,7 @@ async def post(self,body: GetUserOwnedObjectsPostRequestBody, request_configurat Returns: Optional[DirectoryObject] Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-getuserownedobjects?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -62,6 +63,7 @@ def to_post_request_information(self,body: GetUserOwnedObjectsPostRequestBody, r param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -76,6 +78,7 @@ def with_url(self,raw_url: str) -> GetUserOwnedObjectsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GetUserOwnedObjectsRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GetUserOwnedObjectsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/add_token_signing_certificate/add_token_signing_certificate_request_builder.py b/msgraph_beta/generated/service_principals/item/add_token_signing_certificate/add_token_signing_certificate_request_builder.py index b1359d4059d..6504741ac31 100644 --- a/msgraph_beta/generated/service_principals/item/add_token_signing_certificate/add_token_signing_certificate_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/add_token_signing_certificate/add_token_signing_certificate_request_builder.py @@ -39,6 +39,7 @@ async def post(self,body: AddTokenSigningCertificatePostRequestBody, request_con Returns: Optional[SelfSignedCertificate] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-addtokensigningcertificate?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -62,6 +63,7 @@ def to_post_request_information(self,body: AddTokenSigningCertificatePostRequest param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -76,6 +78,7 @@ def with_url(self,raw_url: str) -> AddTokenSigningCertificateRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AddTokenSigningCertificateRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AddTokenSigningCertificateRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/app_management_policies/app_management_policies_request_builder.py b/msgraph_beta/generated/service_principals/item/app_management_policies/app_management_policies_request_builder.py index 33b277dd7f9..20299a9aeb2 100644 --- a/msgraph_beta/generated/service_principals/item/app_management_policies/app_management_policies_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/app_management_policies/app_management_policies_request_builder.py @@ -38,6 +38,7 @@ def by_app_management_policy_id(self,app_management_policy_id: str) -> AppManage param app_management_policy_id: The unique identifier of appManagementPolicy Returns: AppManagementPolicyItemRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if app_management_policy_id is None: raise TypeError("app_management_policy_id cannot be null.") from .item.app_management_policy_item_request_builder import AppManagementPolicyItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppManag param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppManagementPolicyCollectionResponse] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> AppManagementPoliciesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppManagementPoliciesRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppManagementPoliciesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/app_management_policies/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/app_management_policies/count/count_request_builder.py index 9f272228437..913773f715c 100644 --- a/msgraph_beta/generated/service_principals/item/app_management_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/app_management_policies/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/app_management_policies/item/app_management_policy_item_request_builder.py b/msgraph_beta/generated/service_principals/item/app_management_policies/item/app_management_policy_item_request_builder.py index ddcd799f46d..44ca96fab63 100644 --- a/msgraph_beta/generated/service_principals/item/app_management_policies/item/app_management_policy_item_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/app_management_policies/item/app_management_policy_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppManag param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppManagementPolicy] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AppManagementPolicyItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppManagementPolicyItemRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppManagementPolicyItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/app_role_assigned_to/app_role_assigned_to_request_builder.py b/msgraph_beta/generated/service_principals/item/app_role_assigned_to/app_role_assigned_to_request_builder.py index f5dea7d0503..60ca2fe595c 100644 --- a/msgraph_beta/generated/service_principals/item/app_role_assigned_to/app_role_assigned_to_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/app_role_assigned_to/app_role_assigned_to_request_builder.py @@ -39,6 +39,7 @@ def by_app_role_assignment_id(self,app_role_assignment_id: str) -> AppRoleAssign param app_role_assignment_id: The unique identifier of appRoleAssignment Returns: AppRoleAssignmentItemRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if app_role_assignment_id is None: raise TypeError("app_role_assignment_id cannot be null.") from .item.app_role_assignment_item_request_builder import AppRoleAssignmentItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppRoleA Returns: Optional[AppRoleAssignmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-list-approleassignedto?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def post(self,body: AppRoleAssignment, request_configuration: Optional[Req Returns: Optional[AppRoleAssignment] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-post-approleassignedto?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -98,6 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_post_request_information(self,body: AppRoleAssignment, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -124,6 +129,7 @@ def with_url(self,raw_url: str) -> AppRoleAssignedToRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppRoleAssignedToRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppRoleAssignedToRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/app_role_assigned_to/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/app_role_assigned_to/count/count_request_builder.py index 5b2b3f22139..979bdda7262 100644 --- a/msgraph_beta/generated/service_principals/item/app_role_assigned_to/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/app_role_assigned_to/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/app_role_assigned_to/item/app_role_assignment_item_request_builder.py b/msgraph_beta/generated/service_principals/item/app_role_assigned_to/item/app_role_assignment_item_request_builder.py index 7c4f2d5a74b..08f9ff4a6bf 100644 --- a/msgraph_beta/generated/service_principals/item/app_role_assigned_to/item/app_role_assignment_item_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/app_role_assigned_to/item/app_role_assignment_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-delete-approleassignedto?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppRoleA Returns: Optional[AppRoleAssignment] Find more info here: https://learn.microsoft.com/graph/api/approleassignment-get?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: AppRoleAssignment, request_configuration: Optional[Re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppRoleAssignment] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: AppRoleAssignment, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> AppRoleAssignmentItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppRoleAssignmentItemRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppRoleAssignmentItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/app_role_assignments/app_role_assignments_request_builder.py b/msgraph_beta/generated/service_principals/item/app_role_assignments/app_role_assignments_request_builder.py index a8d99758068..3a6b3c4cc5f 100644 --- a/msgraph_beta/generated/service_principals/item/app_role_assignments/app_role_assignments_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/app_role_assignments/app_role_assignments_request_builder.py @@ -39,6 +39,7 @@ def by_app_role_assignment_id(self,app_role_assignment_id: str) -> AppRoleAssign param app_role_assignment_id: The unique identifier of appRoleAssignment Returns: AppRoleAssignmentItemRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if app_role_assignment_id is None: raise TypeError("app_role_assignment_id cannot be null.") from .item.app_role_assignment_item_request_builder import AppRoleAssignmentItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppRoleA Returns: Optional[AppRoleAssignmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-list-approleassignments?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def post(self,body: AppRoleAssignment, request_configuration: Optional[Req Returns: Optional[AppRoleAssignment] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-post-approleassignments?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -98,6 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_post_request_information(self,body: AppRoleAssignment, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -124,6 +129,7 @@ def with_url(self,raw_url: str) -> AppRoleAssignmentsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppRoleAssignmentsRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppRoleAssignmentsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/app_role_assignments/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/app_role_assignments/count/count_request_builder.py index 7c4ab2ec09c..ab1f29d97d8 100644 --- a/msgraph_beta/generated/service_principals/item/app_role_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/app_role_assignments/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/app_role_assignments/item/app_role_assignment_item_request_builder.py b/msgraph_beta/generated/service_principals/item/app_role_assignments/item/app_role_assignment_item_request_builder.py index d66e838e445..c85f3cccbd9 100644 --- a/msgraph_beta/generated/service_principals/item/app_role_assignments/item/app_role_assignment_item_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/app_role_assignments/item/app_role_assignment_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-delete-approleassignments?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppRoleA Returns: Optional[AppRoleAssignment] Find more info here: https://learn.microsoft.com/graph/api/approleassignment-get?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: AppRoleAssignment, request_configuration: Optional[Re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppRoleAssignment] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: AppRoleAssignment, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> AppRoleAssignmentItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppRoleAssignmentItemRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppRoleAssignmentItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/check_member_groups/check_member_groups_request_builder.py b/msgraph_beta/generated/service_principals/item/check_member_groups/check_member_groups_request_builder.py index e2f97d03549..a875595a785 100644 --- a/msgraph_beta/generated/service_principals/item/check_member_groups/check_member_groups_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/check_member_groups/check_member_groups_request_builder.py @@ -39,6 +39,7 @@ async def post(self,body: CheckMemberGroupsPostRequestBody, request_configuratio Returns: Optional[CheckMemberGroupsPostResponse] Find more info here: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -62,6 +63,7 @@ def to_post_request_information(self,body: CheckMemberGroupsPostRequestBody, req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -76,6 +78,7 @@ def with_url(self,raw_url: str) -> CheckMemberGroupsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CheckMemberGroupsRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CheckMemberGroupsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/check_member_objects/check_member_objects_request_builder.py b/msgraph_beta/generated/service_principals/item/check_member_objects/check_member_objects_request_builder.py index e808d98ffcd..3ab34bc7ac0 100644 --- a/msgraph_beta/generated/service_principals/item/check_member_objects/check_member_objects_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/check_member_objects/check_member_objects_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: CheckMemberObjectsPostRequestBody, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CheckMemberObjectsPostResponse] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -61,6 +62,7 @@ def to_post_request_information(self,body: CheckMemberObjectsPostRequestBody, re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -75,6 +77,7 @@ def with_url(self,raw_url: str) -> CheckMemberObjectsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CheckMemberObjectsRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CheckMemberObjectsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/claims_mapping_policies/claims_mapping_policies_request_builder.py b/msgraph_beta/generated/service_principals/item/claims_mapping_policies/claims_mapping_policies_request_builder.py index eb85a53d98f..76be6a6620e 100644 --- a/msgraph_beta/generated/service_principals/item/claims_mapping_policies/claims_mapping_policies_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/claims_mapping_policies/claims_mapping_policies_request_builder.py @@ -54,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ClaimsMa Returns: Optional[ClaimsMappingPolicyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-list-claimsmappingpolicies?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +75,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -85,6 +87,7 @@ def with_url(self,raw_url: str) -> ClaimsMappingPoliciesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ClaimsMappingPoliciesRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ClaimsMappingPoliciesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/claims_mapping_policies/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/claims_mapping_policies/count/count_request_builder.py index 4b1f0f0bf88..bf23e737b45 100644 --- a/msgraph_beta/generated/service_principals/item/claims_mapping_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/claims_mapping_policies/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/claims_mapping_policies/item/ref/ref_request_builder.py b/msgraph_beta/generated/service_principals/item/claims_mapping_policies/item/ref/ref_request_builder.py index f49fcf64511..afcb5e4ca43 100644 --- a/msgraph_beta/generated/service_principals/item/claims_mapping_policies/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/claims_mapping_policies/item/ref/ref_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-delete-claimsmappingpolicies?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> RefRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/claims_mapping_policies/ref/ref_request_builder.py b/msgraph_beta/generated/service_principals/item/claims_mapping_policies/ref/ref_request_builder.py index fe000063fc7..3ab3b8cc125 100644 --- a/msgraph_beta/generated/service_principals/item/claims_mapping_policies/ref/ref_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/claims_mapping_policies/ref/ref_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[RefRe Returns: None Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-delete-claimsmappingpolicies?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RefReque Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-list-claimsmappingpolicies?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def post(self,body: ReferenceCreate, request_configuration: Optional[Reque Returns: None Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-post-claimsmappingpolicies?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, '{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/claimsMappingPolicies/$ref?@id={%40id}', self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_post_request_information(self,body: ReferenceCreate, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> RefRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/claims_policy/claims_policy_request_builder.py b/msgraph_beta/generated/service_principals/item/claims_policy/claims_policy_request_builder.py index eb201be90cd..9dc4401863c 100644 --- a/msgraph_beta/generated/service_principals/item/claims_policy/claims_policy_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/claims_policy/claims_policy_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ClaimsPo Returns: Optional[CustomClaimsPolicy] Find more info here: https://learn.microsoft.com/graph/api/customclaimspolicy-get?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ async def patch(self,body: CustomClaimsPolicy, request_configuration: Optional[R Returns: Optional[CustomClaimsPolicy] Find more info here: https://learn.microsoft.com/graph/api/customclaimspolicy-update?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -83,6 +85,7 @@ async def put(self,body: CustomClaimsPolicy, request_configuration: Optional[Req Returns: Optional[CustomClaimsPolicy] Find more info here: https://learn.microsoft.com/graph/api/customclaimspolicy-update?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_put_request_information( @@ -105,6 +108,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -117,6 +121,7 @@ def to_patch_request_information(self,body: CustomClaimsPolicy, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -132,6 +137,7 @@ def to_put_request_information(self,body: CustomClaimsPolicy, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PUT, self.url_template, self.path_parameters) @@ -146,6 +152,7 @@ def with_url(self,raw_url: str) -> ClaimsPolicyRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ClaimsPolicyRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ClaimsPolicyRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/create_password_single_sign_on_credentials/create_password_single_sign_on_credentials_request_builder.py b/msgraph_beta/generated/service_principals/item/create_password_single_sign_on_credentials/create_password_single_sign_on_credentials_request_builder.py index 35806e9a133..15fe609412d 100644 --- a/msgraph_beta/generated/service_principals/item/create_password_single_sign_on_credentials/create_password_single_sign_on_credentials_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/create_password_single_sign_on_credentials/create_password_single_sign_on_credentials_request_builder.py @@ -39,6 +39,7 @@ async def post(self,body: CreatePasswordSingleSignOnCredentialsPostRequestBody, Returns: Optional[PasswordSingleSignOnCredentialSet] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-createpasswordsinglesignoncredentials?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -62,6 +63,7 @@ def to_post_request_information(self,body: CreatePasswordSingleSignOnCredentials param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -76,6 +78,7 @@ def with_url(self,raw_url: str) -> CreatePasswordSingleSignOnCredentialsRequestB param raw_url: The raw URL to use for the request builder. Returns: CreatePasswordSingleSignOnCredentialsRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CreatePasswordSingleSignOnCredentialsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/created_objects/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/created_objects/count/count_request_builder.py index 809af12138d..d1c5e417d53 100644 --- a/msgraph_beta/generated/service_principals/item/created_objects/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/created_objects/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/created_objects/created_objects_request_builder.py b/msgraph_beta/generated/service_principals/item/created_objects/created_objects_request_builder.py index 57699df1383..3b11e89d82c 100644 --- a/msgraph_beta/generated/service_principals/item/created_objects/created_objects_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/created_objects/created_objects_request_builder.py @@ -39,6 +39,7 @@ def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItem param directory_object_id: The unique identifier of directoryObject Returns: DirectoryObjectItemRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if directory_object_id is None: raise TypeError("directory_object_id cannot be null.") from .item.directory_object_item_request_builder import DirectoryObjectItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CreatedO Returns: Optional[DirectoryObjectCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-list-createdobjects?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -85,6 +88,7 @@ def with_url(self,raw_url: str) -> CreatedObjectsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CreatedObjectsRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CreatedObjectsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/created_objects/graph_service_principal/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/created_objects/graph_service_principal/count/count_request_builder.py index 44a3750aa73..38838ecf215 100644 --- a/msgraph_beta/generated/service_principals/item/created_objects/graph_service_principal/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/created_objects/graph_service_principal/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/created_objects/graph_service_principal/graph_service_principal_request_builder.py b/msgraph_beta/generated/service_principals/item/created_objects/graph_service_principal/graph_service_principal_request_builder.py index e638ea4e622..57653034bcc 100644 --- a/msgraph_beta/generated/service_principals/item/created_objects/graph_service_principal/graph_service_principal_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/created_objects/graph_service_principal/graph_service_principal_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphSer param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServicePrincipalCollectionResponse] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> GraphServicePrincipalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GraphServicePrincipalRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GraphServicePrincipalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/created_objects/item/directory_object_item_request_builder.py b/msgraph_beta/generated/service_principals/item/created_objects/item/directory_object_item_request_builder.py index 585db6134f3..1ae7edd46a7 100644 --- a/msgraph_beta/generated/service_principals/item/created_objects/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/created_objects/item/directory_object_item_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> DirectoryObjectItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryObjectItemRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryObjectItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/created_objects/item/graph_service_principal/graph_service_principal_request_builder.py b/msgraph_beta/generated/service_principals/item/created_objects/item/graph_service_principal/graph_service_principal_request_builder.py index 6989bde3965..04c5b4ee9ad 100644 --- a/msgraph_beta/generated/service_principals/item/created_objects/item/graph_service_principal/graph_service_principal_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/created_objects/item/graph_service_principal/graph_service_principal_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphSer param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServicePrincipal] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> GraphServicePrincipalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GraphServicePrincipalRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GraphServicePrincipalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/delegated_permission_classifications/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/delegated_permission_classifications/count/count_request_builder.py index 2de86d3bf62..44b130969e5 100644 --- a/msgraph_beta/generated/service_principals/item/delegated_permission_classifications/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/delegated_permission_classifications/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/delegated_permission_classifications/delegated_permission_classifications_request_builder.py b/msgraph_beta/generated/service_principals/item/delegated_permission_classifications/delegated_permission_classifications_request_builder.py index 9f76622731e..fef5cd44960 100644 --- a/msgraph_beta/generated/service_principals/item/delegated_permission_classifications/delegated_permission_classifications_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/delegated_permission_classifications/delegated_permission_classifications_request_builder.py @@ -39,6 +39,7 @@ def by_delegated_permission_classification_id(self,delegated_permission_classifi param delegated_permission_classification_id: The unique identifier of delegatedPermissionClassification Returns: DelegatedPermissionClassificationItemRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if delegated_permission_classification_id is None: raise TypeError("delegated_permission_classification_id cannot be null.") from .item.delegated_permission_classification_item_request_builder import DelegatedPermissionClassificationItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Delegate Returns: Optional[DelegatedPermissionClassificationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-list-delegatedpermissionclassifications?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def post(self,body: DelegatedPermissionClassification, request_configurati Returns: Optional[DelegatedPermissionClassification] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-post-delegatedpermissionclassifications?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -98,6 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_post_request_information(self,body: DelegatedPermissionClassification, re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -124,6 +129,7 @@ def with_url(self,raw_url: str) -> DelegatedPermissionClassificationsRequestBuil param raw_url: The raw URL to use for the request builder. Returns: DelegatedPermissionClassificationsRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DelegatedPermissionClassificationsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/delegated_permission_classifications/item/delegated_permission_classification_item_request_builder.py b/msgraph_beta/generated/service_principals/item/delegated_permission_classifications/item/delegated_permission_classification_item_request_builder.py index e7a66e30823..f08522f87f6 100644 --- a/msgraph_beta/generated/service_principals/item/delegated_permission_classifications/item/delegated_permission_classification_item_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/delegated_permission_classifications/item/delegated_permission_classification_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-delete-delegatedpermissionclassifications?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Delegate param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DelegatedPermissionClassification] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: DelegatedPermissionClassification, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DelegatedPermissionClassification] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: DelegatedPermissionClassification, r param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> DelegatedPermissionClassificationItemRequestB param raw_url: The raw URL to use for the request builder. Returns: DelegatedPermissionClassificationItemRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DelegatedPermissionClassificationItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/delete_password_single_sign_on_credentials/delete_password_single_sign_on_credentials_request_builder.py b/msgraph_beta/generated/service_principals/item/delete_password_single_sign_on_credentials/delete_password_single_sign_on_credentials_request_builder.py index 2e2c9e66118..cb0f9d4f864 100644 --- a/msgraph_beta/generated/service_principals/item/delete_password_single_sign_on_credentials/delete_password_single_sign_on_credentials_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/delete_password_single_sign_on_credentials/delete_password_single_sign_on_credentials_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: DeletePasswordSingleSignOnCredentialsPostRequestBody, Returns: None Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-deletepasswordsinglesignoncredentials?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: DeletePasswordSingleSignOnCredentials param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> DeletePasswordSingleSignOnCredentialsRequestB param raw_url: The raw URL to use for the request builder. Returns: DeletePasswordSingleSignOnCredentialsRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DeletePasswordSingleSignOnCredentialsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/endpoints/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/endpoints/count/count_request_builder.py index 8743e0280f7..bcfd3fa1e0f 100644 --- a/msgraph_beta/generated/service_principals/item/endpoints/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/endpoints/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/endpoints/endpoints_request_builder.py b/msgraph_beta/generated/service_principals/item/endpoints/endpoints_request_builder.py index 817f163cc31..a9795f0e635 100644 --- a/msgraph_beta/generated/service_principals/item/endpoints/endpoints_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/endpoints/endpoints_request_builder.py @@ -39,6 +39,7 @@ def by_endpoint_id(self,endpoint_id: str) -> EndpointItemRequestBuilder: param endpoint_id: The unique identifier of endpoint Returns: EndpointItemRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if endpoint_id is None: raise TypeError("endpoint_id cannot be null.") from .item.endpoint_item_request_builder import EndpointItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Endpoint param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EndpointCollectionResponse] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: Endpoint, request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Endpoint] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: Endpoint, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> EndpointsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: EndpointsRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return EndpointsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/endpoints/item/endpoint_item_request_builder.py b/msgraph_beta/generated/service_principals/item/endpoints/item/endpoint_item_request_builder.py index ead47f56edf..e0412eb7d57 100644 --- a/msgraph_beta/generated/service_principals/item/endpoints/item/endpoint_item_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/endpoints/item/endpoint_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Endpoint param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Endpoint] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: Endpoint, request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Endpoint] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: Endpoint, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> EndpointItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: EndpointItemRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return EndpointItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/federated_identity_credentials/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/federated_identity_credentials/count/count_request_builder.py index 036807ec147..2c360714f4e 100644 --- a/msgraph_beta/generated/service_principals/item/federated_identity_credentials/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/federated_identity_credentials/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/federated_identity_credentials/federated_identity_credentials_request_builder.py b/msgraph_beta/generated/service_principals/item/federated_identity_credentials/federated_identity_credentials_request_builder.py index 22e82d0bcec..c654ed81ff9 100644 --- a/msgraph_beta/generated/service_principals/item/federated_identity_credentials/federated_identity_credentials_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/federated_identity_credentials/federated_identity_credentials_request_builder.py @@ -39,6 +39,7 @@ def by_federated_identity_credential_id(self,federated_identity_credential_id: s param federated_identity_credential_id: The unique identifier of federatedIdentityCredential Returns: FederatedIdentityCredentialItemRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if federated_identity_credential_id is None: raise TypeError("federated_identity_credential_id cannot be null.") from .item.federated_identity_credential_item_request_builder import FederatedIdentityCredentialItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Federate param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FederatedIdentityCredentialCollectionResponse] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: FederatedIdentityCredential, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FederatedIdentityCredential] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: FederatedIdentityCredential, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> FederatedIdentityCredentialsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FederatedIdentityCredentialsRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FederatedIdentityCredentialsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/federated_identity_credentials/item/federated_identity_credential_item_request_builder.py b/msgraph_beta/generated/service_principals/item/federated_identity_credentials/item/federated_identity_credential_item_request_builder.py index b7df6f21d3b..39a9dd0fed8 100644 --- a/msgraph_beta/generated/service_principals/item/federated_identity_credentials/item/federated_identity_credential_item_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/federated_identity_credentials/item/federated_identity_credential_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Federate param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FederatedIdentityCredential] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: FederatedIdentityCredential, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FederatedIdentityCredential] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: FederatedIdentityCredential, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> FederatedIdentityCredentialItemRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: FederatedIdentityCredentialItemRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FederatedIdentityCredentialItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/federated_identity_credentials_with_name/federated_identity_credentials_with_name_request_builder.py b/msgraph_beta/generated/service_principals/item/federated_identity_credentials_with_name/federated_identity_credentials_with_name_request_builder.py index 22d1a09271b..96b3a4e63fb 100644 --- a/msgraph_beta/generated/service_principals/item/federated_identity_credentials_with_name/federated_identity_credentials_with_name_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/federated_identity_credentials_with_name/federated_identity_credentials_with_name_request_builder.py @@ -39,6 +39,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Federate param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FederatedIdentityCredential] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,6 +80,7 @@ async def patch(self,body: FederatedIdentityCredential, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FederatedIdentityCredential] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,6 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -111,6 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -123,6 +128,7 @@ def to_patch_request_information(self,body: FederatedIdentityCredential, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -137,6 +143,7 @@ def with_url(self,raw_url: str) -> FederatedIdentityCredentialsWithNameRequestBu param raw_url: The raw URL to use for the request builder. Returns: FederatedIdentityCredentialsWithNameRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FederatedIdentityCredentialsWithNameRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/get_member_groups/get_member_groups_request_builder.py b/msgraph_beta/generated/service_principals/item/get_member_groups/get_member_groups_request_builder.py index 0e4cfef6b9c..558ad62d8f3 100644 --- a/msgraph_beta/generated/service_principals/item/get_member_groups/get_member_groups_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/get_member_groups/get_member_groups_request_builder.py @@ -39,6 +39,7 @@ async def post(self,body: GetMemberGroupsPostRequestBody, request_configuration: Returns: Optional[GetMemberGroupsPostResponse] Find more info here: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -62,6 +63,7 @@ def to_post_request_information(self,body: GetMemberGroupsPostRequestBody, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -76,6 +78,7 @@ def with_url(self,raw_url: str) -> GetMemberGroupsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GetMemberGroupsRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GetMemberGroupsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/get_member_objects/get_member_objects_request_builder.py b/msgraph_beta/generated/service_principals/item/get_member_objects/get_member_objects_request_builder.py index 0f27b4a1368..e134d2e0806 100644 --- a/msgraph_beta/generated/service_principals/item/get_member_objects/get_member_objects_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/get_member_objects/get_member_objects_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: GetMemberObjectsPostRequestBody, request_configuration param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetMemberObjectsPostResponse] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -61,6 +62,7 @@ def to_post_request_information(self,body: GetMemberObjectsPostRequestBody, requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -75,6 +77,7 @@ def with_url(self,raw_url: str) -> GetMemberObjectsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GetMemberObjectsRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GetMemberObjectsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/get_password_single_sign_on_credentials/get_password_single_sign_on_credentials_request_builder.py b/msgraph_beta/generated/service_principals/item/get_password_single_sign_on_credentials/get_password_single_sign_on_credentials_request_builder.py index 323e1845229..48d38f619c3 100644 --- a/msgraph_beta/generated/service_principals/item/get_password_single_sign_on_credentials/get_password_single_sign_on_credentials_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/get_password_single_sign_on_credentials/get_password_single_sign_on_credentials_request_builder.py @@ -39,6 +39,7 @@ async def post(self,body: GetPasswordSingleSignOnCredentialsPostRequestBody, req Returns: Optional[PasswordSingleSignOnCredentialSet] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-getpasswordsinglesignoncredentials?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -62,6 +63,7 @@ def to_post_request_information(self,body: GetPasswordSingleSignOnCredentialsPos param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -76,6 +78,7 @@ def with_url(self,raw_url: str) -> GetPasswordSingleSignOnCredentialsRequestBuil param raw_url: The raw URL to use for the request builder. Returns: GetPasswordSingleSignOnCredentialsRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GetPasswordSingleSignOnCredentialsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/home_realm_discovery_policies/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/home_realm_discovery_policies/count/count_request_builder.py index d36decf6df3..79a8908147a 100644 --- a/msgraph_beta/generated/service_principals/item/home_realm_discovery_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/home_realm_discovery_policies/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/home_realm_discovery_policies/home_realm_discovery_policies_request_builder.py b/msgraph_beta/generated/service_principals/item/home_realm_discovery_policies/home_realm_discovery_policies_request_builder.py index fb49c787521..00742e9264f 100644 --- a/msgraph_beta/generated/service_principals/item/home_realm_discovery_policies/home_realm_discovery_policies_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/home_realm_discovery_policies/home_realm_discovery_policies_request_builder.py @@ -54,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[HomeReal Returns: Optional[HomeRealmDiscoveryPolicyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-list-homerealmdiscoverypolicies?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +75,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -85,6 +87,7 @@ def with_url(self,raw_url: str) -> HomeRealmDiscoveryPoliciesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: HomeRealmDiscoveryPoliciesRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return HomeRealmDiscoveryPoliciesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/home_realm_discovery_policies/item/ref/ref_request_builder.py b/msgraph_beta/generated/service_principals/item/home_realm_discovery_policies/item/ref/ref_request_builder.py index 68e78120b64..331e32f4eef 100644 --- a/msgraph_beta/generated/service_principals/item/home_realm_discovery_policies/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/home_realm_discovery_policies/item/ref/ref_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-delete-homerealmdiscoverypolicies?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> RefRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/home_realm_discovery_policies/ref/ref_request_builder.py b/msgraph_beta/generated/service_principals/item/home_realm_discovery_policies/ref/ref_request_builder.py index 4a86eb7dc80..c3941a77eeb 100644 --- a/msgraph_beta/generated/service_principals/item/home_realm_discovery_policies/ref/ref_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/home_realm_discovery_policies/ref/ref_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[RefRe Returns: None Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-delete-homerealmdiscoverypolicies?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RefReque Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-list-homerealmdiscoverypolicies?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def post(self,body: ReferenceCreate, request_configuration: Optional[Reque Returns: None Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-post-homerealmdiscoverypolicies?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, '{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/homeRealmDiscoveryPolicies/$ref?@id={%40id}', self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_post_request_information(self,body: ReferenceCreate, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> RefRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/license_details/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/license_details/count/count_request_builder.py index ee54e486c81..b01194afaab 100644 --- a/msgraph_beta/generated/service_principals/item/license_details/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/license_details/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/license_details/get_teams_licensing_details/get_teams_licensing_details_request_builder.py b/msgraph_beta/generated/service_principals/item/license_details/get_teams_licensing_details/get_teams_licensing_details_request_builder.py index c77e6385f97..3bfdfbd9c66 100644 --- a/msgraph_beta/generated/service_principals/item/license_details/get_teams_licensing_details/get_teams_licensing_details_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/license_details/get_teams_licensing_details/get_teams_licensing_details_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar Returns: Optional[TeamsLicensingDetails] Find more info here: https://learn.microsoft.com/graph/api/licensedetails-getteamslicensingdetails?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> GetTeamsLicensingDetailsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GetTeamsLicensingDetailsRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GetTeamsLicensingDetailsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/license_details/item/license_details_item_request_builder.py b/msgraph_beta/generated/service_principals/item/license_details/item/license_details_item_request_builder.py index ae98f1d7dfd..3d42e63f521 100644 --- a/msgraph_beta/generated/service_principals/item/license_details/item/license_details_item_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/license_details/item/license_details_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[LicenseD param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LicenseDetails] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: LicenseDetails, request_configuration: Optional[Reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LicenseDetails] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: LicenseDetails, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> LicenseDetailsItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: LicenseDetailsItemRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return LicenseDetailsItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/license_details/license_details_request_builder.py b/msgraph_beta/generated/service_principals/item/license_details/license_details_request_builder.py index fc397a7c9f5..8ab00dbad93 100644 --- a/msgraph_beta/generated/service_principals/item/license_details/license_details_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/license_details/license_details_request_builder.py @@ -40,6 +40,7 @@ def by_license_details_id(self,license_details_id: str) -> LicenseDetailsItemReq param license_details_id: The unique identifier of licenseDetails Returns: LicenseDetailsItemRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if license_details_id is None: raise TypeError("license_details_id cannot be null.") from .item.license_details_item_request_builder import LicenseDetailsItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[LicenseD param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LicenseDetailsCollectionResponse] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: LicenseDetails, request_configuration: Optional[Reques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LicenseDetails] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: LicenseDetails, request_configuration param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> LicenseDetailsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: LicenseDetailsRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return LicenseDetailsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/lifecycle/compliance_issues/compliance_issues_request_builder.py b/msgraph_beta/generated/service_principals/item/lifecycle/compliance_issues/compliance_issues_request_builder.py new file mode 100644 index 00000000000..4cffaef278d --- /dev/null +++ b/msgraph_beta/generated/service_principals/item/lifecycle/compliance_issues/compliance_issues_request_builder.py @@ -0,0 +1,166 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.identity_governance.compliance_issue_collection_response import ComplianceIssueCollectionResponse + from .....models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + from .item.compliance_issue_item_request_builder import ComplianceIssueItemRequestBuilder + +class ComplianceIssuesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the complianceIssues property of the microsoft.graph.identityGovernance.identityLifecycle entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new ComplianceIssuesRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/lifecycle/complianceIssues{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_compliance_issue_id(self,compliance_issue_id: str) -> ComplianceIssueItemRequestBuilder: + """ + Provides operations to manage the complianceIssues property of the microsoft.graph.identityGovernance.identityLifecycle entity. + param compliance_issue_id: The unique identifier of complianceIssue + Returns: ComplianceIssueItemRequestBuilder + """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) + if compliance_issue_id is None: + raise TypeError("compliance_issue_id cannot be null.") + from .item.compliance_issue_item_request_builder import ComplianceIssueItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["complianceIssue%2Did"] = compliance_issue_id + return ComplianceIssueItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration[ComplianceIssuesRequestBuilderGetQueryParameters]] = None) -> Optional[ComplianceIssueCollectionResponse]: + """ + Get complianceIssues from servicePrincipals + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ComplianceIssueCollectionResponse] + """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.identity_governance.compliance_issue_collection_response import ComplianceIssueCollectionResponse + + return await self.request_adapter.send_async(request_info, ComplianceIssueCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ComplianceIssuesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get complianceIssues from servicePrincipals + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> ComplianceIssuesRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: ComplianceIssuesRequestBuilder + """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ComplianceIssuesRequestBuilder(self.request_adapter, raw_url) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class ComplianceIssuesRequestBuilderGetQueryParameters(): + """ + Get complianceIssues from servicePrincipals + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[list[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[list[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class ComplianceIssuesRequestBuilderGetRequestConfiguration(RequestConfiguration[ComplianceIssuesRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/service_principals/item/lifecycle/compliance_issues/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/lifecycle/compliance_issues/count/count_request_builder.py new file mode 100644 index 00000000000..610b364c07c --- /dev/null +++ b/msgraph_beta/generated/service_principals/item/lifecycle/compliance_issues/count/count_request_builder.py @@ -0,0 +1,107 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/lifecycle/complianceIssues/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/service_principals/item/lifecycle/compliance_issues/item/compliance_issue_item_request_builder.py b/msgraph_beta/generated/service_principals/item/lifecycle/compliance_issues/item/compliance_issue_item_request_builder.py new file mode 100644 index 00000000000..85d638d5709 --- /dev/null +++ b/msgraph_beta/generated/service_principals/item/lifecycle/compliance_issues/item/compliance_issue_item_request_builder.py @@ -0,0 +1,110 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.identity_governance.compliance_issue import ComplianceIssue + from ......models.o_data_errors.o_data_error import ODataError + +class ComplianceIssueItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the complianceIssues property of the microsoft.graph.identityGovernance.identityLifecycle entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new ComplianceIssueItemRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/lifecycle/complianceIssues/{complianceIssue%2Did}{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[ComplianceIssueItemRequestBuilderGetQueryParameters]] = None) -> Optional[ComplianceIssue]: + """ + Get complianceIssues from servicePrincipals + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ComplianceIssue] + """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.identity_governance.compliance_issue import ComplianceIssue + + return await self.request_adapter.send_async(request_info, ComplianceIssue, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ComplianceIssueItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get complianceIssues from servicePrincipals + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> ComplianceIssueItemRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: ComplianceIssueItemRequestBuilder + """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ComplianceIssueItemRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class ComplianceIssueItemRequestBuilderGetQueryParameters(): + """ + Get complianceIssues from servicePrincipals + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[list[str]] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + + @dataclass + class ComplianceIssueItemRequestBuilderGetRequestConfiguration(RequestConfiguration[ComplianceIssueItemRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/service_principals/item/lifecycle/effective_governing_policy/effective_governing_policy_request_builder.py b/msgraph_beta/generated/service_principals/item/lifecycle/effective_governing_policy/effective_governing_policy_request_builder.py new file mode 100644 index 00000000000..3efcd0f08cc --- /dev/null +++ b/msgraph_beta/generated/service_principals/item/lifecycle/effective_governing_policy/effective_governing_policy_request_builder.py @@ -0,0 +1,110 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.identity_governance.lifecycle_policy import LifecyclePolicy + from .....models.o_data_errors.o_data_error import ODataError + +class EffectiveGoverningPolicyRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the effectiveGoverningPolicy property of the microsoft.graph.identityGovernance.identityLifecycle entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new EffectiveGoverningPolicyRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/lifecycle/effectiveGoverningPolicy{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[EffectiveGoverningPolicyRequestBuilderGetQueryParameters]] = None) -> Optional[LifecyclePolicy]: + """ + Get effectiveGoverningPolicy from servicePrincipals + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[LifecyclePolicy] + """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.identity_governance.lifecycle_policy import LifecyclePolicy + + return await self.request_adapter.send_async(request_info, LifecyclePolicy, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[EffectiveGoverningPolicyRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get effectiveGoverningPolicy from servicePrincipals + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> EffectiveGoverningPolicyRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: EffectiveGoverningPolicyRequestBuilder + """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return EffectiveGoverningPolicyRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class EffectiveGoverningPolicyRequestBuilderGetQueryParameters(): + """ + Get effectiveGoverningPolicy from servicePrincipals + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[list[str]] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + + @dataclass + class EffectiveGoverningPolicyRequestBuilderGetRequestConfiguration(RequestConfiguration[EffectiveGoverningPolicyRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/service_principals/item/lifecycle/lifecycle_request_builder.py b/msgraph_beta/generated/service_principals/item/lifecycle/lifecycle_request_builder.py new file mode 100644 index 00000000000..e062728f68c --- /dev/null +++ b/msgraph_beta/generated/service_principals/item/lifecycle/lifecycle_request_builder.py @@ -0,0 +1,215 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ....models.identity_governance.identity_lifecycle import IdentityLifecycle + from ....models.o_data_errors.o_data_error import ODataError + from .compliance_issues.compliance_issues_request_builder import ComplianceIssuesRequestBuilder + from .effective_governing_policy.effective_governing_policy_request_builder import EffectiveGoverningPolicyRequestBuilder + +class LifecycleRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the lifecycle property of the microsoft.graph.servicePrincipal entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new LifecycleRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/lifecycle{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Delete navigation property lifecycle for servicePrincipals + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) + request_info = self.to_delete_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration[LifecycleRequestBuilderGetQueryParameters]] = None) -> Optional[IdentityLifecycle]: + """ + Get lifecycle from servicePrincipals + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[IdentityLifecycle] + """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) + request_info = self.to_get_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ....models.identity_governance.identity_lifecycle import IdentityLifecycle + + return await self.request_adapter.send_async(request_info, IdentityLifecycle, error_mapping) + + async def patch(self,body: IdentityLifecycle, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[IdentityLifecycle]: + """ + Update the navigation property lifecycle in servicePrincipals + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[IdentityLifecycle] + """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ....models.identity_governance.identity_lifecycle import IdentityLifecycle + + return await self.request_adapter.send_async(request_info, IdentityLifecycle, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Delete navigation property lifecycle for servicePrincipals + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) + request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[LifecycleRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get lifecycle from servicePrincipals + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: IdentityLifecycle, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update the navigation property lifecycle in servicePrincipals + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> LifecycleRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: LifecycleRequestBuilder + """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return LifecycleRequestBuilder(self.request_adapter, raw_url) + + @property + def compliance_issues(self) -> ComplianceIssuesRequestBuilder: + """ + Provides operations to manage the complianceIssues property of the microsoft.graph.identityGovernance.identityLifecycle entity. + """ + from .compliance_issues.compliance_issues_request_builder import ComplianceIssuesRequestBuilder + + return ComplianceIssuesRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def effective_governing_policy(self) -> EffectiveGoverningPolicyRequestBuilder: + """ + Provides operations to manage the effectiveGoverningPolicy property of the microsoft.graph.identityGovernance.identityLifecycle entity. + """ + from .effective_governing_policy.effective_governing_policy_request_builder import EffectiveGoverningPolicyRequestBuilder + + return EffectiveGoverningPolicyRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class LifecycleRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class LifecycleRequestBuilderGetQueryParameters(): + """ + Get lifecycle from servicePrincipals + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[list[str]] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + + @dataclass + class LifecycleRequestBuilderGetRequestConfiguration(RequestConfiguration[LifecycleRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + @dataclass + class LifecycleRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/service_principals/item/member_of/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/member_of/count/count_request_builder.py index 890f318988d..7e2e862a8be 100644 --- a/msgraph_beta/generated/service_principals/item/member_of/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/member_of/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/member_of/graph_administrative_unit/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/member_of/graph_administrative_unit/count/count_request_builder.py index d1d4e741165..8032edd6f54 100644 --- a/msgraph_beta/generated/service_principals/item/member_of/graph_administrative_unit/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/member_of/graph_administrative_unit/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py b/msgraph_beta/generated/service_principals/item/member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py index 44a2ae334b7..affde5cf7ee 100644 --- a/msgraph_beta/generated/service_principals/item/member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphAdm param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AdministrativeUnitCollectionResponse] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> GraphAdministrativeUnitRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GraphAdministrativeUnitRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GraphAdministrativeUnitRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/member_of/graph_directory_role/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/member_of/graph_directory_role/count/count_request_builder.py index 3e768f67a79..c3cb0c8039a 100644 --- a/msgraph_beta/generated/service_principals/item/member_of/graph_directory_role/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/member_of/graph_directory_role/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/member_of/graph_directory_role/graph_directory_role_request_builder.py b/msgraph_beta/generated/service_principals/item/member_of/graph_directory_role/graph_directory_role_request_builder.py index 584b1d714a9..3f2c87fae3c 100644 --- a/msgraph_beta/generated/service_principals/item/member_of/graph_directory_role/graph_directory_role_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/member_of/graph_directory_role/graph_directory_role_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphDir param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryRoleCollectionResponse] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> GraphDirectoryRoleRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GraphDirectoryRoleRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GraphDirectoryRoleRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/member_of/graph_group/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/member_of/graph_group/count/count_request_builder.py index 09a6a2241b7..30dc7223225 100644 --- a/msgraph_beta/generated/service_principals/item/member_of/graph_group/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/member_of/graph_group/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/member_of/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/service_principals/item/member_of/graph_group/graph_group_request_builder.py index 0da9fd135ae..430c85a2a4d 100644 --- a/msgraph_beta/generated/service_principals/item/member_of/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/member_of/graph_group/graph_group_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphGro param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GroupCollectionResponse] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> GraphGroupRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GraphGroupRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GraphGroupRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/member_of/item/directory_object_item_request_builder.py b/msgraph_beta/generated/service_principals/item/member_of/item/directory_object_item_request_builder.py index 2f7b1e9bdb2..99287b953c3 100644 --- a/msgraph_beta/generated/service_principals/item/member_of/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/member_of/item/directory_object_item_request_builder.py @@ -39,6 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,6 +72,7 @@ def with_url(self,raw_url: str) -> DirectoryObjectItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryObjectItemRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryObjectItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py b/msgraph_beta/generated/service_principals/item/member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py index 4f25f0070bf..b0f4e2b4a5d 100644 --- a/msgraph_beta/generated/service_principals/item/member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphAdm param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AdministrativeUnit] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> GraphAdministrativeUnitRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GraphAdministrativeUnitRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GraphAdministrativeUnitRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/member_of/item/graph_directory_role/graph_directory_role_request_builder.py b/msgraph_beta/generated/service_principals/item/member_of/item/graph_directory_role/graph_directory_role_request_builder.py index f712799ef80..7a523cfd423 100644 --- a/msgraph_beta/generated/service_principals/item/member_of/item/graph_directory_role/graph_directory_role_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/member_of/item/graph_directory_role/graph_directory_role_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphDir param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryRole] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> GraphDirectoryRoleRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GraphDirectoryRoleRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GraphDirectoryRoleRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/member_of/item/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/service_principals/item/member_of/item/graph_group/graph_group_request_builder.py index e84c6492192..69a244fa8ff 100644 --- a/msgraph_beta/generated/service_principals/item/member_of/item/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/member_of/item/graph_group/graph_group_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphGro param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Group] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> GraphGroupRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GraphGroupRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GraphGroupRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/member_of/member_of_request_builder.py b/msgraph_beta/generated/service_principals/item/member_of/member_of_request_builder.py index c5ba810fe19..67b53edc3d4 100644 --- a/msgraph_beta/generated/service_principals/item/member_of/member_of_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/member_of/member_of_request_builder.py @@ -41,6 +41,7 @@ def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItem param directory_object_id: The unique identifier of directoryObject Returns: DirectoryObjectItemRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if directory_object_id is None: raise TypeError("directory_object_id cannot be null.") from .item.directory_object_item_request_builder import DirectoryObjectItemRequestBuilder @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MemberOf Returns: Optional[DirectoryObjectCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-list-memberof?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -87,6 +90,7 @@ def with_url(self,raw_url: str) -> MemberOfRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MemberOfRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MemberOfRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/microsoft_graph_identity_governance_attest/microsoft_graph_identity_governance_attest_request_builder.py b/msgraph_beta/generated/service_principals/item/microsoft_graph_identity_governance_attest/microsoft_graph_identity_governance_attest_request_builder.py new file mode 100644 index 00000000000..9ebc2c06443 --- /dev/null +++ b/msgraph_beta/generated/service_principals/item/microsoft_graph_identity_governance_attest/microsoft_graph_identity_governance_attest_request_builder.py @@ -0,0 +1,81 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ....models.o_data_errors.o_data_error import ODataError + +class MicrosoftGraphIdentityGovernanceAttestRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the attest method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new MicrosoftGraphIdentityGovernanceAttestRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/microsoft.graph.identityGovernance.attest", path_parameters) + + async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Invoke action attest + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) + request_info = self.to_post_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action attest + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> MicrosoftGraphIdentityGovernanceAttestRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: MicrosoftGraphIdentityGovernanceAttestRequestBuilder + """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return MicrosoftGraphIdentityGovernanceAttestRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class MicrosoftGraphIdentityGovernanceAttestRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/service_principals/item/oauth2_permission_grants/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/oauth2_permission_grants/count/count_request_builder.py index 98c9f67ffa5..a57fdcb3d64 100644 --- a/msgraph_beta/generated/service_principals/item/oauth2_permission_grants/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/oauth2_permission_grants/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/oauth2_permission_grants/item/o_auth2_permission_grant_item_request_builder.py b/msgraph_beta/generated/service_principals/item/oauth2_permission_grants/item/o_auth2_permission_grant_item_request_builder.py index f75a06167cb..339bc4ea665 100644 --- a/msgraph_beta/generated/service_principals/item/oauth2_permission_grants/item/o_auth2_permission_grant_item_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/oauth2_permission_grants/item/o_auth2_permission_grant_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[OAuth2Pe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OAuth2PermissionGrant] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> OAuth2PermissionGrantItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: OAuth2PermissionGrantItemRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return OAuth2PermissionGrantItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/oauth2_permission_grants/oauth2_permission_grants_request_builder.py b/msgraph_beta/generated/service_principals/item/oauth2_permission_grants/oauth2_permission_grants_request_builder.py index 41784f2547f..e45ee0ce7d4 100644 --- a/msgraph_beta/generated/service_principals/item/oauth2_permission_grants/oauth2_permission_grants_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/oauth2_permission_grants/oauth2_permission_grants_request_builder.py @@ -38,6 +38,7 @@ def by_o_auth2_permission_grant_id(self,o_auth2_permission_grant_id: str) -> OAu param o_auth2_permission_grant_id: The unique identifier of oAuth2PermissionGrant Returns: OAuth2PermissionGrantItemRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if o_auth2_permission_grant_id is None: raise TypeError("o_auth2_permission_grant_id cannot be null.") from .item.o_auth2_permission_grant_item_request_builder import OAuth2PermissionGrantItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Oauth2Pe Returns: Optional[OAuth2PermissionGrantCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-list-oauth2permissiongrants?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -73,6 +75,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -84,6 +87,7 @@ def with_url(self,raw_url: str) -> Oauth2PermissionGrantsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: Oauth2PermissionGrantsRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return Oauth2PermissionGrantsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/owned_objects/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/owned_objects/count/count_request_builder.py index caf842c913b..9c3165ad226 100644 --- a/msgraph_beta/generated/service_principals/item/owned_objects/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owned_objects/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/owned_objects/graph_app_role_assignment/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/owned_objects/graph_app_role_assignment/count/count_request_builder.py index 475031f489f..bbe89da2c2d 100644 --- a/msgraph_beta/generated/service_principals/item/owned_objects/graph_app_role_assignment/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owned_objects/graph_app_role_assignment/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/owned_objects/graph_app_role_assignment/graph_app_role_assignment_request_builder.py b/msgraph_beta/generated/service_principals/item/owned_objects/graph_app_role_assignment/graph_app_role_assignment_request_builder.py index 6cabfcacead..05b44bd5655 100644 --- a/msgraph_beta/generated/service_principals/item/owned_objects/graph_app_role_assignment/graph_app_role_assignment_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owned_objects/graph_app_role_assignment/graph_app_role_assignment_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphApp param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppRoleAssignmentCollectionResponse] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> GraphAppRoleAssignmentRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GraphAppRoleAssignmentRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GraphAppRoleAssignmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/owned_objects/graph_application/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/owned_objects/graph_application/count/count_request_builder.py index 3b5ef4180e5..64de8c6bdff 100644 --- a/msgraph_beta/generated/service_principals/item/owned_objects/graph_application/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owned_objects/graph_application/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/owned_objects/graph_application/graph_application_request_builder.py b/msgraph_beta/generated/service_principals/item/owned_objects/graph_application/graph_application_request_builder.py index 3510596f92b..7be7fdef1c5 100644 --- a/msgraph_beta/generated/service_principals/item/owned_objects/graph_application/graph_application_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owned_objects/graph_application/graph_application_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphApp param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApplicationCollectionResponse] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> GraphApplicationRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GraphApplicationRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GraphApplicationRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/owned_objects/graph_endpoint/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/owned_objects/graph_endpoint/count/count_request_builder.py index 8d4e093513c..481afcfdf1f 100644 --- a/msgraph_beta/generated/service_principals/item/owned_objects/graph_endpoint/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owned_objects/graph_endpoint/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/owned_objects/graph_endpoint/graph_endpoint_request_builder.py b/msgraph_beta/generated/service_principals/item/owned_objects/graph_endpoint/graph_endpoint_request_builder.py index acceeba7f83..51466f1883e 100644 --- a/msgraph_beta/generated/service_principals/item/owned_objects/graph_endpoint/graph_endpoint_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owned_objects/graph_endpoint/graph_endpoint_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphEnd param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EndpointCollectionResponse] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> GraphEndpointRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GraphEndpointRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GraphEndpointRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/owned_objects/graph_group/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/owned_objects/graph_group/count/count_request_builder.py index 99c6fe6b542..3d34d840ac1 100644 --- a/msgraph_beta/generated/service_principals/item/owned_objects/graph_group/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owned_objects/graph_group/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/owned_objects/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/service_principals/item/owned_objects/graph_group/graph_group_request_builder.py index 57ba1c3d50b..acba617a18e 100644 --- a/msgraph_beta/generated/service_principals/item/owned_objects/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owned_objects/graph_group/graph_group_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphGro param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GroupCollectionResponse] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> GraphGroupRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GraphGroupRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GraphGroupRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/owned_objects/graph_service_principal/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/owned_objects/graph_service_principal/count/count_request_builder.py index 8ebf8ee323b..4de3ad5f011 100644 --- a/msgraph_beta/generated/service_principals/item/owned_objects/graph_service_principal/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owned_objects/graph_service_principal/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/owned_objects/graph_service_principal/graph_service_principal_request_builder.py b/msgraph_beta/generated/service_principals/item/owned_objects/graph_service_principal/graph_service_principal_request_builder.py index 77203b86391..c41ff1a4ac2 100644 --- a/msgraph_beta/generated/service_principals/item/owned_objects/graph_service_principal/graph_service_principal_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owned_objects/graph_service_principal/graph_service_principal_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphSer param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServicePrincipalCollectionResponse] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> GraphServicePrincipalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GraphServicePrincipalRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GraphServicePrincipalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/owned_objects/item/directory_object_item_request_builder.py b/msgraph_beta/generated/service_principals/item/owned_objects/item/directory_object_item_request_builder.py index 226664544fb..80ad12c9058 100644 --- a/msgraph_beta/generated/service_principals/item/owned_objects/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owned_objects/item/directory_object_item_request_builder.py @@ -41,6 +41,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -61,6 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -72,6 +74,7 @@ def with_url(self,raw_url: str) -> DirectoryObjectItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryObjectItemRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryObjectItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/owned_objects/item/graph_app_role_assignment/graph_app_role_assignment_request_builder.py b/msgraph_beta/generated/service_principals/item/owned_objects/item/graph_app_role_assignment/graph_app_role_assignment_request_builder.py index 071b69eab15..63a3b7d1a5e 100644 --- a/msgraph_beta/generated/service_principals/item/owned_objects/item/graph_app_role_assignment/graph_app_role_assignment_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owned_objects/item/graph_app_role_assignment/graph_app_role_assignment_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphApp param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppRoleAssignment] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> GraphAppRoleAssignmentRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GraphAppRoleAssignmentRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GraphAppRoleAssignmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/owned_objects/item/graph_application/graph_application_request_builder.py b/msgraph_beta/generated/service_principals/item/owned_objects/item/graph_application/graph_application_request_builder.py index 56c4d081d68..c53c29e2713 100644 --- a/msgraph_beta/generated/service_principals/item/owned_objects/item/graph_application/graph_application_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owned_objects/item/graph_application/graph_application_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphApp param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Application] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> GraphApplicationRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GraphApplicationRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GraphApplicationRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/owned_objects/item/graph_endpoint/graph_endpoint_request_builder.py b/msgraph_beta/generated/service_principals/item/owned_objects/item/graph_endpoint/graph_endpoint_request_builder.py index f0455a82250..c117f3cc0f0 100644 --- a/msgraph_beta/generated/service_principals/item/owned_objects/item/graph_endpoint/graph_endpoint_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owned_objects/item/graph_endpoint/graph_endpoint_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphEnd param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Endpoint] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> GraphEndpointRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GraphEndpointRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GraphEndpointRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/owned_objects/item/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/service_principals/item/owned_objects/item/graph_group/graph_group_request_builder.py index bd4c1e1a754..a533c7d70dd 100644 --- a/msgraph_beta/generated/service_principals/item/owned_objects/item/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owned_objects/item/graph_group/graph_group_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphGro param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Group] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> GraphGroupRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GraphGroupRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GraphGroupRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/owned_objects/item/graph_service_principal/graph_service_principal_request_builder.py b/msgraph_beta/generated/service_principals/item/owned_objects/item/graph_service_principal/graph_service_principal_request_builder.py index b2112617fdd..1baef8865ca 100644 --- a/msgraph_beta/generated/service_principals/item/owned_objects/item/graph_service_principal/graph_service_principal_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owned_objects/item/graph_service_principal/graph_service_principal_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphSer param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServicePrincipal] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> GraphServicePrincipalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GraphServicePrincipalRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GraphServicePrincipalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/owned_objects/owned_objects_request_builder.py b/msgraph_beta/generated/service_principals/item/owned_objects/owned_objects_request_builder.py index 7e4da0aabd6..e24edf0f032 100644 --- a/msgraph_beta/generated/service_principals/item/owned_objects/owned_objects_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owned_objects/owned_objects_request_builder.py @@ -43,6 +43,7 @@ def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItem param directory_object_id: The unique identifier of directoryObject Returns: DirectoryObjectItemRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if directory_object_id is None: raise TypeError("directory_object_id cannot be null.") from .item.directory_object_item_request_builder import DirectoryObjectItemRequestBuilder @@ -58,6 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[OwnedObj Returns: Optional[DirectoryObjectCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-list-ownedobjects?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,6 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -89,6 +92,7 @@ def with_url(self,raw_url: str) -> OwnedObjectsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: OwnedObjectsRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return OwnedObjectsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/owners/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/owners/count/count_request_builder.py index 40549ccf9b6..27e56abe997 100644 --- a/msgraph_beta/generated/service_principals/item/owners/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owners/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/owners/graph_app_role_assignment/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/owners/graph_app_role_assignment/count/count_request_builder.py index aaade6472ca..7c3c2b8af03 100644 --- a/msgraph_beta/generated/service_principals/item/owners/graph_app_role_assignment/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owners/graph_app_role_assignment/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/owners/graph_app_role_assignment/graph_app_role_assignment_request_builder.py b/msgraph_beta/generated/service_principals/item/owners/graph_app_role_assignment/graph_app_role_assignment_request_builder.py index 27105260db9..dbcad5e02bf 100644 --- a/msgraph_beta/generated/service_principals/item/owners/graph_app_role_assignment/graph_app_role_assignment_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owners/graph_app_role_assignment/graph_app_role_assignment_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphApp param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppRoleAssignmentCollectionResponse] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> GraphAppRoleAssignmentRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GraphAppRoleAssignmentRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GraphAppRoleAssignmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/owners/graph_endpoint/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/owners/graph_endpoint/count/count_request_builder.py index 20471d81494..0a20f192224 100644 --- a/msgraph_beta/generated/service_principals/item/owners/graph_endpoint/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owners/graph_endpoint/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/owners/graph_endpoint/graph_endpoint_request_builder.py b/msgraph_beta/generated/service_principals/item/owners/graph_endpoint/graph_endpoint_request_builder.py index d940c7f0787..ee066467d8b 100644 --- a/msgraph_beta/generated/service_principals/item/owners/graph_endpoint/graph_endpoint_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owners/graph_endpoint/graph_endpoint_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphEnd param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EndpointCollectionResponse] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> GraphEndpointRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GraphEndpointRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GraphEndpointRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/owners/graph_service_principal/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/owners/graph_service_principal/count/count_request_builder.py index be7ba962bfe..a86a0480833 100644 --- a/msgraph_beta/generated/service_principals/item/owners/graph_service_principal/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owners/graph_service_principal/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/owners/graph_service_principal/graph_service_principal_request_builder.py b/msgraph_beta/generated/service_principals/item/owners/graph_service_principal/graph_service_principal_request_builder.py index aafcd2951d5..ee9147ee74b 100644 --- a/msgraph_beta/generated/service_principals/item/owners/graph_service_principal/graph_service_principal_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owners/graph_service_principal/graph_service_principal_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphSer param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServicePrincipalCollectionResponse] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> GraphServicePrincipalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GraphServicePrincipalRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GraphServicePrincipalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/owners/graph_user/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/owners/graph_user/count/count_request_builder.py index faa5311b106..44bc650e953 100644 --- a/msgraph_beta/generated/service_principals/item/owners/graph_user/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owners/graph_user/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/owners/graph_user/graph_user_request_builder.py b/msgraph_beta/generated/service_principals/item/owners/graph_user/graph_user_request_builder.py index db5f91328de..7b945354477 100644 --- a/msgraph_beta/generated/service_principals/item/owners/graph_user/graph_user_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owners/graph_user/graph_user_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphUse param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserCollectionResponse] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> GraphUserRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GraphUserRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GraphUserRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/owners/item/graph_app_role_assignment/graph_app_role_assignment_request_builder.py b/msgraph_beta/generated/service_principals/item/owners/item/graph_app_role_assignment/graph_app_role_assignment_request_builder.py index 5d04d588e85..edeaa4c0a92 100644 --- a/msgraph_beta/generated/service_principals/item/owners/item/graph_app_role_assignment/graph_app_role_assignment_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owners/item/graph_app_role_assignment/graph_app_role_assignment_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphApp param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppRoleAssignment] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> GraphAppRoleAssignmentRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GraphAppRoleAssignmentRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GraphAppRoleAssignmentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/owners/item/graph_endpoint/graph_endpoint_request_builder.py b/msgraph_beta/generated/service_principals/item/owners/item/graph_endpoint/graph_endpoint_request_builder.py index e2def4c73ad..64c699ba160 100644 --- a/msgraph_beta/generated/service_principals/item/owners/item/graph_endpoint/graph_endpoint_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owners/item/graph_endpoint/graph_endpoint_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphEnd param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Endpoint] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> GraphEndpointRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GraphEndpointRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GraphEndpointRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/owners/item/graph_service_principal/graph_service_principal_request_builder.py b/msgraph_beta/generated/service_principals/item/owners/item/graph_service_principal/graph_service_principal_request_builder.py index 1fa3cf68fb7..59b535b5c7b 100644 --- a/msgraph_beta/generated/service_principals/item/owners/item/graph_service_principal/graph_service_principal_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owners/item/graph_service_principal/graph_service_principal_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphSer param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServicePrincipal] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> GraphServicePrincipalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GraphServicePrincipalRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GraphServicePrincipalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/owners/item/graph_user/graph_user_request_builder.py b/msgraph_beta/generated/service_principals/item/owners/item/graph_user/graph_user_request_builder.py index dc73ee92f20..17913955f20 100644 --- a/msgraph_beta/generated/service_principals/item/owners/item/graph_user/graph_user_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owners/item/graph_user/graph_user_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphUse param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> GraphUserRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GraphUserRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GraphUserRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/owners/item/ref/ref_request_builder.py b/msgraph_beta/generated/service_principals/item/owners/item/ref/ref_request_builder.py index 68785e4961c..86bad1af42a 100644 --- a/msgraph_beta/generated/service_principals/item/owners/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owners/item/ref/ref_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-delete-owners?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> RefRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/owners/owners_request_builder.py b/msgraph_beta/generated/service_principals/item/owners/owners_request_builder.py index 1e259e98446..b533d766f63 100644 --- a/msgraph_beta/generated/service_principals/item/owners/owners_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owners/owners_request_builder.py @@ -57,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[OwnersRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObjectCollectionResponse] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -88,6 +90,7 @@ def with_url(self,raw_url: str) -> OwnersRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: OwnersRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return OwnersRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/owners/ref/ref_request_builder.py b/msgraph_beta/generated/service_principals/item/owners/ref/ref_request_builder.py index 8d762d44a8b..e3c1b082aaa 100644 --- a/msgraph_beta/generated/service_principals/item/owners/ref/ref_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owners/ref/ref_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[RefRe Returns: None Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-delete-owners?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RefReque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,6 +80,7 @@ async def post(self,body: ReferenceCreate, request_configuration: Optional[Reque Returns: None Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-post-owners?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, '{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/owners/$ref?@id={%40id}', self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_post_request_information(self,body: ReferenceCreate, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> RefRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/permission_grant_pre_approval_policies/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/permission_grant_pre_approval_policies/count/count_request_builder.py index 07db55c5741..670dc2005dc 100644 --- a/msgraph_beta/generated/service_principals/item/permission_grant_pre_approval_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/permission_grant_pre_approval_policies/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/permission_grant_pre_approval_policies/item/permission_grant_pre_approval_policy_item_request_builder.py b/msgraph_beta/generated/service_principals/item/permission_grant_pre_approval_policies/item/permission_grant_pre_approval_policy_item_request_builder.py index 297f659137e..342cadef65d 100644 --- a/msgraph_beta/generated/service_principals/item/permission_grant_pre_approval_policies/item/permission_grant_pre_approval_policy_item_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/permission_grant_pre_approval_policies/item/permission_grant_pre_approval_policy_item_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Permissi Returns: Optional[PermissionGrantPreApprovalPolicy] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-list-permissiongrantpreapprovalpolicies?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> PermissionGrantPreApprovalPolicyItemRequestBu param raw_url: The raw URL to use for the request builder. Returns: PermissionGrantPreApprovalPolicyItemRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PermissionGrantPreApprovalPolicyItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/permission_grant_pre_approval_policies/permission_grant_pre_approval_policies_request_builder.py b/msgraph_beta/generated/service_principals/item/permission_grant_pre_approval_policies/permission_grant_pre_approval_policies_request_builder.py index 3ab2dd3cbc7..c53ed9a6c99 100644 --- a/msgraph_beta/generated/service_principals/item/permission_grant_pre_approval_policies/permission_grant_pre_approval_policies_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/permission_grant_pre_approval_policies/permission_grant_pre_approval_policies_request_builder.py @@ -38,6 +38,7 @@ def by_permission_grant_pre_approval_policy_id(self,permission_grant_pre_approva param permission_grant_pre_approval_policy_id: The unique identifier of permissionGrantPreApprovalPolicy Returns: PermissionGrantPreApprovalPolicyItemRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if permission_grant_pre_approval_policy_id is None: raise TypeError("permission_grant_pre_approval_policy_id cannot be null.") from .item.permission_grant_pre_approval_policy_item_request_builder import PermissionGrantPreApprovalPolicyItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Permissi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionGrantPreApprovalPolicyCollectionResponse] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> PermissionGrantPreApprovalPoliciesRequestBuil param raw_url: The raw URL to use for the request builder. Returns: PermissionGrantPreApprovalPoliciesRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PermissionGrantPreApprovalPoliciesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/remote_desktop_security_configuration/approved_client_apps/approved_client_apps_request_builder.py b/msgraph_beta/generated/service_principals/item/remote_desktop_security_configuration/approved_client_apps/approved_client_apps_request_builder.py index 8f4139380bc..f0df87b7c69 100644 --- a/msgraph_beta/generated/service_principals/item/remote_desktop_security_configuration/approved_client_apps/approved_client_apps_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/remote_desktop_security_configuration/approved_client_apps/approved_client_apps_request_builder.py @@ -39,6 +39,7 @@ def by_approved_client_app_id(self,approved_client_app_id: str) -> ApprovedClien param approved_client_app_id: The unique identifier of approvedClientApp Returns: ApprovedClientAppItemRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if approved_client_app_id is None: raise TypeError("approved_client_app_id cannot be null.") from .item.approved_client_app_item_request_builder import ApprovedClientAppItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Approved Returns: Optional[ApprovedClientAppCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/remotedesktopsecurityconfiguration-list-approvedclientapps?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def post(self,body: ApprovedClientApp, request_configuration: Optional[Req Returns: Optional[ApprovedClientApp] Find more info here: https://learn.microsoft.com/graph/api/remotedesktopsecurityconfiguration-post-approvedclientapps?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -98,6 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_post_request_information(self,body: ApprovedClientApp, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -124,6 +129,7 @@ def with_url(self,raw_url: str) -> ApprovedClientAppsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ApprovedClientAppsRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ApprovedClientAppsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/remote_desktop_security_configuration/approved_client_apps/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/remote_desktop_security_configuration/approved_client_apps/count/count_request_builder.py index f2a1545fd38..75e31f23de8 100644 --- a/msgraph_beta/generated/service_principals/item/remote_desktop_security_configuration/approved_client_apps/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/remote_desktop_security_configuration/approved_client_apps/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/remote_desktop_security_configuration/approved_client_apps/item/approved_client_app_item_request_builder.py b/msgraph_beta/generated/service_principals/item/remote_desktop_security_configuration/approved_client_apps/item/approved_client_app_item_request_builder.py index 9f065ba4caf..03a851ca0d3 100644 --- a/msgraph_beta/generated/service_principals/item/remote_desktop_security_configuration/approved_client_apps/item/approved_client_app_item_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/remote_desktop_security_configuration/approved_client_apps/item/approved_client_app_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/remotedesktopsecurityconfiguration-delete-approvedclientapps?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Approved Returns: Optional[ApprovedClientApp] Find more info here: https://learn.microsoft.com/graph/api/approvedclientapp-get?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,6 +80,7 @@ async def patch(self,body: ApprovedClientApp, request_configuration: Optional[Re Returns: Optional[ApprovedClientApp] Find more info here: https://learn.microsoft.com/graph/api/approvedclientapp-update?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,6 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -111,6 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -123,6 +128,7 @@ def to_patch_request_information(self,body: ApprovedClientApp, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -137,6 +143,7 @@ def with_url(self,raw_url: str) -> ApprovedClientAppItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ApprovedClientAppItemRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ApprovedClientAppItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/remote_desktop_security_configuration/remote_desktop_security_configuration_request_builder.py b/msgraph_beta/generated/service_principals/item/remote_desktop_security_configuration/remote_desktop_security_configuration_request_builder.py index 7051c7ee806..be0d69b5df0 100644 --- a/msgraph_beta/generated/service_principals/item/remote_desktop_security_configuration/remote_desktop_security_configuration_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/remote_desktop_security_configuration/remote_desktop_security_configuration_request_builder.py @@ -39,6 +39,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-delete-remotedesktopsecurityconfiguration?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,6 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RemoteDe Returns: Optional[RemoteDesktopSecurityConfiguration] Find more info here: https://learn.microsoft.com/graph/api/remotedesktopsecurityconfiguration-get?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,6 +82,7 @@ async def patch(self,body: RemoteDesktopSecurityConfiguration, request_configura Returns: Optional[RemoteDesktopSecurityConfiguration] Find more info here: https://learn.microsoft.com/graph/api/remotedesktopsecurityconfiguration-update?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -102,6 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,6 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,6 +130,7 @@ def to_patch_request_information(self,body: RemoteDesktopSecurityConfiguration, param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -139,6 +145,7 @@ def with_url(self,raw_url: str) -> RemoteDesktopSecurityConfigurationRequestBuil param raw_url: The raw URL to use for the request builder. Returns: RemoteDesktopSecurityConfigurationRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RemoteDesktopSecurityConfigurationRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/remote_desktop_security_configuration/target_device_groups/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/remote_desktop_security_configuration/target_device_groups/count/count_request_builder.py index 1e142a616c9..a416c032447 100644 --- a/msgraph_beta/generated/service_principals/item/remote_desktop_security_configuration/target_device_groups/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/remote_desktop_security_configuration/target_device_groups/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/remote_desktop_security_configuration/target_device_groups/item/target_device_group_item_request_builder.py b/msgraph_beta/generated/service_principals/item/remote_desktop_security_configuration/target_device_groups/item/target_device_group_item_request_builder.py index 08fd9dc9acc..b8368d2d8fc 100644 --- a/msgraph_beta/generated/service_principals/item/remote_desktop_security_configuration/target_device_groups/item/target_device_group_item_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/remote_desktop_security_configuration/target_device_groups/item/target_device_group_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/remotedesktopsecurityconfiguration-delete-targetdevicegroups?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TargetDe Returns: Optional[TargetDeviceGroup] Find more info here: https://learn.microsoft.com/graph/api/targetdevicegroup-get?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,6 +80,7 @@ async def patch(self,body: TargetDeviceGroup, request_configuration: Optional[Re Returns: Optional[TargetDeviceGroup] Find more info here: https://learn.microsoft.com/graph/api/targetdevicegroup-update?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,6 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -111,6 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -123,6 +128,7 @@ def to_patch_request_information(self,body: TargetDeviceGroup, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -137,6 +143,7 @@ def with_url(self,raw_url: str) -> TargetDeviceGroupItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TargetDeviceGroupItemRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TargetDeviceGroupItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/remote_desktop_security_configuration/target_device_groups/target_device_groups_request_builder.py b/msgraph_beta/generated/service_principals/item/remote_desktop_security_configuration/target_device_groups/target_device_groups_request_builder.py index ee51b68df8c..17b0434b85a 100644 --- a/msgraph_beta/generated/service_principals/item/remote_desktop_security_configuration/target_device_groups/target_device_groups_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/remote_desktop_security_configuration/target_device_groups/target_device_groups_request_builder.py @@ -39,6 +39,7 @@ def by_target_device_group_id(self,target_device_group_id: str) -> TargetDeviceG param target_device_group_id: The unique identifier of targetDeviceGroup Returns: TargetDeviceGroupItemRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if target_device_group_id is None: raise TypeError("target_device_group_id cannot be null.") from .item.target_device_group_item_request_builder import TargetDeviceGroupItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TargetDe Returns: Optional[TargetDeviceGroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/remotedesktopsecurityconfiguration-list-targetdevicegroups?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def post(self,body: TargetDeviceGroup, request_configuration: Optional[Req Returns: Optional[TargetDeviceGroup] Find more info here: https://learn.microsoft.com/graph/api/remotedesktopsecurityconfiguration-post-targetdevicegroups?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -98,6 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_post_request_information(self,body: TargetDeviceGroup, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -124,6 +129,7 @@ def with_url(self,raw_url: str) -> TargetDeviceGroupsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TargetDeviceGroupsRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TargetDeviceGroupsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/restore/restore_request_builder.py b/msgraph_beta/generated/service_principals/item/restore/restore_request_builder.py index 035d2477b05..4e418a90cbe 100644 --- a/msgraph_beta/generated/service_principals/item/restore/restore_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/restore/restore_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[DirectoryObject] Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> RestoreRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RestoreRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RestoreRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/service_principal_item_request_builder.py b/msgraph_beta/generated/service_principals/item/service_principal_item_request_builder.py index e6ae99938cc..551ca90ecd6 100644 --- a/msgraph_beta/generated/service_principals/item/service_principal_item_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/service_principal_item_request_builder.py @@ -36,7 +36,9 @@ from .get_password_single_sign_on_credentials.get_password_single_sign_on_credentials_request_builder import GetPasswordSingleSignOnCredentialsRequestBuilder from .home_realm_discovery_policies.home_realm_discovery_policies_request_builder import HomeRealmDiscoveryPoliciesRequestBuilder from .license_details.license_details_request_builder import LicenseDetailsRequestBuilder + from .lifecycle.lifecycle_request_builder import LifecycleRequestBuilder from .member_of.member_of_request_builder import MemberOfRequestBuilder + from .microsoft_graph_identity_governance_attest.microsoft_graph_identity_governance_attest_request_builder import MicrosoftGraphIdentityGovernanceAttestRequestBuilder from .oauth2_permission_grants.oauth2_permission_grants_request_builder import Oauth2PermissionGrantsRequestBuilder from .owned_objects.owned_objects_request_builder import OwnedObjectsRequestBuilder from .owners.owners_request_builder import OwnersRequestBuilder @@ -69,6 +71,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-delete?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -87,6 +90,7 @@ def federated_identity_credentials_with_name(self,name: str) -> FederatedIdentit param name: Alternate key of federatedIdentityCredential Returns: FederatedIdentityCredentialsWithNameRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if name is None: raise TypeError("name cannot be null.") from .federated_identity_credentials_with_name.federated_identity_credentials_with_name_request_builder import FederatedIdentityCredentialsWithNameRequestBuilder @@ -100,6 +104,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP Returns: Optional[ServicePrincipal] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-get?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -122,6 +127,7 @@ async def patch(self,body: ServicePrincipal, request_configuration: Optional[Req Returns: Optional[ServicePrincipal] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-upsert?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -144,6 +150,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -155,6 +162,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -167,6 +175,7 @@ def to_patch_request_information(self,body: ServicePrincipal, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -181,6 +190,7 @@ def with_url(self,raw_url: str) -> ServicePrincipalItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServicePrincipalItemRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServicePrincipalItemRequestBuilder(self.request_adapter, raw_url) @@ -356,6 +366,15 @@ def license_details(self) -> LicenseDetailsRequestBuilder: return LicenseDetailsRequestBuilder(self.request_adapter, self.path_parameters) + @property + def lifecycle(self) -> LifecycleRequestBuilder: + """ + Provides operations to manage the lifecycle property of the microsoft.graph.servicePrincipal entity. + """ + from .lifecycle.lifecycle_request_builder import LifecycleRequestBuilder + + return LifecycleRequestBuilder(self.request_adapter, self.path_parameters) + @property def member_of(self) -> MemberOfRequestBuilder: """ @@ -365,6 +384,15 @@ def member_of(self) -> MemberOfRequestBuilder: return MemberOfRequestBuilder(self.request_adapter, self.path_parameters) + @property + def microsoft_graph_identity_governance_attest(self) -> MicrosoftGraphIdentityGovernanceAttestRequestBuilder: + """ + Provides operations to call the attest method. + """ + from .microsoft_graph_identity_governance_attest.microsoft_graph_identity_governance_attest_request_builder import MicrosoftGraphIdentityGovernanceAttestRequestBuilder + + return MicrosoftGraphIdentityGovernanceAttestRequestBuilder(self.request_adapter, self.path_parameters) + @property def oauth2_permission_grants(self) -> Oauth2PermissionGrantsRequestBuilder: """ diff --git a/msgraph_beta/generated/service_principals/item/synchronization/jobs/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/synchronization/jobs/count/count_request_builder.py index ef8c6dbd6ec..0cb99b0b0d7 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/jobs/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/jobs/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/bulk_upload/bulk_upload_request_builder.py b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/bulk_upload/bulk_upload_request_builder.py index 5a416fd350c..b142d05f45b 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/bulk_upload/bulk_upload_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/bulk_upload/bulk_upload_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[BulkUplo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BulkUpload] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: BulkUpload, request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BulkUpload] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: BulkUpload, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> BulkUploadRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BulkUploadRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BulkUploadRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/bulk_upload/value/content_request_builder.py b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/bulk_upload/value/content_request_builder.py index 207b0949170..bca00351874 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/bulk_upload/value/content_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/bulk_upload/value/content_request_builder.py @@ -35,6 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ async def put(self,body: bytes, request_configuration: Optional[RequestConfigura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_put_request_information( @@ -92,6 +95,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -103,6 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/octet-stream, application/json") @@ -115,6 +120,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PUT, self.url_template, self.path_parameters) @@ -129,6 +135,7 @@ def with_url(self,raw_url: str) -> ContentRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ContentRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ContentRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/pause/pause_request_builder.py b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/pause/pause_request_builder.py index 0214000f90b..bf55be38f1d 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/pause/pause_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/pause/pause_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/synchronization-synchronizationjob-pause?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> PauseRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PauseRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PauseRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/provision_on_demand/provision_on_demand_request_builder.py b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/provision_on_demand/provision_on_demand_request_builder.py index 0ae7edbccc4..ee975c073fd 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/provision_on_demand/provision_on_demand_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/provision_on_demand/provision_on_demand_request_builder.py @@ -39,6 +39,7 @@ async def post(self,body: ProvisionOnDemandPostRequestBody, request_configuratio Returns: Optional[StringKeyStringValuePair] Find more info here: https://learn.microsoft.com/graph/api/synchronization-synchronizationjob-provisionondemand?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -62,6 +63,7 @@ def to_post_request_information(self,body: ProvisionOnDemandPostRequestBody, req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -76,6 +78,7 @@ def with_url(self,raw_url: str) -> ProvisionOnDemandRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ProvisionOnDemandRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ProvisionOnDemandRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/restart/restart_request_builder.py b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/restart/restart_request_builder.py index 229ecb3bea8..93a44f5cfbb 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/restart/restart_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/restart/restart_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: RestartPostRequestBody, request_configuration: Optiona Returns: None Find more info here: https://learn.microsoft.com/graph/api/synchronization-synchronizationjob-restart?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: RestartPostRequestBody, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> RestartRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RestartRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RestartRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/directories/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/directories/count/count_request_builder.py index 7ce97bc4f13..c513efba2f8 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/directories/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/directories/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/directories/directories_request_builder.py b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/directories/directories_request_builder.py index da0908feb28..c9d167b3dcc 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/directories/directories_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/directories/directories_request_builder.py @@ -39,6 +39,7 @@ def by_directory_definition_id(self,directory_definition_id: str) -> DirectoryDe param directory_definition_id: The unique identifier of directoryDefinition Returns: DirectoryDefinitionItemRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if directory_definition_id is None: raise TypeError("directory_definition_id cannot be null.") from .item.directory_definition_item_request_builder import DirectoryDefinitionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryDefinitionCollectionResponse] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: DirectoryDefinition, request_configuration: Optional[R param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryDefinition] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: DirectoryDefinition, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> DirectoriesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoriesRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoriesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/directories/item/directory_definition_item_request_builder.py b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/directories/item/directory_definition_item_request_builder.py index f13f4234278..4be3d4cec2e 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/directories/item/directory_definition_item_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/directories/item/directory_definition_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryDefinition] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: DirectoryDefinition, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryDefinition] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: DirectoryDefinition, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> DirectoryDefinitionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryDefinitionItemRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryDefinitionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/directories/item/discover/discover_request_builder.py b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/directories/item/discover/discover_request_builder.py index 4b56583c830..35c7ed4bca9 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/directories/item/discover/discover_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/directories/item/discover/discover_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[DirectoryDefinition] Find more info here: https://learn.microsoft.com/graph/api/synchronization-directorydefinition-discover?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> DiscoverRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DiscoverRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DiscoverRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/filter_operators/filter_operators_request_builder.py b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/filter_operators/filter_operators_request_builder.py index a6e87a4b3b5..6f1d5b1a40b 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/filter_operators/filter_operators_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/filter_operators/filter_operators_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterOp Returns: Optional[FilterOperatorsGetResponse] Find more info here: https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-filteroperators?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> FilterOperatorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterOperatorsRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterOperatorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/functions/functions_request_builder.py b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/functions/functions_request_builder.py index ca813266595..2bb81619653 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/functions/functions_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/functions/functions_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Function Returns: Optional[FunctionsGetResponse] Find more info here: https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-functions?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> FunctionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FunctionsRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FunctionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/parse_expression/parse_expression_request_builder.py b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/parse_expression/parse_expression_request_builder.py index 679e9989c78..6bcbcd8bae6 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/parse_expression/parse_expression_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/parse_expression/parse_expression_request_builder.py @@ -39,6 +39,7 @@ async def post(self,body: ParseExpressionPostRequestBody, request_configuration: Returns: Optional[ParseExpressionResponse] Find more info here: https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-parseexpression?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -62,6 +63,7 @@ def to_post_request_information(self,body: ParseExpressionPostRequestBody, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -76,6 +78,7 @@ def with_url(self,raw_url: str) -> ParseExpressionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ParseExpressionRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ParseExpressionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/schema_request_builder.py b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/schema_request_builder.py index 6056ce4d6fc..92ed1d9c577 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/schema_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/schema/schema_request_builder.py @@ -40,6 +40,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,6 +60,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SchemaRe Returns: Optional[SynchronizationSchema] Find more info here: https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-get?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,6 +83,7 @@ async def patch(self,body: SynchronizationSchema, request_configuration: Optiona Returns: Optional[SynchronizationSchema] Find more info here: https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-update?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,6 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -114,6 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,6 +131,7 @@ def to_patch_request_information(self,body: SynchronizationSchema, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,6 +146,7 @@ def with_url(self,raw_url: str) -> SchemaRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SchemaRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SchemaRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/start/start_request_builder.py b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/start/start_request_builder.py index d6c28414661..d70bd9e6b97 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/start/start_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/start/start_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/synchronization-synchronizationjob-start?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> StartRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: StartRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return StartRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/synchronization_job_item_request_builder.py b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/synchronization_job_item_request_builder.py index 4cb7da32215..149e837de21 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/synchronization_job_item_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/synchronization_job_item_request_builder.py @@ -44,6 +44,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/synchronization-synchronizationjob-delete?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -63,6 +64,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Synchron Returns: Optional[SynchronizationJob] Find more info here: https://learn.microsoft.com/graph/api/synchronization-synchronizationjob-get?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -84,6 +86,7 @@ async def patch(self,body: SynchronizationJob, request_configuration: Optional[R param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SynchronizationJob] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -106,6 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -117,6 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -129,6 +134,7 @@ def to_patch_request_information(self,body: SynchronizationJob, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -143,6 +149,7 @@ def with_url(self,raw_url: str) -> SynchronizationJobItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SynchronizationJobItemRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SynchronizationJobItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/synchronization/jobs/jobs_request_builder.py b/msgraph_beta/generated/service_principals/item/synchronization/jobs/jobs_request_builder.py index 0c4239f1c9c..dad6829a7dc 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/jobs/jobs_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/jobs/jobs_request_builder.py @@ -40,6 +40,7 @@ def by_synchronization_job_id(self,synchronization_job_id: str) -> Synchronizati param synchronization_job_id: The unique identifier of synchronizationJob Returns: SynchronizationJobItemRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if synchronization_job_id is None: raise TypeError("synchronization_job_id cannot be null.") from .item.synchronization_job_item_request_builder import SynchronizationJobItemRequestBuilder @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[JobsRequ Returns: Optional[SynchronizationJobCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/synchronization-synchronization-list-jobs?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def post(self,body: SynchronizationJob, request_configuration: Optional[Re Returns: Optional[SynchronizationJob] Find more info here: https://learn.microsoft.com/graph/api/synchronization-synchronization-post-jobs?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,6 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -111,6 +115,7 @@ def to_post_request_information(self,body: SynchronizationJob, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -125,6 +130,7 @@ def with_url(self,raw_url: str) -> JobsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: JobsRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return JobsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/synchronization/ping/ping_request_builder.py b/msgraph_beta/generated/service_principals/item/synchronization/ping/ping_request_builder.py index f03d67054e8..b68989f2505 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/ping/ping_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/ping/ping_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PingGetResponse] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> PingRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PingRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PingRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/synchronization/synchronization_request_builder.py b/msgraph_beta/generated/service_principals/item/synchronization/synchronization_request_builder.py index 355c5414e9d..a19483b4509 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/synchronization_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/synchronization_request_builder.py @@ -41,6 +41,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,6 +60,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Synchron param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Synchronization] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,6 +82,7 @@ async def put(self,body: Synchronization, request_configuration: Optional[Reques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Synchronization] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_put_request_information( @@ -102,6 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,6 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,6 +130,7 @@ def to_put_request_information(self,body: Synchronization, request_configuration param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PUT, self.url_template, self.path_parameters) @@ -139,6 +145,7 @@ def with_url(self,raw_url: str) -> SynchronizationRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SynchronizationRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SynchronizationRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/synchronization/templates/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/synchronization/templates/count/count_request_builder.py index 5f85c2b098e..11d75c56311 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/templates/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/templates/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/directories/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/directories/count/count_request_builder.py index 1cbbe1761d3..138f7abbc0d 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/directories/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/directories/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/directories/directories_request_builder.py b/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/directories/directories_request_builder.py index 2e5be6425ac..7f11697e48a 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/directories/directories_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/directories/directories_request_builder.py @@ -39,6 +39,7 @@ def by_directory_definition_id(self,directory_definition_id: str) -> DirectoryDe param directory_definition_id: The unique identifier of directoryDefinition Returns: DirectoryDefinitionItemRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if directory_definition_id is None: raise TypeError("directory_definition_id cannot be null.") from .item.directory_definition_item_request_builder import DirectoryDefinitionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryDefinitionCollectionResponse] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: DirectoryDefinition, request_configuration: Optional[R param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryDefinition] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: DirectoryDefinition, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> DirectoriesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoriesRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoriesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/directories/item/directory_definition_item_request_builder.py b/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/directories/item/directory_definition_item_request_builder.py index 395d8cc4936..30512fdc4e8 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/directories/item/directory_definition_item_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/directories/item/directory_definition_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryDefinition] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: DirectoryDefinition, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryDefinition] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: DirectoryDefinition, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> DirectoryDefinitionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryDefinitionItemRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryDefinitionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/directories/item/discover/discover_request_builder.py b/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/directories/item/discover/discover_request_builder.py index 2f8f5b5b9c3..b6467f9ef33 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/directories/item/discover/discover_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/directories/item/discover/discover_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[DirectoryDefinition] Find more info here: https://learn.microsoft.com/graph/api/synchronization-directorydefinition-discover?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> DiscoverRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DiscoverRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DiscoverRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/filter_operators/filter_operators_request_builder.py b/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/filter_operators/filter_operators_request_builder.py index fe998580607..c14169fd041 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/filter_operators/filter_operators_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/filter_operators/filter_operators_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterOp Returns: Optional[FilterOperatorsGetResponse] Find more info here: https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-filteroperators?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> FilterOperatorsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterOperatorsRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterOperatorsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/functions/functions_request_builder.py b/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/functions/functions_request_builder.py index 3ae3700986f..30464457dd0 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/functions/functions_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/functions/functions_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Function Returns: Optional[FunctionsGetResponse] Find more info here: https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-functions?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> FunctionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FunctionsRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FunctionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/parse_expression/parse_expression_request_builder.py b/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/parse_expression/parse_expression_request_builder.py index 8e4b494e63a..da6d970da9f 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/parse_expression/parse_expression_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/parse_expression/parse_expression_request_builder.py @@ -39,6 +39,7 @@ async def post(self,body: ParseExpressionPostRequestBody, request_configuration: Returns: Optional[ParseExpressionResponse] Find more info here: https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-parseexpression?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -62,6 +63,7 @@ def to_post_request_information(self,body: ParseExpressionPostRequestBody, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -76,6 +78,7 @@ def with_url(self,raw_url: str) -> ParseExpressionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ParseExpressionRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ParseExpressionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/schema_request_builder.py b/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/schema_request_builder.py index 4af88388417..b9ce12e686c 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/schema_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/templates/item/schema/schema_request_builder.py @@ -40,6 +40,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,6 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SchemaRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SynchronizationSchema] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def patch(self,body: SynchronizationSchema, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SynchronizationSchema] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,6 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,6 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -124,6 +129,7 @@ def to_patch_request_information(self,body: SynchronizationSchema, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -138,6 +144,7 @@ def with_url(self,raw_url: str) -> SchemaRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SchemaRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SchemaRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/synchronization/templates/item/synchronization_template_item_request_builder.py b/msgraph_beta/generated/service_principals/item/synchronization/templates/item/synchronization_template_item_request_builder.py index 315aacb03b6..15c7c0a01e1 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/templates/item/synchronization_template_item_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/templates/item/synchronization_template_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Synchron param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SynchronizationTemplate] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: SynchronizationTemplate, request_configuration: Optio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SynchronizationTemplate] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: SynchronizationTemplate, request_con param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> SynchronizationTemplateItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SynchronizationTemplateItemRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SynchronizationTemplateItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/synchronization/templates/templates_request_builder.py b/msgraph_beta/generated/service_principals/item/synchronization/templates/templates_request_builder.py index 6df675d2f31..cd114537b38 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/templates/templates_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/templates/templates_request_builder.py @@ -39,6 +39,7 @@ def by_synchronization_template_id(self,synchronization_template_id: str) -> Syn param synchronization_template_id: The unique identifier of synchronizationTemplate Returns: SynchronizationTemplateItemRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if synchronization_template_id is None: raise TypeError("synchronization_template_id cannot be null.") from .item.synchronization_template_item_request_builder import SynchronizationTemplateItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Template Returns: Optional[SynchronizationTemplateCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/synchronization-synchronization-list-templates?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: SynchronizationTemplate, request_configuration: Option param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SynchronizationTemplate] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: SynchronizationTemplate, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> TemplatesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TemplatesRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TemplatesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/token_issuance_policies/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/token_issuance_policies/count/count_request_builder.py index d10ddef3e61..6c470556c46 100644 --- a/msgraph_beta/generated/service_principals/item/token_issuance_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/token_issuance_policies/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/token_issuance_policies/item/ref/ref_request_builder.py b/msgraph_beta/generated/service_principals/item/token_issuance_policies/item/ref/ref_request_builder.py index 86938c53302..f4d1c04ae65 100644 --- a/msgraph_beta/generated/service_principals/item/token_issuance_policies/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/token_issuance_policies/item/ref/ref_request_builder.py @@ -35,6 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> RefRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/token_issuance_policies/ref/ref_request_builder.py b/msgraph_beta/generated/service_principals/item/token_issuance_policies/ref/ref_request_builder.py index 98b5f63eb5e..d6330d5ba71 100644 --- a/msgraph_beta/generated/service_principals/item/token_issuance_policies/ref/ref_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/token_issuance_policies/ref/ref_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[RefRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RefReque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def post(self,body: ReferenceCreate, request_configuration: Optional[Reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, '{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenIssuancePolicies/$ref?@id={%40id}', self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -107,6 +111,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -119,6 +124,7 @@ def to_post_request_information(self,body: ReferenceCreate, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -133,6 +139,7 @@ def with_url(self,raw_url: str) -> RefRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/token_issuance_policies/token_issuance_policies_request_builder.py b/msgraph_beta/generated/service_principals/item/token_issuance_policies/token_issuance_policies_request_builder.py index cf79ebc134c..84690b6271a 100644 --- a/msgraph_beta/generated/service_principals/item/token_issuance_policies/token_issuance_policies_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/token_issuance_policies/token_issuance_policies_request_builder.py @@ -53,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TokenIss param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TokenIssuancePolicyCollectionResponse] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -73,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -84,6 +86,7 @@ def with_url(self,raw_url: str) -> TokenIssuancePoliciesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TokenIssuancePoliciesRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TokenIssuancePoliciesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/token_lifetime_policies/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/token_lifetime_policies/count/count_request_builder.py index b45b8f8550b..706437a027b 100644 --- a/msgraph_beta/generated/service_principals/item/token_lifetime_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/token_lifetime_policies/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/token_lifetime_policies/item/ref/ref_request_builder.py b/msgraph_beta/generated/service_principals/item/token_lifetime_policies/item/ref/ref_request_builder.py index cd4dd5a8a6b..088a3bca781 100644 --- a/msgraph_beta/generated/service_principals/item/token_lifetime_policies/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/token_lifetime_policies/item/ref/ref_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-delete-tokenlifetimepolicies?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> RefRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/token_lifetime_policies/ref/ref_request_builder.py b/msgraph_beta/generated/service_principals/item/token_lifetime_policies/ref/ref_request_builder.py index 7006fa40ca3..4ea789d2b23 100644 --- a/msgraph_beta/generated/service_principals/item/token_lifetime_policies/ref/ref_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/token_lifetime_policies/ref/ref_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[RefRe Returns: None Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-delete-tokenlifetimepolicies?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RefReque Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-list-tokenlifetimepolicies?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def post(self,body: ReferenceCreate, request_configuration: Optional[Reque Returns: None Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-post-tokenlifetimepolicies?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, '{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenLifetimePolicies/$ref?@id={%40id}', self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_post_request_information(self,body: ReferenceCreate, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> RefRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RefRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RefRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/token_lifetime_policies/token_lifetime_policies_request_builder.py b/msgraph_beta/generated/service_principals/item/token_lifetime_policies/token_lifetime_policies_request_builder.py index 6799d479a2b..e432971eeae 100644 --- a/msgraph_beta/generated/service_principals/item/token_lifetime_policies/token_lifetime_policies_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/token_lifetime_policies/token_lifetime_policies_request_builder.py @@ -54,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TokenLif Returns: Optional[TokenLifetimePolicyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-list-tokenlifetimepolicies?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +75,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -85,6 +87,7 @@ def with_url(self,raw_url: str) -> TokenLifetimePoliciesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TokenLifetimePoliciesRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TokenLifetimePoliciesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/transitive_member_of/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/transitive_member_of/count/count_request_builder.py index 6d366a9268e..509482130cf 100644 --- a/msgraph_beta/generated/service_principals/item/transitive_member_of/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/transitive_member_of/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py index 23e42f135f4..5e998cc8727 100644 --- a/msgraph_beta/generated/service_principals/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py b/msgraph_beta/generated/service_principals/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py index 083a6ab9a43..89fa474ae2d 100644 --- a/msgraph_beta/generated/service_principals/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphAdm param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AdministrativeUnitCollectionResponse] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> GraphAdministrativeUnitRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GraphAdministrativeUnitRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GraphAdministrativeUnitRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/transitive_member_of/graph_directory_role/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/transitive_member_of/graph_directory_role/count/count_request_builder.py index 30b0deded72..3542369fa23 100644 --- a/msgraph_beta/generated/service_principals/item/transitive_member_of/graph_directory_role/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/transitive_member_of/graph_directory_role/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/transitive_member_of/graph_directory_role/graph_directory_role_request_builder.py b/msgraph_beta/generated/service_principals/item/transitive_member_of/graph_directory_role/graph_directory_role_request_builder.py index 0ea19dccf19..63dd85a1f64 100644 --- a/msgraph_beta/generated/service_principals/item/transitive_member_of/graph_directory_role/graph_directory_role_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/transitive_member_of/graph_directory_role/graph_directory_role_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphDir param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryRoleCollectionResponse] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> GraphDirectoryRoleRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GraphDirectoryRoleRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GraphDirectoryRoleRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/transitive_member_of/graph_group/count/count_request_builder.py b/msgraph_beta/generated/service_principals/item/transitive_member_of/graph_group/count/count_request_builder.py index 2f428c4d884..71f247b4346 100644 --- a/msgraph_beta/generated/service_principals/item/transitive_member_of/graph_group/count/count_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/transitive_member_of/graph_group/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/transitive_member_of/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/service_principals/item/transitive_member_of/graph_group/graph_group_request_builder.py index d66475ae9f1..04308b34de1 100644 --- a/msgraph_beta/generated/service_principals/item/transitive_member_of/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/transitive_member_of/graph_group/graph_group_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphGro param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GroupCollectionResponse] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> GraphGroupRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GraphGroupRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GraphGroupRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/transitive_member_of/item/directory_object_item_request_builder.py b/msgraph_beta/generated/service_principals/item/transitive_member_of/item/directory_object_item_request_builder.py index 05a621c241b..adf803820f8 100644 --- a/msgraph_beta/generated/service_principals/item/transitive_member_of/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/transitive_member_of/item/directory_object_item_request_builder.py @@ -39,6 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,6 +72,7 @@ def with_url(self,raw_url: str) -> DirectoryObjectItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryObjectItemRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryObjectItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py b/msgraph_beta/generated/service_principals/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py index 5aa90086b07..1421a071f46 100644 --- a/msgraph_beta/generated/service_principals/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphAdm param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AdministrativeUnit] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> GraphAdministrativeUnitRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GraphAdministrativeUnitRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GraphAdministrativeUnitRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/transitive_member_of/item/graph_directory_role/graph_directory_role_request_builder.py b/msgraph_beta/generated/service_principals/item/transitive_member_of/item/graph_directory_role/graph_directory_role_request_builder.py index 3d9479dc454..de2c86577e0 100644 --- a/msgraph_beta/generated/service_principals/item/transitive_member_of/item/graph_directory_role/graph_directory_role_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/transitive_member_of/item/graph_directory_role/graph_directory_role_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphDir param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryRole] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> GraphDirectoryRoleRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GraphDirectoryRoleRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GraphDirectoryRoleRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/transitive_member_of/item/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/service_principals/item/transitive_member_of/item/graph_group/graph_group_request_builder.py index 3269c2b5b4d..e15424ab1b3 100644 --- a/msgraph_beta/generated/service_principals/item/transitive_member_of/item/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/transitive_member_of/item/graph_group/graph_group_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphGro param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Group] """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> GraphGroupRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GraphGroupRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GraphGroupRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/transitive_member_of/transitive_member_of_request_builder.py b/msgraph_beta/generated/service_principals/item/transitive_member_of/transitive_member_of_request_builder.py index 967c62a0fab..addda2c0701 100644 --- a/msgraph_beta/generated/service_principals/item/transitive_member_of/transitive_member_of_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/transitive_member_of/transitive_member_of_request_builder.py @@ -41,6 +41,7 @@ def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItem param directory_object_id: The unique identifier of directoryObject Returns: DirectoryObjectItemRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if directory_object_id is None: raise TypeError("directory_object_id cannot be null.") from .item.directory_object_item_request_builder import DirectoryObjectItemRequestBuilder @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Transiti Returns: Optional[DirectoryObjectCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-list-transitivememberof?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -87,6 +90,7 @@ def with_url(self,raw_url: str) -> TransitiveMemberOfRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TransitiveMemberOfRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TransitiveMemberOfRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/item/update_password_single_sign_on_credentials/update_password_single_sign_on_credentials_request_builder.py b/msgraph_beta/generated/service_principals/item/update_password_single_sign_on_credentials/update_password_single_sign_on_credentials_request_builder.py index 6186d60e9c8..fe249fdcd76 100644 --- a/msgraph_beta/generated/service_principals/item/update_password_single_sign_on_credentials/update_password_single_sign_on_credentials_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/update_password_single_sign_on_credentials/update_password_single_sign_on_credentials_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: UpdatePasswordSingleSignOnCredentialsPostRequestBody, Returns: None Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-updatepasswordsinglesignoncredentials?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: UpdatePasswordSingleSignOnCredentials param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> UpdatePasswordSingleSignOnCredentialsRequestB param raw_url: The raw URL to use for the request builder. Returns: UpdatePasswordSingleSignOnCredentialsRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UpdatePasswordSingleSignOnCredentialsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/service_principals_request_builder.py b/msgraph_beta/generated/service_principals/service_principals_request_builder.py index ca7efd946a4..d358d58a232 100644 --- a/msgraph_beta/generated/service_principals/service_principals_request_builder.py +++ b/msgraph_beta/generated/service_principals/service_principals_request_builder.py @@ -43,6 +43,7 @@ def by_service_principal_id(self,service_principal_id: str) -> ServicePrincipalI param service_principal_id: The unique identifier of servicePrincipal Returns: ServicePrincipalItemRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if service_principal_id is None: raise TypeError("service_principal_id cannot be null.") from .item.service_principal_item_request_builder import ServicePrincipalItemRequestBuilder @@ -58,6 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP Returns: Optional[ServicePrincipalCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-list?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,6 +82,7 @@ async def post(self,body: ServicePrincipal, request_configuration: Optional[Requ Returns: Optional[ServicePrincipal] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-post-serviceprincipals?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -102,6 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -114,6 +118,7 @@ def to_post_request_information(self,body: ServicePrincipal, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -128,6 +133,7 @@ def with_url(self,raw_url: str) -> ServicePrincipalsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServicePrincipalsRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServicePrincipalsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals/validate_properties/validate_properties_request_builder.py b/msgraph_beta/generated/service_principals/validate_properties/validate_properties_request_builder.py index fe3d5162c3b..e7bfc5cf3a6 100644 --- a/msgraph_beta/generated/service_principals/validate_properties/validate_properties_request_builder.py +++ b/msgraph_beta/generated/service_principals/validate_properties/validate_properties_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: ValidatePropertiesPostRequestBody, request_configurati Returns: None Find more info here: https://learn.microsoft.com/graph/api/directoryobject-validateproperties?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: ValidatePropertiesPostRequestBody, re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> ValidatePropertiesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ValidatePropertiesRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ValidatePropertiesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/service_principals_with_app_id/service_principals_with_app_id_request_builder.py b/msgraph_beta/generated/service_principals_with_app_id/service_principals_with_app_id_request_builder.py index 66acd1c0953..94745dc61d2 100644 --- a/msgraph_beta/generated/service_principals_with_app_id/service_principals_with_app_id_request_builder.py +++ b/msgraph_beta/generated/service_principals_with_app_id/service_principals_with_app_id_request_builder.py @@ -40,6 +40,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-delete?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,6 +60,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceP Returns: Optional[ServicePrincipal] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-get?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,6 +83,7 @@ async def patch(self,body: ServicePrincipal, request_configuration: Optional[Req Returns: Optional[ServicePrincipal] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-upsert?view=graph-rest-beta """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,6 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -114,6 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,6 +131,7 @@ def to_patch_request_information(self,body: ServicePrincipal, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,6 +146,7 @@ def with_url(self,raw_url: str) -> ServicePrincipalsWithAppIdRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServicePrincipalsWithAppIdRequestBuilder """ + warn("Private preview for correlations report as of 2025-08/correlations on 2025-08-01 and will be removed 2026-08-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServicePrincipalsWithAppIdRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/approval/approval_items/approval_items_request_builder.py b/msgraph_beta/generated/solutions/approval/approval_items/approval_items_request_builder.py index a71b0c09b5a..4947c62bb43 100644 --- a/msgraph_beta/generated/solutions/approval/approval_items/approval_items_request_builder.py +++ b/msgraph_beta/generated/solutions/approval/approval_items/approval_items_request_builder.py @@ -39,6 +39,7 @@ def by_approval_item_id(self,approval_item_id: str) -> ApprovalItemItemRequestBu param approval_item_id: The unique identifier of approvalItem Returns: ApprovalItemItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if approval_item_id is None: raise TypeError("approval_item_id cannot be null.") from .item.approval_item_item_request_builder import ApprovalItemItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Approval Returns: Optional[ApprovalItemCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/approvalsolution-list-approvalitems?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def post(self,body: ApprovalItem, request_configuration: Optional[RequestC Returns: Optional[ApprovalItem] Find more info here: https://learn.microsoft.com/graph/api/approvalsolution-post-approvalitems?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -98,6 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_post_request_information(self,body: ApprovalItem, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -124,6 +129,7 @@ def with_url(self,raw_url: str) -> ApprovalItemsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ApprovalItemsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ApprovalItemsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/approval/approval_items/count/count_request_builder.py b/msgraph_beta/generated/solutions/approval/approval_items/count/count_request_builder.py index 12773585033..2f8b8b4462e 100644 --- a/msgraph_beta/generated/solutions/approval/approval_items/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/approval/approval_items/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/approval/approval_items/item/approval_item_item_request_builder.py b/msgraph_beta/generated/solutions/approval/approval_items/item/approval_item_item_request_builder.py index c2f9d7dedec..df6af3f7ecb 100644 --- a/msgraph_beta/generated/solutions/approval/approval_items/item/approval_item_item_request_builder.py +++ b/msgraph_beta/generated/solutions/approval/approval_items/item/approval_item_item_request_builder.py @@ -39,6 +39,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,6 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Approval Returns: Optional[ApprovalItem] Find more info here: https://learn.microsoft.com/graph/api/approvalitem-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def patch(self,body: ApprovalItem, request_configuration: Optional[Request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalItem] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,6 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,6 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -124,6 +129,7 @@ def to_patch_request_information(self,body: ApprovalItem, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -138,6 +144,7 @@ def with_url(self,raw_url: str) -> ApprovalItemItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ApprovalItemItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ApprovalItemItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/approval/approval_items/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/solutions/approval/approval_items/item/cancel/cancel_request_builder.py index 71261c6b4d6..c1d44dd788d 100644 --- a/msgraph_beta/generated/solutions/approval/approval_items/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/solutions/approval/approval_items/item/cancel/cancel_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/approvalitem-cancel?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> CancelRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CancelRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CancelRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/approval/approval_items/item/requests/count/count_request_builder.py b/msgraph_beta/generated/solutions/approval/approval_items/item/requests/count/count_request_builder.py index 08ba8cbc4f9..110f6a9c224 100644 --- a/msgraph_beta/generated/solutions/approval/approval_items/item/requests/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/approval/approval_items/item/requests/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/approval/approval_items/item/requests/item/approval_item_request_item_request_builder.py b/msgraph_beta/generated/solutions/approval/approval_items/item/requests/item/approval_item_request_item_request_builder.py index 13b5c313031..d5571dc13c0 100644 --- a/msgraph_beta/generated/solutions/approval/approval_items/item/requests/item/approval_item_request_item_request_builder.py +++ b/msgraph_beta/generated/solutions/approval/approval_items/item/requests/item/approval_item_request_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Approval Returns: Optional[ApprovalItemRequest] Find more info here: https://learn.microsoft.com/graph/api/approvalitemrequest-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: ApprovalItemRequest, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalItemRequest] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: ApprovalItemRequest, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> ApprovalItemRequestItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ApprovalItemRequestItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ApprovalItemRequestItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/approval/approval_items/item/requests/requests_request_builder.py b/msgraph_beta/generated/solutions/approval/approval_items/item/requests/requests_request_builder.py index 81e20994b72..733709236cf 100644 --- a/msgraph_beta/generated/solutions/approval/approval_items/item/requests/requests_request_builder.py +++ b/msgraph_beta/generated/solutions/approval/approval_items/item/requests/requests_request_builder.py @@ -39,6 +39,7 @@ def by_approval_item_request_id(self,approval_item_request_id: str) -> ApprovalI param approval_item_request_id: The unique identifier of approvalItemRequest Returns: ApprovalItemRequestItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if approval_item_request_id is None: raise TypeError("approval_item_request_id cannot be null.") from .item.approval_item_request_item_request_builder import ApprovalItemRequestItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Requests Returns: Optional[ApprovalItemRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/approvalitem-list-requests?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: ApprovalItemRequest, request_configuration: Optional[R param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalItemRequest] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: ApprovalItemRequest, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> RequestsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RequestsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RequestsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/approval/approval_items/item/responses/count/count_request_builder.py b/msgraph_beta/generated/solutions/approval/approval_items/item/responses/count/count_request_builder.py index 08333b2d75c..32f93671903 100644 --- a/msgraph_beta/generated/solutions/approval/approval_items/item/responses/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/approval/approval_items/item/responses/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/approval/approval_items/item/responses/item/approval_item_response_item_request_builder.py b/msgraph_beta/generated/solutions/approval/approval_items/item/responses/item/approval_item_response_item_request_builder.py index dfdb9a6a9b3..dc8034f376c 100644 --- a/msgraph_beta/generated/solutions/approval/approval_items/item/responses/item/approval_item_response_item_request_builder.py +++ b/msgraph_beta/generated/solutions/approval/approval_items/item/responses/item/approval_item_response_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Approval Returns: Optional[ApprovalItemResponse] Find more info here: https://learn.microsoft.com/graph/api/approvalitemresponse-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: ApprovalItemResponse, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalItemResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: ApprovalItemResponse, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> ApprovalItemResponseItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ApprovalItemResponseItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ApprovalItemResponseItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/approval/approval_items/item/responses/responses_request_builder.py b/msgraph_beta/generated/solutions/approval/approval_items/item/responses/responses_request_builder.py index ff6cfafd6d2..e16b145a48a 100644 --- a/msgraph_beta/generated/solutions/approval/approval_items/item/responses/responses_request_builder.py +++ b/msgraph_beta/generated/solutions/approval/approval_items/item/responses/responses_request_builder.py @@ -39,6 +39,7 @@ def by_approval_item_response_id(self,approval_item_response_id: str) -> Approva param approval_item_response_id: The unique identifier of approvalItemResponse Returns: ApprovalItemResponseItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if approval_item_response_id is None: raise TypeError("approval_item_response_id cannot be null.") from .item.approval_item_response_item_request_builder import ApprovalItemResponseItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Response Returns: Optional[ApprovalItemResponseCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/approvalitem-list-responses?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def post(self,body: ApprovalItemResponse, request_configuration: Optional[ Returns: Optional[ApprovalItemResponse] Find more info here: https://learn.microsoft.com/graph/api/approvalitem-post-responses?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -98,6 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_post_request_information(self,body: ApprovalItemResponse, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -124,6 +129,7 @@ def with_url(self,raw_url: str) -> ResponsesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ResponsesRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ResponsesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/approval/approval_request_builder.py b/msgraph_beta/generated/solutions/approval/approval_request_builder.py index fff30c493e3..08f1ff22111 100644 --- a/msgraph_beta/generated/solutions/approval/approval_request_builder.py +++ b/msgraph_beta/generated/solutions/approval/approval_request_builder.py @@ -39,6 +39,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,6 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Approval Returns: Optional[ApprovalSolution] Find more info here: https://learn.microsoft.com/graph/api/approvalsolution-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def patch(self,body: ApprovalSolution, request_configuration: Optional[Req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalSolution] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,6 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,6 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -124,6 +129,7 @@ def to_patch_request_information(self,body: ApprovalSolution, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -138,6 +144,7 @@ def with_url(self,raw_url: str) -> ApprovalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ApprovalRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ApprovalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/approval/operations/count/count_request_builder.py b/msgraph_beta/generated/solutions/approval/operations/count/count_request_builder.py index 5ffff0adfb5..a5d87aa0f50 100644 --- a/msgraph_beta/generated/solutions/approval/operations/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/approval/operations/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/approval/operations/item/approval_operation_item_request_builder.py b/msgraph_beta/generated/solutions/approval/operations/item/approval_operation_item_request_builder.py index 6073ffdcd9c..2066c0e3178 100644 --- a/msgraph_beta/generated/solutions/approval/operations/item/approval_operation_item_request_builder.py +++ b/msgraph_beta/generated/solutions/approval/operations/item/approval_operation_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Approval Returns: Optional[ApprovalOperation] Find more info here: https://learn.microsoft.com/graph/api/approvaloperation-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: ApprovalOperation, request_configuration: Optional[Re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalOperation] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: ApprovalOperation, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> ApprovalOperationItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ApprovalOperationItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ApprovalOperationItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/approval/operations/operations_request_builder.py b/msgraph_beta/generated/solutions/approval/operations/operations_request_builder.py index 36b4f613a58..ce7f0441580 100644 --- a/msgraph_beta/generated/solutions/approval/operations/operations_request_builder.py +++ b/msgraph_beta/generated/solutions/approval/operations/operations_request_builder.py @@ -39,6 +39,7 @@ def by_approval_operation_id(self,approval_operation_id: str) -> ApprovalOperati param approval_operation_id: The unique identifier of approvalOperation Returns: ApprovalOperationItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if approval_operation_id is None: raise TypeError("approval_operation_id cannot be null.") from .item.approval_operation_item_request_builder import ApprovalOperationItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Operatio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalOperationCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: ApprovalOperation, request_configuration: Optional[Req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalOperation] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: ApprovalOperation, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> OperationsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: OperationsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return OperationsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/approval/provision/provision_request_builder.py b/msgraph_beta/generated/solutions/approval/provision/provision_request_builder.py index 9e3f33ed854..1ab5c09f168 100644 --- a/msgraph_beta/generated/solutions/approval/provision/provision_request_builder.py +++ b/msgraph_beta/generated/solutions/approval/provision/provision_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/approvalsolution-provision?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> ProvisionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ProvisionRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ProvisionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/activity_logs/activity_logs_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/activity_logs/activity_logs_request_builder.py index c6a8a3e4f88..83be80d6edc 100644 --- a/msgraph_beta/generated/solutions/backup_restore/activity_logs/activity_logs_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/activity_logs/activity_logs_request_builder.py @@ -39,6 +39,7 @@ def by_activity_log_base_id(self,activity_log_base_id: str) -> ActivityLogBaseIt param activity_log_base_id: The unique identifier of activityLogBase Returns: ActivityLogBaseItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if activity_log_base_id is None: raise TypeError("activity_log_base_id cannot be null.") from .item.activity_log_base_item_request_builder import ActivityLogBaseItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Activity param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ActivityLogBaseCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: ActivityLogBase, request_configuration: Optional[Reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ActivityLogBase] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: ActivityLogBase, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> ActivityLogsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ActivityLogsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ActivityLogsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/activity_logs/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/activity_logs/count/count_request_builder.py index 2eb87a972fe..4c8fa21a2ea 100644 --- a/msgraph_beta/generated/solutions/backup_restore/activity_logs/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/activity_logs/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/activity_logs/item/activity_log_base_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/activity_logs/item/activity_log_base_item_request_builder.py index 2df5bf3d978..1a19f6382e8 100644 --- a/msgraph_beta/generated/solutions/backup_restore/activity_logs/item/activity_log_base_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/activity_logs/item/activity_log_base_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Activity param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ActivityLogBase] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: ActivityLogBase, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ActivityLogBase] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: ActivityLogBase, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> ActivityLogBaseItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ActivityLogBaseItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ActivityLogBaseItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/backup_restore_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/backup_restore_request_builder.py index 9942aef7afe..ee41f4831f0 100644 --- a/msgraph_beta/generated/solutions/backup_restore/backup_restore_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/backup_restore_request_builder.py @@ -70,6 +70,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -89,6 +90,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[BackupRe Returns: Optional[BackupRestoreRoot] Find more info here: https://learn.microsoft.com/graph/api/backuprestoreroot-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -110,6 +112,7 @@ async def patch(self,body: BackupRestoreRoot, request_configuration: Optional[Re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BackupRestoreRoot] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -132,6 +135,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -143,6 +147,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -155,6 +160,7 @@ def to_patch_request_information(self,body: BackupRestoreRoot, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -169,6 +175,7 @@ def with_url(self,raw_url: str) -> BackupRestoreRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BackupRestoreRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BackupRestoreRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/browse_sessions/browse_sessions_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/browse_sessions/browse_sessions_request_builder.py index 22d2f285020..bdcc4059471 100644 --- a/msgraph_beta/generated/solutions/backup_restore/browse_sessions/browse_sessions_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/browse_sessions/browse_sessions_request_builder.py @@ -39,6 +39,7 @@ def by_browse_session_base_id(self,browse_session_base_id: str) -> BrowseSession param browse_session_base_id: The unique identifier of browseSessionBase Returns: BrowseSessionBaseItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if browse_session_base_id is None: raise TypeError("browse_session_base_id cannot be null.") from .item.browse_session_base_item_request_builder import BrowseSessionBaseItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[BrowseSe Returns: Optional[BrowseSessionBaseCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/backuprestoreroot-list-browsesessions?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: BrowseSessionBase, request_configuration: Optional[Req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BrowseSessionBase] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: BrowseSessionBase, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> BrowseSessionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BrowseSessionsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BrowseSessionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/browse_sessions/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/browse_sessions/count/count_request_builder.py index 65583de00af..5f859b05e43 100644 --- a/msgraph_beta/generated/solutions/backup_restore/browse_sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/browse_sessions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/browse_sessions/item/browse/browse_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/browse_sessions/item/browse/browse_request_builder.py index c33cabc08f4..a2566f91add 100644 --- a/msgraph_beta/generated/solutions/backup_restore/browse_sessions/item/browse/browse_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/browse_sessions/item/browse/browse_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: BrowsePostRequestBody, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BrowsePostResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -61,6 +62,7 @@ def to_post_request_information(self,body: BrowsePostRequestBody, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -75,6 +77,7 @@ def with_url(self,raw_url: str) -> BrowseRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BrowseRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BrowseRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/browse_sessions/item/browse_session_base_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/browse_sessions/item/browse_session_base_item_request_builder.py index 5860b1eac6b..c260eb176b1 100644 --- a/msgraph_beta/generated/solutions/backup_restore/browse_sessions/item/browse_session_base_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/browse_sessions/item/browse_session_base_item_request_builder.py @@ -38,6 +38,7 @@ def browse_with_next_fetch_token(self,next_fetch_token: str) -> BrowseWithNextFe param next_fetch_token: Usage: nextFetchToken='{nextFetchToken}' Returns: BrowseWithNextFetchTokenRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if next_fetch_token is None: raise TypeError("next_fetch_token cannot be null.") from .browse_with_next_fetch_token.browse_with_next_fetch_token_request_builder import BrowseWithNextFetchTokenRequestBuilder @@ -50,6 +51,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -68,6 +70,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[BrowseSe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BrowseSessionBase] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -89,6 +92,7 @@ async def patch(self,body: BrowseSessionBase, request_configuration: Optional[Re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BrowseSessionBase] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -111,6 +115,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -134,6 +140,7 @@ def to_patch_request_information(self,body: BrowseSessionBase, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -148,6 +155,7 @@ def with_url(self,raw_url: str) -> BrowseSessionBaseItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BrowseSessionBaseItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BrowseSessionBaseItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/browse_sessions/item/browse_with_next_fetch_token/browse_with_next_fetch_token_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/browse_sessions/item/browse_with_next_fetch_token/browse_with_next_fetch_token_request_builder.py index 23d11c59e28..39032626d7d 100644 --- a/msgraph_beta/generated/solutions/backup_restore/browse_sessions/item/browse_with_next_fetch_token/browse_with_next_fetch_token_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/browse_sessions/item/browse_with_next_fetch_token/browse_with_next_fetch_token_request_builder.py @@ -39,6 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[BrowseWi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BrowseWithNextFetchTokenGetResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,6 +72,7 @@ def with_url(self,raw_url: str) -> BrowseWithNextFetchTokenRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BrowseWithNextFetchTokenRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BrowseWithNextFetchTokenRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/drive_exclusion_units/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/drive_exclusion_units/count/count_request_builder.py index a12caaabdd1..a1c87fe61b9 100644 --- a/msgraph_beta/generated/solutions/backup_restore/drive_exclusion_units/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/drive_exclusion_units/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/drive_exclusion_units/drive_exclusion_units_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/drive_exclusion_units/drive_exclusion_units_request_builder.py index 7cd966d5e28..3bf180bda44 100644 --- a/msgraph_beta/generated/solutions/backup_restore/drive_exclusion_units/drive_exclusion_units_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/drive_exclusion_units/drive_exclusion_units_request_builder.py @@ -39,6 +39,7 @@ def by_drive_exclusion_unit_id(self,drive_exclusion_unit_id: str) -> DriveExclus param drive_exclusion_unit_id: The unique identifier of driveExclusionUnit Returns: DriveExclusionUnitItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if drive_exclusion_unit_id is None: raise TypeError("drive_exclusion_unit_id cannot be null.") from .item.drive_exclusion_unit_item_request_builder import DriveExclusionUnitItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DriveExc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveExclusionUnitCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: DriveExclusionUnit, request_configuration: Optional[Re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveExclusionUnit] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: DriveExclusionUnit, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> DriveExclusionUnitsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DriveExclusionUnitsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DriveExclusionUnitsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/drive_exclusion_units/item/drive_exclusion_unit_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/drive_exclusion_units/item/drive_exclusion_unit_item_request_builder.py index db261d869a5..3506bd65682 100644 --- a/msgraph_beta/generated/solutions/backup_restore/drive_exclusion_units/item/drive_exclusion_unit_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/drive_exclusion_units/item/drive_exclusion_unit_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DriveExc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveExclusionUnit] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: DriveExclusionUnit, request_configuration: Optional[R param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveExclusionUnit] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: DriveExclusionUnit, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> DriveExclusionUnitItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DriveExclusionUnitItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DriveExclusionUnitItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/drive_exclusion_units_bulk_addition_jobs/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/drive_exclusion_units_bulk_addition_jobs/count/count_request_builder.py index 11bfddfcef0..6ef38552948 100644 --- a/msgraph_beta/generated/solutions/backup_restore/drive_exclusion_units_bulk_addition_jobs/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/drive_exclusion_units_bulk_addition_jobs/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/drive_exclusion_units_bulk_addition_jobs/drive_exclusion_units_bulk_addition_jobs_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/drive_exclusion_units_bulk_addition_jobs/drive_exclusion_units_bulk_addition_jobs_request_builder.py index a3b079a351f..3b22ed6dfcd 100644 --- a/msgraph_beta/generated/solutions/backup_restore/drive_exclusion_units_bulk_addition_jobs/drive_exclusion_units_bulk_addition_jobs_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/drive_exclusion_units_bulk_addition_jobs/drive_exclusion_units_bulk_addition_jobs_request_builder.py @@ -39,6 +39,7 @@ def by_drive_exclusion_units_bulk_addition_job_id(self,drive_exclusion_units_bul param drive_exclusion_units_bulk_addition_job_id: The unique identifier of driveExclusionUnitsBulkAdditionJob Returns: DriveExclusionUnitsBulkAdditionJobItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if drive_exclusion_units_bulk_addition_job_id is None: raise TypeError("drive_exclusion_units_bulk_addition_job_id cannot be null.") from .item.drive_exclusion_units_bulk_addition_job_item_request_builder import DriveExclusionUnitsBulkAdditionJobItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DriveExc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveExclusionUnitsBulkAdditionJobCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: DriveExclusionUnitsBulkAdditionJob, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveExclusionUnitsBulkAdditionJob] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: DriveExclusionUnitsBulkAdditionJob, r param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> DriveExclusionUnitsBulkAdditionJobsRequestBui param raw_url: The raw URL to use for the request builder. Returns: DriveExclusionUnitsBulkAdditionJobsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DriveExclusionUnitsBulkAdditionJobsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/drive_exclusion_units_bulk_addition_jobs/item/drive_exclusion_units_bulk_addition_job_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/drive_exclusion_units_bulk_addition_jobs/item/drive_exclusion_units_bulk_addition_job_item_request_builder.py index 62125a7126f..c386d11b4d7 100644 --- a/msgraph_beta/generated/solutions/backup_restore/drive_exclusion_units_bulk_addition_jobs/item/drive_exclusion_units_bulk_addition_job_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/drive_exclusion_units_bulk_addition_jobs/item/drive_exclusion_units_bulk_addition_job_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DriveExc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveExclusionUnitsBulkAdditionJob] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: DriveExclusionUnitsBulkAdditionJob, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveExclusionUnitsBulkAdditionJob] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: DriveExclusionUnitsBulkAdditionJob, param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> DriveExclusionUnitsBulkAdditionJobItemRequest param raw_url: The raw URL to use for the request builder. Returns: DriveExclusionUnitsBulkAdditionJobItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DriveExclusionUnitsBulkAdditionJobItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/drive_inclusion_rules/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/drive_inclusion_rules/count/count_request_builder.py index 1f46862e287..b41861b56ee 100644 --- a/msgraph_beta/generated/solutions/backup_restore/drive_inclusion_rules/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/drive_inclusion_rules/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/drive_inclusion_rules/drive_inclusion_rules_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/drive_inclusion_rules/drive_inclusion_rules_request_builder.py index 993473d501a..edef999f7f1 100644 --- a/msgraph_beta/generated/solutions/backup_restore/drive_inclusion_rules/drive_inclusion_rules_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/drive_inclusion_rules/drive_inclusion_rules_request_builder.py @@ -39,6 +39,7 @@ def by_drive_protection_rule_id(self,drive_protection_rule_id: str) -> DriveProt param drive_protection_rule_id: The unique identifier of driveProtectionRule Returns: DriveProtectionRuleItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if drive_protection_rule_id is None: raise TypeError("drive_protection_rule_id cannot be null.") from .item.drive_protection_rule_item_request_builder import DriveProtectionRuleItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DriveInc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveProtectionRuleCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: DriveProtectionRule, request_configuration: Optional[R param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveProtectionRule] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: DriveProtectionRule, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> DriveInclusionRulesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DriveInclusionRulesRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DriveInclusionRulesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/drive_inclusion_rules/item/drive_protection_rule_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/drive_inclusion_rules/item/drive_protection_rule_item_request_builder.py index 5286a24759e..1797f045ccc 100644 --- a/msgraph_beta/generated/solutions/backup_restore/drive_inclusion_rules/item/drive_protection_rule_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/drive_inclusion_rules/item/drive_protection_rule_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DrivePro param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveProtectionRule] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: DriveProtectionRule, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveProtectionRule] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: DriveProtectionRule, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> DriveProtectionRuleItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DriveProtectionRuleItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DriveProtectionRuleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/drive_protection_units/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/drive_protection_units/count/count_request_builder.py index e5010ad6519..128853e2050 100644 --- a/msgraph_beta/generated/solutions/backup_restore/drive_protection_units/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/drive_protection_units/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/drive_protection_units/drive_protection_units_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/drive_protection_units/drive_protection_units_request_builder.py index 548ab194b36..62124a2c070 100644 --- a/msgraph_beta/generated/solutions/backup_restore/drive_protection_units/drive_protection_units_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/drive_protection_units/drive_protection_units_request_builder.py @@ -39,6 +39,7 @@ def by_drive_protection_unit_id(self,drive_protection_unit_id: str) -> DriveProt param drive_protection_unit_id: The unique identifier of driveProtectionUnit Returns: DriveProtectionUnitItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if drive_protection_unit_id is None: raise TypeError("drive_protection_unit_id cannot be null.") from .item.drive_protection_unit_item_request_builder import DriveProtectionUnitItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DrivePro param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveProtectionUnitCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: DriveProtectionUnit, request_configuration: Optional[R param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveProtectionUnit] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: DriveProtectionUnit, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> DriveProtectionUnitsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DriveProtectionUnitsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DriveProtectionUnitsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/drive_protection_units/item/drive_protection_unit_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/drive_protection_units/item/drive_protection_unit_item_request_builder.py index ee1893cc50e..8a5d2619810 100644 --- a/msgraph_beta/generated/solutions/backup_restore/drive_protection_units/item/drive_protection_unit_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/drive_protection_units/item/drive_protection_unit_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DrivePro param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveProtectionUnit] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: DriveProtectionUnit, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveProtectionUnit] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: DriveProtectionUnit, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> DriveProtectionUnitItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DriveProtectionUnitItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DriveProtectionUnitItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/drive_protection_units_bulk_addition_jobs/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/drive_protection_units_bulk_addition_jobs/count/count_request_builder.py index 5198943501f..8cb80626343 100644 --- a/msgraph_beta/generated/solutions/backup_restore/drive_protection_units_bulk_addition_jobs/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/drive_protection_units_bulk_addition_jobs/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/drive_protection_units_bulk_addition_jobs/drive_protection_units_bulk_addition_jobs_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/drive_protection_units_bulk_addition_jobs/drive_protection_units_bulk_addition_jobs_request_builder.py index 202f8a041af..c3da520dd26 100644 --- a/msgraph_beta/generated/solutions/backup_restore/drive_protection_units_bulk_addition_jobs/drive_protection_units_bulk_addition_jobs_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/drive_protection_units_bulk_addition_jobs/drive_protection_units_bulk_addition_jobs_request_builder.py @@ -39,6 +39,7 @@ def by_drive_protection_units_bulk_addition_job_id(self,drive_protection_units_b param drive_protection_units_bulk_addition_job_id: The unique identifier of driveProtectionUnitsBulkAdditionJob Returns: DriveProtectionUnitsBulkAdditionJobItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if drive_protection_units_bulk_addition_job_id is None: raise TypeError("drive_protection_units_bulk_addition_job_id cannot be null.") from .item.drive_protection_units_bulk_addition_job_item_request_builder import DriveProtectionUnitsBulkAdditionJobItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DrivePro param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveProtectionUnitsBulkAdditionJobCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: DriveProtectionUnitsBulkAdditionJob, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveProtectionUnitsBulkAdditionJob] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: DriveProtectionUnitsBulkAdditionJob, param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> DriveProtectionUnitsBulkAdditionJobsRequestBu param raw_url: The raw URL to use for the request builder. Returns: DriveProtectionUnitsBulkAdditionJobsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DriveProtectionUnitsBulkAdditionJobsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/drive_protection_units_bulk_addition_jobs/item/drive_protection_units_bulk_addition_job_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/drive_protection_units_bulk_addition_jobs/item/drive_protection_units_bulk_addition_job_item_request_builder.py index cda98dfb64c..eeb29c12046 100644 --- a/msgraph_beta/generated/solutions/backup_restore/drive_protection_units_bulk_addition_jobs/item/drive_protection_units_bulk_addition_job_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/drive_protection_units_bulk_addition_jobs/item/drive_protection_units_bulk_addition_job_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DrivePro param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveProtectionUnitsBulkAdditionJob] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: DriveProtectionUnitsBulkAdditionJob, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveProtectionUnitsBulkAdditionJob] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: DriveProtectionUnitsBulkAdditionJob, param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> DriveProtectionUnitsBulkAdditionJobItemReques param raw_url: The raw URL to use for the request builder. Returns: DriveProtectionUnitsBulkAdditionJobItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DriveProtectionUnitsBulkAdditionJobItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/email_notifications_setting/email_notifications_setting_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/email_notifications_setting/email_notifications_setting_request_builder.py index 924c7e7cca0..9da6ef2341f 100644 --- a/msgraph_beta/generated/solutions/backup_restore/email_notifications_setting/email_notifications_setting_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/email_notifications_setting/email_notifications_setting_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[EmailNot Returns: Optional[EmailNotificationsSetting] Find more info here: https://learn.microsoft.com/graph/api/emailnotificationssetting-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: EmailNotificationsSetting, request_configuration: Opt Returns: Optional[EmailNotificationsSetting] Find more info here: https://learn.microsoft.com/graph/api/emailnotificationssetting-update?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: EmailNotificationsSetting, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> EmailNotificationsSettingRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: EmailNotificationsSettingRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return EmailNotificationsSettingRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/enable/enable_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/enable/enable_request_builder.py index fd3d69018b5..81b276dc762 100644 --- a/msgraph_beta/generated/solutions/backup_restore/enable/enable_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/enable/enable_request_builder.py @@ -39,6 +39,7 @@ async def post(self,body: EnablePostRequestBody, request_configuration: Optional Returns: Optional[ServiceStatus] Find more info here: https://learn.microsoft.com/graph/api/backuprestoreroot-enable?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -62,6 +63,7 @@ def to_post_request_information(self,body: EnablePostRequestBody, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -76,6 +78,7 @@ def with_url(self,raw_url: str) -> EnableRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: EnableRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return EnableRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/count/count_request_builder.py index 44a88d6fca0..0fb5b3f528e 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/exchange_protection_policies_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/exchange_protection_policies_request_builder.py index fb3caded68d..7de8a6e3fca 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/exchange_protection_policies_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/exchange_protection_policies_request_builder.py @@ -39,6 +39,7 @@ def by_exchange_protection_policy_id(self,exchange_protection_policy_id: str) -> param exchange_protection_policy_id: The unique identifier of exchangeProtectionPolicy Returns: ExchangeProtectionPolicyItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if exchange_protection_policy_id is None: raise TypeError("exchange_protection_policy_id cannot be null.") from .item.exchange_protection_policy_item_request_builder import ExchangeProtectionPolicyItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Exchange param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExchangeProtectionPolicyCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: ExchangeProtectionPolicy, request_configuration: Optio Returns: Optional[ExchangeProtectionPolicy] Find more info here: https://learn.microsoft.com/graph/api/backuprestoreroot-post-exchangeprotectionpolicies?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: ExchangeProtectionPolicy, request_con param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> ExchangeProtectionPoliciesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ExchangeProtectionPoliciesRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ExchangeProtectionPoliciesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/exchange_protection_policy_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/exchange_protection_policy_item_request_builder.py index 6b9f227ae10..ae311768550 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/exchange_protection_policy_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/exchange_protection_policy_item_request_builder.py @@ -41,6 +41,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,6 +60,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Exchange param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExchangeProtectionPolicy] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,6 +83,7 @@ async def patch(self,body: ExchangeProtectionPolicy, request_configuration: Opti Returns: Optional[ExchangeProtectionPolicy] Find more info here: https://learn.microsoft.com/graph/api/exchangeprotectionpolicy-update?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,6 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -114,6 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,6 +131,7 @@ def to_patch_request_information(self,body: ExchangeProtectionPolicy, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,6 +146,7 @@ def with_url(self,raw_url: str) -> ExchangeProtectionPolicyItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ExchangeProtectionPolicyItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ExchangeProtectionPolicyItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_exclusion_units/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_exclusion_units/count/count_request_builder.py index 6a3da1a6c1a..4fa99744c7a 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_exclusion_units/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_exclusion_units/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_exclusion_units/item/mailbox_exclusion_unit_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_exclusion_units/item/mailbox_exclusion_unit_item_request_builder.py index a468925a96d..2a5e0ef6bcc 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_exclusion_units/item/mailbox_exclusion_unit_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_exclusion_units/item/mailbox_exclusion_unit_item_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxE Returns: Optional[MailboxExclusionUnit] Find more info here: https://learn.microsoft.com/graph/api/mailboxexclusionunit-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> MailboxExclusionUnitItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxExclusionUnitItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxExclusionUnitItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_exclusion_units/mailbox_exclusion_units_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_exclusion_units/mailbox_exclusion_units_request_builder.py index 252d5ea796a..c139723e626 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_exclusion_units/mailbox_exclusion_units_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_exclusion_units/mailbox_exclusion_units_request_builder.py @@ -38,6 +38,7 @@ def by_mailbox_exclusion_unit_id(self,mailbox_exclusion_unit_id: str) -> Mailbox param mailbox_exclusion_unit_id: The unique identifier of mailboxExclusionUnit Returns: MailboxExclusionUnitItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if mailbox_exclusion_unit_id is None: raise TypeError("mailbox_exclusion_unit_id cannot be null.") from .item.mailbox_exclusion_unit_item_request_builder import MailboxExclusionUnitItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxE Returns: Optional[MailboxExclusionUnitCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/exchangeprotectionpolicy-list-mailboxexclusionunits?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -73,6 +75,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -84,6 +87,7 @@ def with_url(self,raw_url: str) -> MailboxExclusionUnitsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxExclusionUnitsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxExclusionUnitsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_exclusion_units_bulk_addition_jobs/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_exclusion_units_bulk_addition_jobs/count/count_request_builder.py index 188cc578780..6561dca6fb0 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_exclusion_units_bulk_addition_jobs/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_exclusion_units_bulk_addition_jobs/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_exclusion_units_bulk_addition_jobs/item/mailbox_exclusion_units_bulk_addition_job_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_exclusion_units_bulk_addition_jobs/item/mailbox_exclusion_units_bulk_addition_job_item_request_builder.py index a3d1805553d..72ac4a10336 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_exclusion_units_bulk_addition_jobs/item/mailbox_exclusion_units_bulk_addition_job_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_exclusion_units_bulk_addition_jobs/item/mailbox_exclusion_units_bulk_addition_job_item_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxE Returns: Optional[MailboxExclusionUnitsBulkAdditionJob] Find more info here: https://learn.microsoft.com/graph/api/mailboxexclusionunitsbulkadditionjob-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> MailboxExclusionUnitsBulkAdditionJobItemReque param raw_url: The raw URL to use for the request builder. Returns: MailboxExclusionUnitsBulkAdditionJobItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxExclusionUnitsBulkAdditionJobItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_exclusion_units_bulk_addition_jobs/mailbox_exclusion_units_bulk_addition_jobs_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_exclusion_units_bulk_addition_jobs/mailbox_exclusion_units_bulk_addition_jobs_request_builder.py index 2eb0c80da28..74e3f4235c9 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_exclusion_units_bulk_addition_jobs/mailbox_exclusion_units_bulk_addition_jobs_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_exclusion_units_bulk_addition_jobs/mailbox_exclusion_units_bulk_addition_jobs_request_builder.py @@ -38,6 +38,7 @@ def by_mailbox_exclusion_units_bulk_addition_job_id(self,mailbox_exclusion_units param mailbox_exclusion_units_bulk_addition_job_id: The unique identifier of mailboxExclusionUnitsBulkAdditionJob Returns: MailboxExclusionUnitsBulkAdditionJobItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if mailbox_exclusion_units_bulk_addition_job_id is None: raise TypeError("mailbox_exclusion_units_bulk_addition_job_id cannot be null.") from .item.mailbox_exclusion_units_bulk_addition_job_item_request_builder import MailboxExclusionUnitsBulkAdditionJobItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxE Returns: Optional[MailboxExclusionUnitsBulkAdditionJobCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/exchangeprotectionpolicy-list-mailboxexclusionunitsbulkadditionjobs?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -73,6 +75,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -84,6 +87,7 @@ def with_url(self,raw_url: str) -> MailboxExclusionUnitsBulkAdditionJobsRequestB param raw_url: The raw URL to use for the request builder. Returns: MailboxExclusionUnitsBulkAdditionJobsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxExclusionUnitsBulkAdditionJobsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_inclusion_rules/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_inclusion_rules/count/count_request_builder.py index b06be031381..f2bdb04978d 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_inclusion_rules/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_inclusion_rules/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_inclusion_rules/item/mailbox_protection_rule_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_inclusion_rules/item/mailbox_protection_rule_item_request_builder.py index e4670e8e25a..a5692649447 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_inclusion_rules/item/mailbox_protection_rule_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_inclusion_rules/item/mailbox_protection_rule_item_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxP Returns: Optional[MailboxProtectionRule] Find more info here: https://learn.microsoft.com/graph/api/protectionrulebase-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> MailboxProtectionRuleItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxProtectionRuleItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxProtectionRuleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_inclusion_rules/mailbox_inclusion_rules_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_inclusion_rules/mailbox_inclusion_rules_request_builder.py index c3a744a6c5b..f8f695f0db0 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_inclusion_rules/mailbox_inclusion_rules_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_inclusion_rules/mailbox_inclusion_rules_request_builder.py @@ -38,6 +38,7 @@ def by_mailbox_protection_rule_id(self,mailbox_protection_rule_id: str) -> Mailb param mailbox_protection_rule_id: The unique identifier of mailboxProtectionRule Returns: MailboxProtectionRuleItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if mailbox_protection_rule_id is None: raise TypeError("mailbox_protection_rule_id cannot be null.") from .item.mailbox_protection_rule_item_request_builder import MailboxProtectionRuleItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxI Returns: Optional[MailboxProtectionRuleCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/exchangeprotectionpolicy-list-mailboxinclusionrules?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -73,6 +75,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -84,6 +87,7 @@ def with_url(self,raw_url: str) -> MailboxInclusionRulesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxInclusionRulesRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxInclusionRulesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units/count/count_request_builder.py index b48e3ee46b6..4f83dbc4031 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units/item/mailbox_protection_unit_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units/item/mailbox_protection_unit_item_request_builder.py index 93f0790abb5..42a942f31e8 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units/item/mailbox_protection_unit_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units/item/mailbox_protection_unit_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxProtectionUnit] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> MailboxProtectionUnitItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxProtectionUnitItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxProtectionUnitItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units/mailbox_protection_units_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units/mailbox_protection_units_request_builder.py index 468602ad9b5..97fbd03bc98 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units/mailbox_protection_units_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units/mailbox_protection_units_request_builder.py @@ -38,6 +38,7 @@ def by_mailbox_protection_unit_id(self,mailbox_protection_unit_id: str) -> Mailb param mailbox_protection_unit_id: The unique identifier of mailboxProtectionUnit Returns: MailboxProtectionUnitItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if mailbox_protection_unit_id is None: raise TypeError("mailbox_protection_unit_id cannot be null.") from .item.mailbox_protection_unit_item_request_builder import MailboxProtectionUnitItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxProtectionUnitCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> MailboxProtectionUnitsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxProtectionUnitsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxProtectionUnitsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units_bulk_addition_jobs/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units_bulk_addition_jobs/count/count_request_builder.py index 9cd325cae6a..92716016d5e 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units_bulk_addition_jobs/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units_bulk_addition_jobs/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units_bulk_addition_jobs/item/mailbox_protection_units_bulk_addition_job_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units_bulk_addition_jobs/item/mailbox_protection_units_bulk_addition_job_item_request_builder.py index fcb4903ed65..0e2b6c9cfcd 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units_bulk_addition_jobs/item/mailbox_protection_units_bulk_addition_job_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units_bulk_addition_jobs/item/mailbox_protection_units_bulk_addition_job_item_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxP Returns: Optional[MailboxProtectionUnitsBulkAdditionJob] Find more info here: https://learn.microsoft.com/graph/api/mailboxprotectionunitsbulkadditionjobs-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> MailboxProtectionUnitsBulkAdditionJobItemRequ param raw_url: The raw URL to use for the request builder. Returns: MailboxProtectionUnitsBulkAdditionJobItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxProtectionUnitsBulkAdditionJobItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units_bulk_addition_jobs/mailbox_protection_units_bulk_addition_jobs_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units_bulk_addition_jobs/mailbox_protection_units_bulk_addition_jobs_request_builder.py index 2f62e9f8bef..bc34a4f8c35 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units_bulk_addition_jobs/mailbox_protection_units_bulk_addition_jobs_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_protection_policies/item/mailbox_protection_units_bulk_addition_jobs/mailbox_protection_units_bulk_addition_jobs_request_builder.py @@ -38,6 +38,7 @@ def by_mailbox_protection_units_bulk_addition_job_id(self,mailbox_protection_uni param mailbox_protection_units_bulk_addition_job_id: The unique identifier of mailboxProtectionUnitsBulkAdditionJob Returns: MailboxProtectionUnitsBulkAdditionJobItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if mailbox_protection_units_bulk_addition_job_id is None: raise TypeError("mailbox_protection_units_bulk_addition_job_id cannot be null.") from .item.mailbox_protection_units_bulk_addition_job_item_request_builder import MailboxProtectionUnitsBulkAdditionJobItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxP Returns: Optional[MailboxProtectionUnitsBulkAdditionJobCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/exchangeprotectionpolicy-list-mailboxprotectionunitsbulkadditionjobs?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -73,6 +75,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -84,6 +87,7 @@ def with_url(self,raw_url: str) -> MailboxProtectionUnitsBulkAdditionJobsRequest param raw_url: The raw URL to use for the request builder. Returns: MailboxProtectionUnitsBulkAdditionJobsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxProtectionUnitsBulkAdditionJobsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/count/count_request_builder.py index 01ae21d6b97..92a4aadfe70 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/exchange_restore_sessions_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/exchange_restore_sessions_request_builder.py index 8e1a0a5188b..75d19c98a96 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/exchange_restore_sessions_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/exchange_restore_sessions_request_builder.py @@ -39,6 +39,7 @@ def by_exchange_restore_session_id(self,exchange_restore_session_id: str) -> Exc param exchange_restore_session_id: The unique identifier of exchangeRestoreSession Returns: ExchangeRestoreSessionItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if exchange_restore_session_id is None: raise TypeError("exchange_restore_session_id cannot be null.") from .item.exchange_restore_session_item_request_builder import ExchangeRestoreSessionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Exchange param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExchangeRestoreSessionCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: ExchangeRestoreSession, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExchangeRestoreSession] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: ExchangeRestoreSession, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> ExchangeRestoreSessionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ExchangeRestoreSessionsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ExchangeRestoreSessionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/exchange_restore_session_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/exchange_restore_session_item_request_builder.py index bd04c42116a..ed6da544a1e 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/exchange_restore_session_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/exchange_restore_session_item_request_builder.py @@ -39,6 +39,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Exchange param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExchangeRestoreSession] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def patch(self,body: ExchangeRestoreSession, request_configuration: Option Returns: Optional[ExchangeRestoreSession] Find more info here: https://learn.microsoft.com/graph/api/exchangerestoresession-update?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,6 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,6 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -124,6 +129,7 @@ def to_patch_request_information(self,body: ExchangeRestoreSession, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -138,6 +144,7 @@ def with_url(self,raw_url: str) -> ExchangeRestoreSessionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ExchangeRestoreSessionItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ExchangeRestoreSessionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/granular_mailbox_restore_artifacts/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/granular_mailbox_restore_artifacts/count/count_request_builder.py index 35677304591..4d752f864d1 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/granular_mailbox_restore_artifacts/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/granular_mailbox_restore_artifacts/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/granular_mailbox_restore_artifacts/granular_mailbox_restore_artifacts_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/granular_mailbox_restore_artifacts/granular_mailbox_restore_artifacts_request_builder.py index 878499daa91..66e541c6250 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/granular_mailbox_restore_artifacts/granular_mailbox_restore_artifacts_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/granular_mailbox_restore_artifacts/granular_mailbox_restore_artifacts_request_builder.py @@ -39,6 +39,7 @@ def by_granular_mailbox_restore_artifact_id(self,granular_mailbox_restore_artifa param granular_mailbox_restore_artifact_id: The unique identifier of granularMailboxRestoreArtifact Returns: GranularMailboxRestoreArtifactItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if granular_mailbox_restore_artifact_id is None: raise TypeError("granular_mailbox_restore_artifact_id cannot be null.") from .item.granular_mailbox_restore_artifact_item_request_builder import GranularMailboxRestoreArtifactItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Granular param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GranularMailboxRestoreArtifactCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: GranularMailboxRestoreArtifact, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GranularMailboxRestoreArtifact] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: GranularMailboxRestoreArtifact, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> GranularMailboxRestoreArtifactsRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: GranularMailboxRestoreArtifactsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GranularMailboxRestoreArtifactsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/granular_mailbox_restore_artifacts/item/granular_mailbox_restore_artifact_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/granular_mailbox_restore_artifacts/item/granular_mailbox_restore_artifact_item_request_builder.py index abea7753177..4ec4d833537 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/granular_mailbox_restore_artifacts/item/granular_mailbox_restore_artifact_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/granular_mailbox_restore_artifacts/item/granular_mailbox_restore_artifact_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Granular param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GranularMailboxRestoreArtifact] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: GranularMailboxRestoreArtifact, request_configuration param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GranularMailboxRestoreArtifact] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: GranularMailboxRestoreArtifact, requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> GranularMailboxRestoreArtifactItemRequestBuil param raw_url: The raw URL to use for the request builder. Returns: GranularMailboxRestoreArtifactItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GranularMailboxRestoreArtifactItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/granular_mailbox_restore_artifacts/item/restore_point/restore_point_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/granular_mailbox_restore_artifacts/item/restore_point/restore_point_request_builder.py index 164ac7bd1b8..475cb0c4a8b 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/granular_mailbox_restore_artifacts/item/restore_point/restore_point_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/granular_mailbox_restore_artifacts/item/restore_point/restore_point_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RestoreP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RestorePoint] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RestorePointRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RestorePointRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RestorePointRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts/count/count_request_builder.py index c9110811e76..62d9d5f5e4b 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts/item/mailbox_restore_artifact_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts/item/mailbox_restore_artifact_item_request_builder.py index e897c9dbafe..329e80ca8f8 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts/item/mailbox_restore_artifact_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts/item/mailbox_restore_artifact_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxRestoreArtifact] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: MailboxRestoreArtifact, request_configuration: Option param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxRestoreArtifact] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: MailboxRestoreArtifact, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> MailboxRestoreArtifactItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxRestoreArtifactItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxRestoreArtifactItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts/item/restore_point/restore_point_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts/item/restore_point/restore_point_request_builder.py index 1e68dee26fd..e8eccfe67e7 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts/item/restore_point/restore_point_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts/item/restore_point/restore_point_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RestoreP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RestorePoint] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RestorePointRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RestorePointRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RestorePointRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts/mailbox_restore_artifacts_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts/mailbox_restore_artifacts_request_builder.py index 64ac6477652..ec77a17bf50 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts/mailbox_restore_artifacts_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts/mailbox_restore_artifacts_request_builder.py @@ -39,6 +39,7 @@ def by_mailbox_restore_artifact_id(self,mailbox_restore_artifact_id: str) -> Mai param mailbox_restore_artifact_id: The unique identifier of mailboxRestoreArtifact Returns: MailboxRestoreArtifactItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if mailbox_restore_artifact_id is None: raise TypeError("mailbox_restore_artifact_id cannot be null.") from .item.mailbox_restore_artifact_item_request_builder import MailboxRestoreArtifactItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxR Returns: Optional[MailboxRestoreArtifactCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/exchangerestoresession-list-mailboxrestoreartifacts?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: MailboxRestoreArtifact, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxRestoreArtifact] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: MailboxRestoreArtifact, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> MailboxRestoreArtifactsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxRestoreArtifactsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxRestoreArtifactsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts_bulk_addition_requests/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts_bulk_addition_requests/count/count_request_builder.py index 80eb3a719b8..1e3cd78b879 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts_bulk_addition_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts_bulk_addition_requests/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts_bulk_addition_requests/item/mailbox_restore_artifacts_bulk_addition_request_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts_bulk_addition_requests/item/mailbox_restore_artifacts_bulk_addition_request_item_request_builder.py index 988a8acf848..68a330c6205 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts_bulk_addition_requests/item/mailbox_restore_artifacts_bulk_addition_request_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts_bulk_addition_requests/item/mailbox_restore_artifacts_bulk_addition_request_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/mailboxrestoreartifactsbulkadditionrequest-delete?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxR Returns: Optional[MailboxRestoreArtifactsBulkAdditionRequest] Find more info here: https://learn.microsoft.com/graph/api/mailboxrestoreartifactsbulkadditionrequest-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: MailboxRestoreArtifactsBulkAdditionRequest, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxRestoreArtifactsBulkAdditionRequest] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: MailboxRestoreArtifactsBulkAdditionR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> MailboxRestoreArtifactsBulkAdditionRequestIte param raw_url: The raw URL to use for the request builder. Returns: MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts_bulk_addition_requests/mailbox_restore_artifacts_bulk_addition_requests_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts_bulk_addition_requests/mailbox_restore_artifacts_bulk_addition_requests_request_builder.py index 423a7780e03..8aedffd10b8 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts_bulk_addition_requests/mailbox_restore_artifacts_bulk_addition_requests_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exchange_restore_sessions/item/mailbox_restore_artifacts_bulk_addition_requests/mailbox_restore_artifacts_bulk_addition_requests_request_builder.py @@ -39,6 +39,7 @@ def by_mailbox_restore_artifacts_bulk_addition_request_id(self,mailbox_restore_a param mailbox_restore_artifacts_bulk_addition_request_id: The unique identifier of mailboxRestoreArtifactsBulkAdditionRequest Returns: MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if mailbox_restore_artifacts_bulk_addition_request_id is None: raise TypeError("mailbox_restore_artifacts_bulk_addition_request_id cannot be null.") from .item.mailbox_restore_artifacts_bulk_addition_request_item_request_builder import MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxR Returns: Optional[MailboxRestoreArtifactsBulkAdditionRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/exchangerestoresession-list-mailboxrestoreartifactsbulkadditionrequests?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def post(self,body: MailboxRestoreArtifactsBulkAdditionRequest, request_co Returns: Optional[MailboxRestoreArtifactsBulkAdditionRequest] Find more info here: https://learn.microsoft.com/graph/api/exchangerestoresession-post-mailboxrestoreartifactsbulkadditionrequests?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -98,6 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_post_request_information(self,body: MailboxRestoreArtifactsBulkAdditionRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -124,6 +129,7 @@ def with_url(self,raw_url: str) -> MailboxRestoreArtifactsBulkAdditionRequestsRe param raw_url: The raw URL to use for the request builder. Returns: MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/exclusion_units/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exclusion_units/count/count_request_builder.py index bf6f554fbc8..18bb8d13411 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exclusion_units/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exclusion_units/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/exclusion_units/exclusion_units_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exclusion_units/exclusion_units_request_builder.py index 45dab8af224..ce75ab0e853 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exclusion_units/exclusion_units_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exclusion_units/exclusion_units_request_builder.py @@ -38,6 +38,7 @@ def by_exclusion_unit_base_id(self,exclusion_unit_base_id: str) -> ExclusionUnit param exclusion_unit_base_id: The unique identifier of exclusionUnitBase Returns: ExclusionUnitBaseItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if exclusion_unit_base_id is None: raise TypeError("exclusion_unit_base_id cannot be null.") from .item.exclusion_unit_base_item_request_builder import ExclusionUnitBaseItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Exclusio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExclusionUnitBaseCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> ExclusionUnitsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ExclusionUnitsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ExclusionUnitsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/exclusion_units/item/exclusion_unit_base_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/exclusion_units/item/exclusion_unit_base_item_request_builder.py index 4020f37ecc1..d2d548f4e8d 100644 --- a/msgraph_beta/generated/solutions/backup_restore/exclusion_units/item/exclusion_unit_base_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/exclusion_units/item/exclusion_unit_base_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Exclusio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExclusionUnitBase] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ExclusionUnitBaseItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ExclusionUnitBaseItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ExclusionUnitBaseItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/mailbox_exclusion_units/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/mailbox_exclusion_units/count/count_request_builder.py index fa7b6cdd8c6..eeba6951e7d 100644 --- a/msgraph_beta/generated/solutions/backup_restore/mailbox_exclusion_units/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/mailbox_exclusion_units/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/mailbox_exclusion_units/item/mailbox_exclusion_unit_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/mailbox_exclusion_units/item/mailbox_exclusion_unit_item_request_builder.py index 04bd6bdd732..5d5e96e503d 100644 --- a/msgraph_beta/generated/solutions/backup_restore/mailbox_exclusion_units/item/mailbox_exclusion_unit_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/mailbox_exclusion_units/item/mailbox_exclusion_unit_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxE param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxExclusionUnit] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: MailboxExclusionUnit, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxExclusionUnit] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: MailboxExclusionUnit, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> MailboxExclusionUnitItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxExclusionUnitItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxExclusionUnitItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/mailbox_exclusion_units/mailbox_exclusion_units_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/mailbox_exclusion_units/mailbox_exclusion_units_request_builder.py index a8c54aaeb7d..d9d4f902c24 100644 --- a/msgraph_beta/generated/solutions/backup_restore/mailbox_exclusion_units/mailbox_exclusion_units_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/mailbox_exclusion_units/mailbox_exclusion_units_request_builder.py @@ -39,6 +39,7 @@ def by_mailbox_exclusion_unit_id(self,mailbox_exclusion_unit_id: str) -> Mailbox param mailbox_exclusion_unit_id: The unique identifier of mailboxExclusionUnit Returns: MailboxExclusionUnitItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if mailbox_exclusion_unit_id is None: raise TypeError("mailbox_exclusion_unit_id cannot be null.") from .item.mailbox_exclusion_unit_item_request_builder import MailboxExclusionUnitItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxE param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxExclusionUnitCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: MailboxExclusionUnit, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxExclusionUnit] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: MailboxExclusionUnit, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> MailboxExclusionUnitsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxExclusionUnitsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxExclusionUnitsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/mailbox_exclusion_units_bulk_addition_jobs/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/mailbox_exclusion_units_bulk_addition_jobs/count/count_request_builder.py index 85d771f6108..22f071a54ba 100644 --- a/msgraph_beta/generated/solutions/backup_restore/mailbox_exclusion_units_bulk_addition_jobs/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/mailbox_exclusion_units_bulk_addition_jobs/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/mailbox_exclusion_units_bulk_addition_jobs/item/mailbox_exclusion_units_bulk_addition_job_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/mailbox_exclusion_units_bulk_addition_jobs/item/mailbox_exclusion_units_bulk_addition_job_item_request_builder.py index 9c535c83453..eafd0878614 100644 --- a/msgraph_beta/generated/solutions/backup_restore/mailbox_exclusion_units_bulk_addition_jobs/item/mailbox_exclusion_units_bulk_addition_job_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/mailbox_exclusion_units_bulk_addition_jobs/item/mailbox_exclusion_units_bulk_addition_job_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxE param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxExclusionUnitsBulkAdditionJob] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: MailboxExclusionUnitsBulkAdditionJob, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxExclusionUnitsBulkAdditionJob] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: MailboxExclusionUnitsBulkAdditionJob param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> MailboxExclusionUnitsBulkAdditionJobItemReque param raw_url: The raw URL to use for the request builder. Returns: MailboxExclusionUnitsBulkAdditionJobItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxExclusionUnitsBulkAdditionJobItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/mailbox_exclusion_units_bulk_addition_jobs/mailbox_exclusion_units_bulk_addition_jobs_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/mailbox_exclusion_units_bulk_addition_jobs/mailbox_exclusion_units_bulk_addition_jobs_request_builder.py index 94fc6553932..861023ec3ba 100644 --- a/msgraph_beta/generated/solutions/backup_restore/mailbox_exclusion_units_bulk_addition_jobs/mailbox_exclusion_units_bulk_addition_jobs_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/mailbox_exclusion_units_bulk_addition_jobs/mailbox_exclusion_units_bulk_addition_jobs_request_builder.py @@ -39,6 +39,7 @@ def by_mailbox_exclusion_units_bulk_addition_job_id(self,mailbox_exclusion_units param mailbox_exclusion_units_bulk_addition_job_id: The unique identifier of mailboxExclusionUnitsBulkAdditionJob Returns: MailboxExclusionUnitsBulkAdditionJobItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if mailbox_exclusion_units_bulk_addition_job_id is None: raise TypeError("mailbox_exclusion_units_bulk_addition_job_id cannot be null.") from .item.mailbox_exclusion_units_bulk_addition_job_item_request_builder import MailboxExclusionUnitsBulkAdditionJobItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxE param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxExclusionUnitsBulkAdditionJobCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: MailboxExclusionUnitsBulkAdditionJob, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxExclusionUnitsBulkAdditionJob] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: MailboxExclusionUnitsBulkAdditionJob, param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> MailboxExclusionUnitsBulkAdditionJobsRequestB param raw_url: The raw URL to use for the request builder. Returns: MailboxExclusionUnitsBulkAdditionJobsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxExclusionUnitsBulkAdditionJobsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/mailbox_inclusion_rules/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/mailbox_inclusion_rules/count/count_request_builder.py index 4ecc51a2133..fb2a029e19e 100644 --- a/msgraph_beta/generated/solutions/backup_restore/mailbox_inclusion_rules/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/mailbox_inclusion_rules/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/mailbox_inclusion_rules/item/mailbox_protection_rule_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/mailbox_inclusion_rules/item/mailbox_protection_rule_item_request_builder.py index 4e06c91a164..fd3adcf2771 100644 --- a/msgraph_beta/generated/solutions/backup_restore/mailbox_inclusion_rules/item/mailbox_protection_rule_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/mailbox_inclusion_rules/item/mailbox_protection_rule_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxProtectionRule] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: MailboxProtectionRule, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxProtectionRule] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: MailboxProtectionRule, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> MailboxProtectionRuleItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxProtectionRuleItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxProtectionRuleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/mailbox_inclusion_rules/mailbox_inclusion_rules_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/mailbox_inclusion_rules/mailbox_inclusion_rules_request_builder.py index 595dbd80048..ce6f047dc95 100644 --- a/msgraph_beta/generated/solutions/backup_restore/mailbox_inclusion_rules/mailbox_inclusion_rules_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/mailbox_inclusion_rules/mailbox_inclusion_rules_request_builder.py @@ -39,6 +39,7 @@ def by_mailbox_protection_rule_id(self,mailbox_protection_rule_id: str) -> Mailb param mailbox_protection_rule_id: The unique identifier of mailboxProtectionRule Returns: MailboxProtectionRuleItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if mailbox_protection_rule_id is None: raise TypeError("mailbox_protection_rule_id cannot be null.") from .item.mailbox_protection_rule_item_request_builder import MailboxProtectionRuleItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxI param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxProtectionRuleCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: MailboxProtectionRule, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxProtectionRule] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: MailboxProtectionRule, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> MailboxInclusionRulesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxInclusionRulesRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxInclusionRulesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/mailbox_protection_units/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/mailbox_protection_units/count/count_request_builder.py index d06311f7f0b..6205fce88e3 100644 --- a/msgraph_beta/generated/solutions/backup_restore/mailbox_protection_units/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/mailbox_protection_units/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/mailbox_protection_units/item/mailbox_protection_unit_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/mailbox_protection_units/item/mailbox_protection_unit_item_request_builder.py index 097cfc899e3..b8e89ae9465 100644 --- a/msgraph_beta/generated/solutions/backup_restore/mailbox_protection_units/item/mailbox_protection_unit_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/mailbox_protection_units/item/mailbox_protection_unit_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxProtectionUnit] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: MailboxProtectionUnit, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxProtectionUnit] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: MailboxProtectionUnit, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> MailboxProtectionUnitItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxProtectionUnitItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxProtectionUnitItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/mailbox_protection_units/mailbox_protection_units_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/mailbox_protection_units/mailbox_protection_units_request_builder.py index 5054a325961..765c3fdd206 100644 --- a/msgraph_beta/generated/solutions/backup_restore/mailbox_protection_units/mailbox_protection_units_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/mailbox_protection_units/mailbox_protection_units_request_builder.py @@ -39,6 +39,7 @@ def by_mailbox_protection_unit_id(self,mailbox_protection_unit_id: str) -> Mailb param mailbox_protection_unit_id: The unique identifier of mailboxProtectionUnit Returns: MailboxProtectionUnitItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if mailbox_protection_unit_id is None: raise TypeError("mailbox_protection_unit_id cannot be null.") from .item.mailbox_protection_unit_item_request_builder import MailboxProtectionUnitItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxProtectionUnitCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: MailboxProtectionUnit, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxProtectionUnit] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: MailboxProtectionUnit, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> MailboxProtectionUnitsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MailboxProtectionUnitsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxProtectionUnitsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/mailbox_protection_units_bulk_addition_jobs/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/mailbox_protection_units_bulk_addition_jobs/count/count_request_builder.py index c3f9c6eb8e1..291ed0395ae 100644 --- a/msgraph_beta/generated/solutions/backup_restore/mailbox_protection_units_bulk_addition_jobs/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/mailbox_protection_units_bulk_addition_jobs/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/mailbox_protection_units_bulk_addition_jobs/item/mailbox_protection_units_bulk_addition_job_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/mailbox_protection_units_bulk_addition_jobs/item/mailbox_protection_units_bulk_addition_job_item_request_builder.py index 65bad14f368..64156e08c37 100644 --- a/msgraph_beta/generated/solutions/backup_restore/mailbox_protection_units_bulk_addition_jobs/item/mailbox_protection_units_bulk_addition_job_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/mailbox_protection_units_bulk_addition_jobs/item/mailbox_protection_units_bulk_addition_job_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxProtectionUnitsBulkAdditionJob] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: MailboxProtectionUnitsBulkAdditionJob, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxProtectionUnitsBulkAdditionJob] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: MailboxProtectionUnitsBulkAdditionJo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> MailboxProtectionUnitsBulkAdditionJobItemRequ param raw_url: The raw URL to use for the request builder. Returns: MailboxProtectionUnitsBulkAdditionJobItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxProtectionUnitsBulkAdditionJobItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/mailbox_protection_units_bulk_addition_jobs/mailbox_protection_units_bulk_addition_jobs_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/mailbox_protection_units_bulk_addition_jobs/mailbox_protection_units_bulk_addition_jobs_request_builder.py index 441f5a5d7a8..5a373c0e584 100644 --- a/msgraph_beta/generated/solutions/backup_restore/mailbox_protection_units_bulk_addition_jobs/mailbox_protection_units_bulk_addition_jobs_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/mailbox_protection_units_bulk_addition_jobs/mailbox_protection_units_bulk_addition_jobs_request_builder.py @@ -39,6 +39,7 @@ def by_mailbox_protection_units_bulk_addition_job_id(self,mailbox_protection_uni param mailbox_protection_units_bulk_addition_job_id: The unique identifier of mailboxProtectionUnitsBulkAdditionJob Returns: MailboxProtectionUnitsBulkAdditionJobItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if mailbox_protection_units_bulk_addition_job_id is None: raise TypeError("mailbox_protection_units_bulk_addition_job_id cannot be null.") from .item.mailbox_protection_units_bulk_addition_job_item_request_builder import MailboxProtectionUnitsBulkAdditionJobItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MailboxP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxProtectionUnitsBulkAdditionJobCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: MailboxProtectionUnitsBulkAdditionJob, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailboxProtectionUnitsBulkAdditionJob] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: MailboxProtectionUnitsBulkAdditionJob param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> MailboxProtectionUnitsBulkAdditionJobsRequest param raw_url: The raw URL to use for the request builder. Returns: MailboxProtectionUnitsBulkAdditionJobsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MailboxProtectionUnitsBulkAdditionJobsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_browse_sessions/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_browse_sessions/count/count_request_builder.py index cb2918da20a..976975d903c 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_browse_sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_browse_sessions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_browse_sessions/item/one_drive_for_business_browse_session_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_browse_sessions/item/one_drive_for_business_browse_session_item_request_builder.py index e1782c2c742..3d73fc5314c 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_browse_sessions/item/one_drive_for_business_browse_session_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_browse_sessions/item/one_drive_for_business_browse_session_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[OneDrive Returns: Optional[OneDriveForBusinessBrowseSession] Find more info here: https://learn.microsoft.com/graph/api/onedriveforbusinessbrowsesession-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: OneDriveForBusinessBrowseSession, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OneDriveForBusinessBrowseSession] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: OneDriveForBusinessBrowseSession, re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> OneDriveForBusinessBrowseSessionItemRequestBu param raw_url: The raw URL to use for the request builder. Returns: OneDriveForBusinessBrowseSessionItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return OneDriveForBusinessBrowseSessionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_browse_sessions/one_drive_for_business_browse_sessions_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_browse_sessions/one_drive_for_business_browse_sessions_request_builder.py index 2ced02e67f0..63603525d68 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_browse_sessions/one_drive_for_business_browse_sessions_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_browse_sessions/one_drive_for_business_browse_sessions_request_builder.py @@ -39,6 +39,7 @@ def by_one_drive_for_business_browse_session_id(self,one_drive_for_business_brow param one_drive_for_business_browse_session_id: The unique identifier of oneDriveForBusinessBrowseSession Returns: OneDriveForBusinessBrowseSessionItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if one_drive_for_business_browse_session_id is None: raise TypeError("one_drive_for_business_browse_session_id cannot be null.") from .item.one_drive_for_business_browse_session_item_request_builder import OneDriveForBusinessBrowseSessionItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[OneDrive Returns: Optional[OneDriveForBusinessBrowseSessionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/backuprestoreroot-list-onedriveforbusinessbrowsesessions?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def post(self,body: OneDriveForBusinessBrowseSession, request_configuratio Returns: Optional[OneDriveForBusinessBrowseSession] Find more info here: https://learn.microsoft.com/graph/api/backuprestoreroot-post-onedriveforbusinessbrowsesessions?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -98,6 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_post_request_information(self,body: OneDriveForBusinessBrowseSession, req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -124,6 +129,7 @@ def with_url(self,raw_url: str) -> OneDriveForBusinessBrowseSessionsRequestBuild param raw_url: The raw URL to use for the request builder. Returns: OneDriveForBusinessBrowseSessionsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return OneDriveForBusinessBrowseSessionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/count/count_request_builder.py index 4b7f9437e59..b3d47130d1d 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_exclusion_units/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_exclusion_units/count/count_request_builder.py index aab6ce9eb0e..98cf2217fdd 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_exclusion_units/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_exclusion_units/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_exclusion_units/drive_exclusion_units_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_exclusion_units/drive_exclusion_units_request_builder.py index bf60ac3218b..547bea61b12 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_exclusion_units/drive_exclusion_units_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_exclusion_units/drive_exclusion_units_request_builder.py @@ -38,6 +38,7 @@ def by_drive_exclusion_unit_id(self,drive_exclusion_unit_id: str) -> DriveExclus param drive_exclusion_unit_id: The unique identifier of driveExclusionUnit Returns: DriveExclusionUnitItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if drive_exclusion_unit_id is None: raise TypeError("drive_exclusion_unit_id cannot be null.") from .item.drive_exclusion_unit_item_request_builder import DriveExclusionUnitItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DriveExc Returns: Optional[DriveExclusionUnitCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/onedriveforbusinessprotectionpolicy-list-driveexclusionunits?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -73,6 +75,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -84,6 +87,7 @@ def with_url(self,raw_url: str) -> DriveExclusionUnitsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DriveExclusionUnitsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DriveExclusionUnitsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_exclusion_units/item/drive_exclusion_unit_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_exclusion_units/item/drive_exclusion_unit_item_request_builder.py index cf904958fb2..8ab4600e830 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_exclusion_units/item/drive_exclusion_unit_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_exclusion_units/item/drive_exclusion_unit_item_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DriveExc Returns: Optional[DriveExclusionUnit] Find more info here: https://learn.microsoft.com/graph/api/driveexclusionunit-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> DriveExclusionUnitItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DriveExclusionUnitItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DriveExclusionUnitItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_exclusion_units_bulk_addition_jobs/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_exclusion_units_bulk_addition_jobs/count/count_request_builder.py index 7e3f8869cbd..e6e1d825cf5 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_exclusion_units_bulk_addition_jobs/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_exclusion_units_bulk_addition_jobs/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_exclusion_units_bulk_addition_jobs/drive_exclusion_units_bulk_addition_jobs_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_exclusion_units_bulk_addition_jobs/drive_exclusion_units_bulk_addition_jobs_request_builder.py index 4d2e371836c..7ac2f4a44fc 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_exclusion_units_bulk_addition_jobs/drive_exclusion_units_bulk_addition_jobs_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_exclusion_units_bulk_addition_jobs/drive_exclusion_units_bulk_addition_jobs_request_builder.py @@ -38,6 +38,7 @@ def by_drive_exclusion_units_bulk_addition_job_id(self,drive_exclusion_units_bul param drive_exclusion_units_bulk_addition_job_id: The unique identifier of driveExclusionUnitsBulkAdditionJob Returns: DriveExclusionUnitsBulkAdditionJobItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if drive_exclusion_units_bulk_addition_job_id is None: raise TypeError("drive_exclusion_units_bulk_addition_job_id cannot be null.") from .item.drive_exclusion_units_bulk_addition_job_item_request_builder import DriveExclusionUnitsBulkAdditionJobItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DriveExc Returns: Optional[DriveExclusionUnitsBulkAdditionJobCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/onedriveforbusinessprotectionpolicy-list-driveexclusionunitsbulkadditionjobs?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -73,6 +75,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -84,6 +87,7 @@ def with_url(self,raw_url: str) -> DriveExclusionUnitsBulkAdditionJobsRequestBui param raw_url: The raw URL to use for the request builder. Returns: DriveExclusionUnitsBulkAdditionJobsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DriveExclusionUnitsBulkAdditionJobsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_exclusion_units_bulk_addition_jobs/item/drive_exclusion_units_bulk_addition_job_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_exclusion_units_bulk_addition_jobs/item/drive_exclusion_units_bulk_addition_job_item_request_builder.py index 06e376052a6..9ed3bb31655 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_exclusion_units_bulk_addition_jobs/item/drive_exclusion_units_bulk_addition_job_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_exclusion_units_bulk_addition_jobs/item/drive_exclusion_units_bulk_addition_job_item_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DriveExc Returns: Optional[DriveExclusionUnitsBulkAdditionJob] Find more info here: https://learn.microsoft.com/graph/api/driveexclusionunitsbulkadditionjob-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> DriveExclusionUnitsBulkAdditionJobItemRequest param raw_url: The raw URL to use for the request builder. Returns: DriveExclusionUnitsBulkAdditionJobItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DriveExclusionUnitsBulkAdditionJobItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_inclusion_rules/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_inclusion_rules/count/count_request_builder.py index 7423e3ee96b..5b4f2cb2cb5 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_inclusion_rules/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_inclusion_rules/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_inclusion_rules/drive_inclusion_rules_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_inclusion_rules/drive_inclusion_rules_request_builder.py index dc4ccf09d1c..6241c71f38b 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_inclusion_rules/drive_inclusion_rules_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_inclusion_rules/drive_inclusion_rules_request_builder.py @@ -38,6 +38,7 @@ def by_drive_protection_rule_id(self,drive_protection_rule_id: str) -> DriveProt param drive_protection_rule_id: The unique identifier of driveProtectionRule Returns: DriveProtectionRuleItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if drive_protection_rule_id is None: raise TypeError("drive_protection_rule_id cannot be null.") from .item.drive_protection_rule_item_request_builder import DriveProtectionRuleItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DriveInc Returns: Optional[DriveProtectionRuleCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/onedriveforbusinessprotectionpolicy-list-driveinclusionrules?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -73,6 +75,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -84,6 +87,7 @@ def with_url(self,raw_url: str) -> DriveInclusionRulesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DriveInclusionRulesRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DriveInclusionRulesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_inclusion_rules/item/drive_protection_rule_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_inclusion_rules/item/drive_protection_rule_item_request_builder.py index b1ac2a86c2e..0dff606fc83 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_inclusion_rules/item/drive_protection_rule_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_inclusion_rules/item/drive_protection_rule_item_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DrivePro Returns: Optional[DriveProtectionRule] Find more info here: https://learn.microsoft.com/graph/api/protectionrulebase-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> DriveProtectionRuleItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DriveProtectionRuleItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DriveProtectionRuleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units/count/count_request_builder.py index fca0d02e4fd..92190d3dea8 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units/drive_protection_units_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units/drive_protection_units_request_builder.py index e50bd7c75c9..f4a5c972f65 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units/drive_protection_units_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units/drive_protection_units_request_builder.py @@ -38,6 +38,7 @@ def by_drive_protection_unit_id(self,drive_protection_unit_id: str) -> DriveProt param drive_protection_unit_id: The unique identifier of driveProtectionUnit Returns: DriveProtectionUnitItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if drive_protection_unit_id is None: raise TypeError("drive_protection_unit_id cannot be null.") from .item.drive_protection_unit_item_request_builder import DriveProtectionUnitItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DrivePro Returns: Optional[DriveProtectionUnitCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/backuprestoreroot-list-driveprotectionunits?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -73,6 +75,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -84,6 +87,7 @@ def with_url(self,raw_url: str) -> DriveProtectionUnitsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DriveProtectionUnitsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DriveProtectionUnitsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units/item/drive_protection_unit_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units/item/drive_protection_unit_item_request_builder.py index 52abdcf3c5e..6b22ee1cb2a 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units/item/drive_protection_unit_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units/item/drive_protection_unit_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DrivePro param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveProtectionUnit] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> DriveProtectionUnitItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DriveProtectionUnitItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DriveProtectionUnitItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units_bulk_addition_jobs/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units_bulk_addition_jobs/count/count_request_builder.py index 8f7d7f8f7aa..b03f0e37327 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units_bulk_addition_jobs/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units_bulk_addition_jobs/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units_bulk_addition_jobs/drive_protection_units_bulk_addition_jobs_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units_bulk_addition_jobs/drive_protection_units_bulk_addition_jobs_request_builder.py index d948ee107d0..ce6c46e1b2d 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units_bulk_addition_jobs/drive_protection_units_bulk_addition_jobs_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units_bulk_addition_jobs/drive_protection_units_bulk_addition_jobs_request_builder.py @@ -38,6 +38,7 @@ def by_drive_protection_units_bulk_addition_job_id(self,drive_protection_units_b param drive_protection_units_bulk_addition_job_id: The unique identifier of driveProtectionUnitsBulkAdditionJob Returns: DriveProtectionUnitsBulkAdditionJobItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if drive_protection_units_bulk_addition_job_id is None: raise TypeError("drive_protection_units_bulk_addition_job_id cannot be null.") from .item.drive_protection_units_bulk_addition_job_item_request_builder import DriveProtectionUnitsBulkAdditionJobItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DrivePro Returns: Optional[DriveProtectionUnitsBulkAdditionJobCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/onedriveforbusinessprotectionpolicy-list-driveprotectionunitsbulkadditionjobs?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -73,6 +75,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -84,6 +87,7 @@ def with_url(self,raw_url: str) -> DriveProtectionUnitsBulkAdditionJobsRequestBu param raw_url: The raw URL to use for the request builder. Returns: DriveProtectionUnitsBulkAdditionJobsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DriveProtectionUnitsBulkAdditionJobsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units_bulk_addition_jobs/item/drive_protection_units_bulk_addition_job_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units_bulk_addition_jobs/item/drive_protection_units_bulk_addition_job_item_request_builder.py index 93f36cfc34c..0a74e3e0f8b 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units_bulk_addition_jobs/item/drive_protection_units_bulk_addition_job_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/drive_protection_units_bulk_addition_jobs/item/drive_protection_units_bulk_addition_job_item_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DrivePro Returns: Optional[DriveProtectionUnitsBulkAdditionJob] Find more info here: https://learn.microsoft.com/graph/api/driveprotectionunitsbulkadditionjobs-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> DriveProtectionUnitsBulkAdditionJobItemReques param raw_url: The raw URL to use for the request builder. Returns: DriveProtectionUnitsBulkAdditionJobItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DriveProtectionUnitsBulkAdditionJobItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/one_drive_for_business_protection_policy_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/one_drive_for_business_protection_policy_item_request_builder.py index 576d5ffce9a..afa2865b869 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/one_drive_for_business_protection_policy_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/item/one_drive_for_business_protection_policy_item_request_builder.py @@ -41,6 +41,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,6 +60,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[OneDrive param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OneDriveForBusinessProtectionPolicy] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,6 +83,7 @@ async def patch(self,body: OneDriveForBusinessProtectionPolicy, request_configur Returns: Optional[OneDriveForBusinessProtectionPolicy] Find more info here: https://learn.microsoft.com/graph/api/onedriveforbusinessprotectionpolicy-update?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,6 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -114,6 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,6 +131,7 @@ def to_patch_request_information(self,body: OneDriveForBusinessProtectionPolicy, param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,6 +146,7 @@ def with_url(self,raw_url: str) -> OneDriveForBusinessProtectionPolicyItemReques param raw_url: The raw URL to use for the request builder. Returns: OneDriveForBusinessProtectionPolicyItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return OneDriveForBusinessProtectionPolicyItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/one_drive_for_business_protection_policies_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/one_drive_for_business_protection_policies_request_builder.py index 45607b099e2..cc87c4f2019 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/one_drive_for_business_protection_policies_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_protection_policies/one_drive_for_business_protection_policies_request_builder.py @@ -39,6 +39,7 @@ def by_one_drive_for_business_protection_policy_id(self,one_drive_for_business_p param one_drive_for_business_protection_policy_id: The unique identifier of oneDriveForBusinessProtectionPolicy Returns: OneDriveForBusinessProtectionPolicyItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if one_drive_for_business_protection_policy_id is None: raise TypeError("one_drive_for_business_protection_policy_id cannot be null.") from .item.one_drive_for_business_protection_policy_item_request_builder import OneDriveForBusinessProtectionPolicyItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[OneDrive param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OneDriveForBusinessProtectionPolicyCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: OneDriveForBusinessProtectionPolicy, request_configura Returns: Optional[OneDriveForBusinessProtectionPolicy] Find more info here: https://learn.microsoft.com/graph/api/backuprestoreroot-post-onedriveforbusinessprotectionpolicies?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: OneDriveForBusinessProtectionPolicy, param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> OneDriveForBusinessProtectionPoliciesRequestB param raw_url: The raw URL to use for the request builder. Returns: OneDriveForBusinessProtectionPoliciesRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return OneDriveForBusinessProtectionPoliciesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/count/count_request_builder.py index 303398cf3f2..0d21d69d2c4 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts/count/count_request_builder.py index a8c746f25e9..393ddc17cc1 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts/drive_restore_artifacts_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts/drive_restore_artifacts_request_builder.py index 4a17d4ec506..3e671ef7406 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts/drive_restore_artifacts_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts/drive_restore_artifacts_request_builder.py @@ -39,6 +39,7 @@ def by_drive_restore_artifact_id(self,drive_restore_artifact_id: str) -> DriveRe param drive_restore_artifact_id: The unique identifier of driveRestoreArtifact Returns: DriveRestoreArtifactItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if drive_restore_artifact_id is None: raise TypeError("drive_restore_artifact_id cannot be null.") from .item.drive_restore_artifact_item_request_builder import DriveRestoreArtifactItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DriveRes Returns: Optional[DriveRestoreArtifactCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/onedriveforbusinessrestoresession-list-driverestoreartifacts?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: DriveRestoreArtifact, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveRestoreArtifact] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: DriveRestoreArtifact, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> DriveRestoreArtifactsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DriveRestoreArtifactsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DriveRestoreArtifactsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts/item/drive_restore_artifact_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts/item/drive_restore_artifact_item_request_builder.py index 0bad04185a2..d0ae5335b08 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts/item/drive_restore_artifact_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts/item/drive_restore_artifact_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DriveRes param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveRestoreArtifact] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: DriveRestoreArtifact, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveRestoreArtifact] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: DriveRestoreArtifact, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> DriveRestoreArtifactItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DriveRestoreArtifactItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DriveRestoreArtifactItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts/item/restore_point/restore_point_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts/item/restore_point/restore_point_request_builder.py index a6ed2c26d90..6e2e62f3cca 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts/item/restore_point/restore_point_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts/item/restore_point/restore_point_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RestoreP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RestorePoint] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RestorePointRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RestorePointRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RestorePointRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts_bulk_addition_requests/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts_bulk_addition_requests/count/count_request_builder.py index 88c73e28534..02bb0ecad11 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts_bulk_addition_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts_bulk_addition_requests/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts_bulk_addition_requests/drive_restore_artifacts_bulk_addition_requests_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts_bulk_addition_requests/drive_restore_artifacts_bulk_addition_requests_request_builder.py index 36f5b4d9383..88f4371186b 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts_bulk_addition_requests/drive_restore_artifacts_bulk_addition_requests_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts_bulk_addition_requests/drive_restore_artifacts_bulk_addition_requests_request_builder.py @@ -39,6 +39,7 @@ def by_drive_restore_artifacts_bulk_addition_request_id(self,drive_restore_artif param drive_restore_artifacts_bulk_addition_request_id: The unique identifier of driveRestoreArtifactsBulkAdditionRequest Returns: DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if drive_restore_artifacts_bulk_addition_request_id is None: raise TypeError("drive_restore_artifacts_bulk_addition_request_id cannot be null.") from .item.drive_restore_artifacts_bulk_addition_request_item_request_builder import DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DriveRes Returns: Optional[DriveRestoreArtifactsBulkAdditionRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/onedriveforbusinessrestoresession-list-driverestoreartifactsbulkadditionrequests?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def post(self,body: DriveRestoreArtifactsBulkAdditionRequest, request_conf Returns: Optional[DriveRestoreArtifactsBulkAdditionRequest] Find more info here: https://learn.microsoft.com/graph/api/onedriveforbusinessrestoresession-post-driverestoreartifactsbulkadditionrequests?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -98,6 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_post_request_information(self,body: DriveRestoreArtifactsBulkAdditionRequ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -124,6 +129,7 @@ def with_url(self,raw_url: str) -> DriveRestoreArtifactsBulkAdditionRequestsRequ param raw_url: The raw URL to use for the request builder. Returns: DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts_bulk_addition_requests/item/drive_restore_artifacts_bulk_addition_request_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts_bulk_addition_requests/item/drive_restore_artifacts_bulk_addition_request_item_request_builder.py index 4af9a85a50c..c268bb0a12f 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts_bulk_addition_requests/item/drive_restore_artifacts_bulk_addition_request_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/drive_restore_artifacts_bulk_addition_requests/item/drive_restore_artifacts_bulk_addition_request_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/driverestoreartifactsbulkadditionrequest-delete?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DriveRes Returns: Optional[DriveRestoreArtifactsBulkAdditionRequest] Find more info here: https://learn.microsoft.com/graph/api/driverestoreartifactsbulkadditionrequest-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: DriveRestoreArtifactsBulkAdditionRequest, request_con param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveRestoreArtifactsBulkAdditionRequest] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: DriveRestoreArtifactsBulkAdditionReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> DriveRestoreArtifactsBulkAdditionRequestItemR param raw_url: The raw URL to use for the request builder. Returns: DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/granular_drive_restore_artifacts/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/granular_drive_restore_artifacts/count/count_request_builder.py index 2dab26d508e..95436e27c50 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/granular_drive_restore_artifacts/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/granular_drive_restore_artifacts/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/granular_drive_restore_artifacts/granular_drive_restore_artifacts_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/granular_drive_restore_artifacts/granular_drive_restore_artifacts_request_builder.py index 82ca18b6aa2..23a280e43fc 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/granular_drive_restore_artifacts/granular_drive_restore_artifacts_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/granular_drive_restore_artifacts/granular_drive_restore_artifacts_request_builder.py @@ -39,6 +39,7 @@ def by_granular_drive_restore_artifact_id(self,granular_drive_restore_artifact_i param granular_drive_restore_artifact_id: The unique identifier of granularDriveRestoreArtifact Returns: GranularDriveRestoreArtifactItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if granular_drive_restore_artifact_id is None: raise TypeError("granular_drive_restore_artifact_id cannot be null.") from .item.granular_drive_restore_artifact_item_request_builder import GranularDriveRestoreArtifactItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Granular Returns: Optional[GranularDriveRestoreArtifactCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/onedriveforbusinessrestoresession-list-granulardriverestoreartifacts?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: GranularDriveRestoreArtifact, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GranularDriveRestoreArtifact] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: GranularDriveRestoreArtifact, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> GranularDriveRestoreArtifactsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GranularDriveRestoreArtifactsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GranularDriveRestoreArtifactsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/granular_drive_restore_artifacts/item/granular_drive_restore_artifact_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/granular_drive_restore_artifacts/item/granular_drive_restore_artifact_item_request_builder.py index e445e98131b..98325d5dc76 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/granular_drive_restore_artifacts/item/granular_drive_restore_artifact_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/granular_drive_restore_artifacts/item/granular_drive_restore_artifact_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Granular param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GranularDriveRestoreArtifact] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: GranularDriveRestoreArtifact, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GranularDriveRestoreArtifact] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: GranularDriveRestoreArtifact, reques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> GranularDriveRestoreArtifactItemRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: GranularDriveRestoreArtifactItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GranularDriveRestoreArtifactItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/one_drive_for_business_restore_session_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/one_drive_for_business_restore_session_item_request_builder.py index 15b8ccdae70..e5a2c295470 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/one_drive_for_business_restore_session_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/item/one_drive_for_business_restore_session_item_request_builder.py @@ -39,6 +39,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[OneDrive param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OneDriveForBusinessRestoreSession] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def patch(self,body: OneDriveForBusinessRestoreSession, request_configurat Returns: Optional[OneDriveForBusinessRestoreSession] Find more info here: https://learn.microsoft.com/graph/api/onedriveforbusinessrestoresession-update?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,6 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,6 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -124,6 +129,7 @@ def to_patch_request_information(self,body: OneDriveForBusinessRestoreSession, r param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -138,6 +144,7 @@ def with_url(self,raw_url: str) -> OneDriveForBusinessRestoreSessionItemRequestB param raw_url: The raw URL to use for the request builder. Returns: OneDriveForBusinessRestoreSessionItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return OneDriveForBusinessRestoreSessionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/one_drive_for_business_restore_sessions_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/one_drive_for_business_restore_sessions_request_builder.py index d31ef7bb213..065868f0cb9 100644 --- a/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/one_drive_for_business_restore_sessions_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/one_drive_for_business_restore_sessions/one_drive_for_business_restore_sessions_request_builder.py @@ -39,6 +39,7 @@ def by_one_drive_for_business_restore_session_id(self,one_drive_for_business_res param one_drive_for_business_restore_session_id: The unique identifier of oneDriveForBusinessRestoreSession Returns: OneDriveForBusinessRestoreSessionItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if one_drive_for_business_restore_session_id is None: raise TypeError("one_drive_for_business_restore_session_id cannot be null.") from .item.one_drive_for_business_restore_session_item_request_builder import OneDriveForBusinessRestoreSessionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[OneDrive param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OneDriveForBusinessRestoreSessionCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: OneDriveForBusinessRestoreSession, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OneDriveForBusinessRestoreSession] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: OneDriveForBusinessRestoreSession, re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> OneDriveForBusinessRestoreSessionsRequestBuil param raw_url: The raw URL to use for the request builder. Returns: OneDriveForBusinessRestoreSessionsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return OneDriveForBusinessRestoreSessionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/protection_policies/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/protection_policies/count/count_request_builder.py index 0a9be827ca9..e30d84d9e5a 100644 --- a/msgraph_beta/generated/solutions/backup_restore/protection_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/protection_policies/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/protection_policies/item/activate/activate_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/protection_policies/item/activate/activate_request_builder.py index aaf6938b362..95a39f443af 100644 --- a/msgraph_beta/generated/solutions/backup_restore/protection_policies/item/activate/activate_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/protection_policies/item/activate/activate_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[ProtectionPolicyBase] Find more info here: https://learn.microsoft.com/graph/api/protectionpolicybase-activate?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> ActivateRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ActivateRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ActivateRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/protection_policies/item/deactivate/deactivate_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/protection_policies/item/deactivate/deactivate_request_builder.py index 3f803d75e81..d2178986878 100644 --- a/msgraph_beta/generated/solutions/backup_restore/protection_policies/item/deactivate/deactivate_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/protection_policies/item/deactivate/deactivate_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[ProtectionPolicyBase] Find more info here: https://learn.microsoft.com/graph/api/protectionpolicybase-deactivate?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> DeactivateRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DeactivateRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DeactivateRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/protection_policies/item/protection_policy_base_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/protection_policies/item/protection_policy_base_item_request_builder.py index 4bb9b7dff80..68a82e5b426 100644 --- a/msgraph_beta/generated/solutions/backup_restore/protection_policies/item/protection_policy_base_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/protection_policies/item/protection_policy_base_item_request_builder.py @@ -39,6 +39,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/protectionpolicybase-delete?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Protecti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProtectionPolicyBase] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,6 +80,7 @@ async def patch(self,body: ProtectionPolicyBase, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProtectionPolicyBase] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,6 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -111,6 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -123,6 +128,7 @@ def to_patch_request_information(self,body: ProtectionPolicyBase, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -137,6 +143,7 @@ def with_url(self,raw_url: str) -> ProtectionPolicyBaseItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ProtectionPolicyBaseItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ProtectionPolicyBaseItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/protection_policies/protection_policies_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/protection_policies/protection_policies_request_builder.py index aee7f842c90..44ababdf5d5 100644 --- a/msgraph_beta/generated/solutions/backup_restore/protection_policies/protection_policies_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/protection_policies/protection_policies_request_builder.py @@ -39,6 +39,7 @@ def by_protection_policy_base_id(self,protection_policy_base_id: str) -> Protect param protection_policy_base_id: The unique identifier of protectionPolicyBase Returns: ProtectionPolicyBaseItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if protection_policy_base_id is None: raise TypeError("protection_policy_base_id cannot be null.") from .item.protection_policy_base_item_request_builder import ProtectionPolicyBaseItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Protecti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProtectionPolicyBaseCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: ProtectionPolicyBase, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProtectionPolicyBase] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: ProtectionPolicyBase, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> ProtectionPoliciesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ProtectionPoliciesRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ProtectionPoliciesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/protection_units/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/protection_units/count/count_request_builder.py index 14880377276..69cd0d69402 100644 --- a/msgraph_beta/generated/solutions/backup_restore/protection_units/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/protection_units/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_drive_protection_unit/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_drive_protection_unit/count/count_request_builder.py index bdfb9950677..519a992769a 100644 --- a/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_drive_protection_unit/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_drive_protection_unit/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_drive_protection_unit/graph_drive_protection_unit_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_drive_protection_unit/graph_drive_protection_unit_request_builder.py index 38692c737ae..44e182b5279 100644 --- a/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_drive_protection_unit/graph_drive_protection_unit_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_drive_protection_unit/graph_drive_protection_unit_request_builder.py @@ -38,6 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphDri Returns: Optional[DriveProtectionUnitCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/backuprestoreroot-list-driveprotectionunits?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -58,6 +59,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -69,6 +71,7 @@ def with_url(self,raw_url: str) -> GraphDriveProtectionUnitRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GraphDriveProtectionUnitRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GraphDriveProtectionUnitRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_mailbox_protection_unit/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_mailbox_protection_unit/count/count_request_builder.py index 23e50d70e9e..e722f7a5a24 100644 --- a/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_mailbox_protection_unit/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_mailbox_protection_unit/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_mailbox_protection_unit/graph_mailbox_protection_unit_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_mailbox_protection_unit/graph_mailbox_protection_unit_request_builder.py index 80dba58e2fc..ac098b5b925 100644 --- a/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_mailbox_protection_unit/graph_mailbox_protection_unit_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_mailbox_protection_unit/graph_mailbox_protection_unit_request_builder.py @@ -38,6 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphMai Returns: Optional[MailboxProtectionUnitCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/backuprestoreroot-list-mailboxprotectionunits?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -58,6 +59,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -69,6 +71,7 @@ def with_url(self,raw_url: str) -> GraphMailboxProtectionUnitRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GraphMailboxProtectionUnitRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GraphMailboxProtectionUnitRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_site_protection_unit/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_site_protection_unit/count/count_request_builder.py index 026fe4c5a15..215c2f1cb4f 100644 --- a/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_site_protection_unit/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_site_protection_unit/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_site_protection_unit/graph_site_protection_unit_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_site_protection_unit/graph_site_protection_unit_request_builder.py index 9e2116ba806..5ed3e474ed8 100644 --- a/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_site_protection_unit/graph_site_protection_unit_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_site_protection_unit/graph_site_protection_unit_request_builder.py @@ -38,6 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphSit Returns: Optional[SiteProtectionUnitCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/backuprestoreroot-list-siteprotectionunits?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -58,6 +59,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -69,6 +71,7 @@ def with_url(self,raw_url: str) -> GraphSiteProtectionUnitRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GraphSiteProtectionUnitRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GraphSiteProtectionUnitRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/protection_units/item/cancel_offboard/cancel_offboard_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/protection_units/item/cancel_offboard/cancel_offboard_request_builder.py index a73924921de..02457ed6985 100644 --- a/msgraph_beta/generated/solutions/backup_restore/protection_units/item/cancel_offboard/cancel_offboard_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/protection_units/item/cancel_offboard/cancel_offboard_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[ProtectionUnitBase] Find more info here: https://learn.microsoft.com/graph/api/protectionunitbase-canceloffboard?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> CancelOffboardRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CancelOffboardRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CancelOffboardRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/protection_units/item/graph_drive_protection_unit/graph_drive_protection_unit_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/protection_units/item/graph_drive_protection_unit/graph_drive_protection_unit_request_builder.py index 49eed1fbc37..933593ac9ef 100644 --- a/msgraph_beta/generated/solutions/backup_restore/protection_units/item/graph_drive_protection_unit/graph_drive_protection_unit_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/protection_units/item/graph_drive_protection_unit/graph_drive_protection_unit_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphDri Returns: Optional[DriveProtectionUnit] Find more info here: https://learn.microsoft.com/graph/api/backuprestoreroot-list-driveprotectionunits?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> GraphDriveProtectionUnitRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GraphDriveProtectionUnitRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GraphDriveProtectionUnitRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/protection_units/item/graph_mailbox_protection_unit/graph_mailbox_protection_unit_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/protection_units/item/graph_mailbox_protection_unit/graph_mailbox_protection_unit_request_builder.py index bd6d49eecef..0235b6a75d3 100644 --- a/msgraph_beta/generated/solutions/backup_restore/protection_units/item/graph_mailbox_protection_unit/graph_mailbox_protection_unit_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/protection_units/item/graph_mailbox_protection_unit/graph_mailbox_protection_unit_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphMai Returns: Optional[MailboxProtectionUnit] Find more info here: https://learn.microsoft.com/graph/api/backuprestoreroot-list-mailboxprotectionunits?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> GraphMailboxProtectionUnitRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GraphMailboxProtectionUnitRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GraphMailboxProtectionUnitRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/protection_units/item/graph_site_protection_unit/graph_site_protection_unit_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/protection_units/item/graph_site_protection_unit/graph_site_protection_unit_request_builder.py index a83a0bd317a..c6f24de1f4d 100644 --- a/msgraph_beta/generated/solutions/backup_restore/protection_units/item/graph_site_protection_unit/graph_site_protection_unit_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/protection_units/item/graph_site_protection_unit/graph_site_protection_unit_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphSit Returns: Optional[SiteProtectionUnit] Find more info here: https://learn.microsoft.com/graph/api/backuprestoreroot-list-siteprotectionunits?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> GraphSiteProtectionUnitRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GraphSiteProtectionUnitRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GraphSiteProtectionUnitRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/protection_units/item/offboard/offboard_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/protection_units/item/offboard/offboard_request_builder.py index b8dbd536bab..f7a722ab2ec 100644 --- a/msgraph_beta/generated/solutions/backup_restore/protection_units/item/offboard/offboard_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/protection_units/item/offboard/offboard_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[ProtectionUnitBase] Find more info here: https://learn.microsoft.com/graph/api/protectionunitbase-offboard?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> OffboardRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: OffboardRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return OffboardRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/protection_units/item/protection_unit_base_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/protection_units/item/protection_unit_base_item_request_builder.py index 4068121f299..1168a6b6bb1 100644 --- a/msgraph_beta/generated/solutions/backup_restore/protection_units/item/protection_unit_base_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/protection_units/item/protection_unit_base_item_request_builder.py @@ -42,6 +42,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Protecti Returns: Optional[ProtectionUnitBase] Find more info here: https://learn.microsoft.com/graph/api/protectionunitbase-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -62,6 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> ProtectionUnitBaseItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ProtectionUnitBaseItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ProtectionUnitBaseItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/protection_units/protection_units_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/protection_units/protection_units_request_builder.py index ecbc98ec129..1c4beb63b84 100644 --- a/msgraph_beta/generated/solutions/backup_restore/protection_units/protection_units_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/protection_units/protection_units_request_builder.py @@ -41,6 +41,7 @@ def by_protection_unit_base_id(self,protection_unit_base_id: str) -> ProtectionU param protection_unit_base_id: The unique identifier of protectionUnitBase Returns: ProtectionUnitBaseItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if protection_unit_base_id is None: raise TypeError("protection_unit_base_id cannot be null.") from .item.protection_unit_base_item_request_builder import ProtectionUnitBaseItemRequestBuilder @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Protecti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProtectionUnitBaseCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -86,6 +89,7 @@ def with_url(self,raw_url: str) -> ProtectionUnitsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ProtectionUnitsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ProtectionUnitsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/reports/get_statistics_by_policy_with_policy_id/get_statistics_by_policy_with_policy_id_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/reports/get_statistics_by_policy_with_policy_id/get_statistics_by_policy_with_policy_id_request_builder.py index bc025ebd141..f1eced4d3b4 100644 --- a/msgraph_beta/generated/solutions/backup_restore/reports/get_statistics_by_policy_with_policy_id/get_statistics_by_policy_with_policy_id_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/reports/get_statistics_by_policy_with_policy_id/get_statistics_by_policy_with_policy_id_request_builder.py @@ -39,6 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BackupPolicyReport] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,6 +72,7 @@ def with_url(self,raw_url: str) -> GetStatisticsByPolicyWithPolicyIdRequestBuild param raw_url: The raw URL to use for the request builder. Returns: GetStatisticsByPolicyWithPolicyIdRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GetStatisticsByPolicyWithPolicyIdRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/reports/reports_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/reports/reports_request_builder.py index c184c593a13..6a2a7396f10 100644 --- a/msgraph_beta/generated/solutions/backup_restore/reports/reports_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/reports/reports_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ReportsR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BackupReport] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ def get_statistics_by_policy_with_policy_id(self,policy_id: str) -> GetStatistic param policy_id: Usage: policyId='{policyId}' Returns: GetStatisticsByPolicyWithPolicyIdRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if policy_id is None: raise TypeError("policy_id cannot be null.") from .get_statistics_by_policy_with_policy_id.get_statistics_by_policy_with_policy_id_request_builder import GetStatisticsByPolicyWithPolicyIdRequestBuilder @@ -88,6 +91,7 @@ async def patch(self,body: BackupReport, request_configuration: Optional[Request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BackupReport] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -110,6 +114,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -133,6 +139,7 @@ def to_patch_request_information(self,body: BackupReport, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -147,6 +154,7 @@ def with_url(self,raw_url: str) -> ReportsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ReportsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ReportsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/restore_points/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/restore_points/count/count_request_builder.py index 3c1018bd2cc..ab3f7293eeb 100644 --- a/msgraph_beta/generated/solutions/backup_restore/restore_points/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/restore_points/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/restore_points/item/protection_unit/protection_unit_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/restore_points/item/protection_unit/protection_unit_request_builder.py index 4ffbf979900..5a05d9eb719 100644 --- a/msgraph_beta/generated/solutions/backup_restore/restore_points/item/protection_unit/protection_unit_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/restore_points/item/protection_unit/protection_unit_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Protecti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProtectionUnitBase] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ProtectionUnitRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ProtectionUnitRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ProtectionUnitRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/restore_points/item/restore_point_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/restore_points/item/restore_point_item_request_builder.py index 4409eef0bee..17d7503a99d 100644 --- a/msgraph_beta/generated/solutions/backup_restore/restore_points/item/restore_point_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/restore_points/item/restore_point_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RestoreP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RestorePoint] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: RestorePoint, request_configuration: Optional[Request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RestorePoint] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: RestorePoint, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> RestorePointItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RestorePointItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RestorePointItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/restore_points/restore_points_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/restore_points/restore_points_request_builder.py index 25f72d34629..82748d54a79 100644 --- a/msgraph_beta/generated/solutions/backup_restore/restore_points/restore_points_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/restore_points/restore_points_request_builder.py @@ -40,6 +40,7 @@ def by_restore_point_id(self,restore_point_id: str) -> RestorePointItemRequestBu param restore_point_id: The unique identifier of restorePoint Returns: RestorePointItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if restore_point_id is None: raise TypeError("restore_point_id cannot be null.") from .item.restore_point_item_request_builder import RestorePointItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RestoreP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RestorePointCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: RestorePoint, request_configuration: Optional[RequestC param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RestorePoint] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: RestorePoint, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> RestorePointsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RestorePointsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RestorePointsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/restore_points/search/search_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/restore_points/search/search_request_builder.py index 9ae9a3396e2..c353f213adc 100644 --- a/msgraph_beta/generated/solutions/backup_restore/restore_points/search/search_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/restore_points/search/search_request_builder.py @@ -39,6 +39,7 @@ async def post(self,body: SearchPostRequestBody, request_configuration: Optional Returns: Optional[RestorePointSearchResponse] Find more info here: https://learn.microsoft.com/graph/api/restorepoint-search?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -62,6 +63,7 @@ def to_post_request_information(self,body: SearchPostRequestBody, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -76,6 +78,7 @@ def with_url(self,raw_url: str) -> SearchRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SearchRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SearchRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/restore_sessions/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/restore_sessions/count/count_request_builder.py index cd7d30188c8..8e0d71494f8 100644 --- a/msgraph_beta/generated/solutions/backup_restore/restore_sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/restore_sessions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/restore_sessions/item/activate/activate_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/restore_sessions/item/activate/activate_request_builder.py index c1c0c87fa89..a8d43c1b725 100644 --- a/msgraph_beta/generated/solutions/backup_restore/restore_sessions/item/activate/activate_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/restore_sessions/item/activate/activate_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[RestoreSessionBase] Find more info here: https://learn.microsoft.com/graph/api/restoresessionbase-activate?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> ActivateRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ActivateRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ActivateRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/restore_sessions/item/restore_session_base_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/restore_sessions/item/restore_session_base_item_request_builder.py index 89ca6bdbcb3..c6b4b8d838c 100644 --- a/msgraph_beta/generated/solutions/backup_restore/restore_sessions/item/restore_session_base_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/restore_sessions/item/restore_session_base_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/restoresessionbase-delete?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RestoreS Returns: Optional[RestoreSessionBase] Find more info here: https://learn.microsoft.com/graph/api/restoresessionbase-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,6 +80,7 @@ async def patch(self,body: RestoreSessionBase, request_configuration: Optional[R param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RestoreSessionBase] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,6 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -111,6 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -123,6 +128,7 @@ def to_patch_request_information(self,body: RestoreSessionBase, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -137,6 +143,7 @@ def with_url(self,raw_url: str) -> RestoreSessionBaseItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RestoreSessionBaseItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RestoreSessionBaseItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/restore_sessions/restore_sessions_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/restore_sessions/restore_sessions_request_builder.py index af9c779c855..d0a6ab2a20f 100644 --- a/msgraph_beta/generated/solutions/backup_restore/restore_sessions/restore_sessions_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/restore_sessions/restore_sessions_request_builder.py @@ -39,6 +39,7 @@ def by_restore_session_base_id(self,restore_session_base_id: str) -> RestoreSess param restore_session_base_id: The unique identifier of restoreSessionBase Returns: RestoreSessionBaseItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if restore_session_base_id is None: raise TypeError("restore_session_base_id cannot be null.") from .item.restore_session_base_item_request_builder import RestoreSessionBaseItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RestoreS Returns: Optional[RestoreSessionBaseCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/backuprestoreroot-list-restoresessions?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: RestoreSessionBase, request_configuration: Optional[Re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RestoreSessionBase] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: RestoreSessionBase, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> RestoreSessionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RestoreSessionsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RestoreSessionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/service_apps/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/service_apps/count/count_request_builder.py index 2bdf8c6fc44..a827f357060 100644 --- a/msgraph_beta/generated/solutions/backup_restore/service_apps/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/service_apps/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/service_apps/item/activate/activate_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/service_apps/item/activate/activate_request_builder.py index 8106b9c3d1a..d0a540f8125 100644 --- a/msgraph_beta/generated/solutions/backup_restore/service_apps/item/activate/activate_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/service_apps/item/activate/activate_request_builder.py @@ -39,6 +39,7 @@ async def post(self,body: ActivatePostRequestBody, request_configuration: Option Returns: Optional[ServiceApp] Find more info here: https://learn.microsoft.com/graph/api/serviceapp-activate?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -62,6 +63,7 @@ def to_post_request_information(self,body: ActivatePostRequestBody, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -76,6 +78,7 @@ def with_url(self,raw_url: str) -> ActivateRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ActivateRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ActivateRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/service_apps/item/deactivate/deactivate_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/service_apps/item/deactivate/deactivate_request_builder.py index 8055e2cbd4f..1f605607ef4 100644 --- a/msgraph_beta/generated/solutions/backup_restore/service_apps/item/deactivate/deactivate_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/service_apps/item/deactivate/deactivate_request_builder.py @@ -37,6 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[ServiceApp] Find more info here: https://learn.microsoft.com/graph/api/serviceapp-deactivate?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> DeactivateRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DeactivateRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DeactivateRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/service_apps/item/service_app_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/service_apps/item/service_app_item_request_builder.py index d2d1ed5f6b3..d007c78c9f8 100644 --- a/msgraph_beta/generated/solutions/backup_restore/service_apps/item/service_app_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/service_apps/item/service_app_item_request_builder.py @@ -39,6 +39,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/backuprestoreroot-delete-serviceapps?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,6 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceA Returns: Optional[ServiceApp] Find more info here: https://learn.microsoft.com/graph/api/serviceapp-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def patch(self,body: ServiceApp, request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceApp] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,6 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,6 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -124,6 +129,7 @@ def to_patch_request_information(self,body: ServiceApp, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -138,6 +144,7 @@ def with_url(self,raw_url: str) -> ServiceAppItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceAppItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceAppItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/service_apps/service_apps_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/service_apps/service_apps_request_builder.py index 39284e854a5..8ed89e10acc 100644 --- a/msgraph_beta/generated/solutions/backup_restore/service_apps/service_apps_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/service_apps/service_apps_request_builder.py @@ -39,6 +39,7 @@ def by_service_app_id(self,service_app_id: str) -> ServiceAppItemRequestBuilder: param service_app_id: The unique identifier of serviceApp Returns: ServiceAppItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if service_app_id is None: raise TypeError("service_app_id cannot be null.") from .item.service_app_item_request_builder import ServiceAppItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ServiceA Returns: Optional[ServiceAppCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/backuprestoreroot-list-serviceapps?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def post(self,body: ServiceApp, request_configuration: Optional[RequestCon Returns: Optional[ServiceApp] Find more info here: https://learn.microsoft.com/graph/api/backuprestoreroot-post-serviceapps?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -98,6 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_post_request_information(self,body: ServiceApp, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -124,6 +129,7 @@ def with_url(self,raw_url: str) -> ServiceAppsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServiceAppsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServiceAppsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_browse_sessions/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_browse_sessions/count/count_request_builder.py index 7aa3d6c5709..a2a56c825d2 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_browse_sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_browse_sessions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_browse_sessions/item/share_point_browse_session_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_browse_sessions/item/share_point_browse_session_item_request_builder.py index 62eeaa41b7c..0a9755796ab 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_browse_sessions/item/share_point_browse_session_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_browse_sessions/item/share_point_browse_session_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SharePoi Returns: Optional[SharePointBrowseSession] Find more info here: https://learn.microsoft.com/graph/api/sharepointbrowsesession-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: SharePointBrowseSession, request_configuration: Optio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharePointBrowseSession] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: SharePointBrowseSession, request_con param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> SharePointBrowseSessionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SharePointBrowseSessionItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SharePointBrowseSessionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_browse_sessions/share_point_browse_sessions_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_browse_sessions/share_point_browse_sessions_request_builder.py index b92b8c5060a..e4a4f795873 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_browse_sessions/share_point_browse_sessions_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_browse_sessions/share_point_browse_sessions_request_builder.py @@ -39,6 +39,7 @@ def by_share_point_browse_session_id(self,share_point_browse_session_id: str) -> param share_point_browse_session_id: The unique identifier of sharePointBrowseSession Returns: SharePointBrowseSessionItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if share_point_browse_session_id is None: raise TypeError("share_point_browse_session_id cannot be null.") from .item.share_point_browse_session_item_request_builder import SharePointBrowseSessionItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SharePoi Returns: Optional[SharePointBrowseSessionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/backuprestoreroot-list-sharepointbrowsesessions?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def post(self,body: SharePointBrowseSession, request_configuration: Option Returns: Optional[SharePointBrowseSession] Find more info here: https://learn.microsoft.com/graph/api/backuprestoreroot-post-sharepointbrowsesessions?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -98,6 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_post_request_information(self,body: SharePointBrowseSession, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -124,6 +129,7 @@ def with_url(self,raw_url: str) -> SharePointBrowseSessionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SharePointBrowseSessionsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SharePointBrowseSessionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/count/count_request_builder.py index 5bc7ffb1d3c..5ebaabc9f80 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/share_point_protection_policy_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/share_point_protection_policy_item_request_builder.py index 61d948c3208..f291ebd75d8 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/share_point_protection_policy_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/share_point_protection_policy_item_request_builder.py @@ -41,6 +41,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,6 +60,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SharePoi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharePointProtectionPolicy] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,6 +83,7 @@ async def patch(self,body: SharePointProtectionPolicy, request_configuration: Op Returns: Optional[SharePointProtectionPolicy] Find more info here: https://learn.microsoft.com/graph/api/sharepointprotectionpolicy-update?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,6 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -114,6 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,6 +131,7 @@ def to_patch_request_information(self,body: SharePointProtectionPolicy, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,6 +146,7 @@ def with_url(self,raw_url: str) -> SharePointProtectionPolicyItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SharePointProtectionPolicyItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SharePointProtectionPolicyItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_exclusion_units/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_exclusion_units/count/count_request_builder.py index 99fc522e4e6..3b0655b49d7 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_exclusion_units/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_exclusion_units/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_exclusion_units/item/site_exclusion_unit_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_exclusion_units/item/site_exclusion_unit_item_request_builder.py index 6ba6e09c7f5..362aaf75a42 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_exclusion_units/item/site_exclusion_unit_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_exclusion_units/item/site_exclusion_unit_item_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SiteExcl Returns: Optional[SiteExclusionUnit] Find more info here: https://learn.microsoft.com/graph/api/siteexclusionunit-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> SiteExclusionUnitItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SiteExclusionUnitItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SiteExclusionUnitItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_exclusion_units/site_exclusion_units_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_exclusion_units/site_exclusion_units_request_builder.py index c65bde194bb..91f2a32380d 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_exclusion_units/site_exclusion_units_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_exclusion_units/site_exclusion_units_request_builder.py @@ -38,6 +38,7 @@ def by_site_exclusion_unit_id(self,site_exclusion_unit_id: str) -> SiteExclusion param site_exclusion_unit_id: The unique identifier of siteExclusionUnit Returns: SiteExclusionUnitItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if site_exclusion_unit_id is None: raise TypeError("site_exclusion_unit_id cannot be null.") from .item.site_exclusion_unit_item_request_builder import SiteExclusionUnitItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SiteExcl Returns: Optional[SiteExclusionUnitCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sharepointprotectionpolicy-list-siteexclusionunits?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -73,6 +75,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -84,6 +87,7 @@ def with_url(self,raw_url: str) -> SiteExclusionUnitsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SiteExclusionUnitsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SiteExclusionUnitsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_exclusion_units_bulk_addition_jobs/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_exclusion_units_bulk_addition_jobs/count/count_request_builder.py index 5967152ed0a..d187ca7d458 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_exclusion_units_bulk_addition_jobs/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_exclusion_units_bulk_addition_jobs/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_exclusion_units_bulk_addition_jobs/item/site_exclusion_units_bulk_addition_job_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_exclusion_units_bulk_addition_jobs/item/site_exclusion_units_bulk_addition_job_item_request_builder.py index 339e841b95d..1285afa751e 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_exclusion_units_bulk_addition_jobs/item/site_exclusion_units_bulk_addition_job_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_exclusion_units_bulk_addition_jobs/item/site_exclusion_units_bulk_addition_job_item_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SiteExcl Returns: Optional[SiteExclusionUnitsBulkAdditionJob] Find more info here: https://learn.microsoft.com/graph/api/siteexclusionunitsbulkadditionjob-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> SiteExclusionUnitsBulkAdditionJobItemRequestB param raw_url: The raw URL to use for the request builder. Returns: SiteExclusionUnitsBulkAdditionJobItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SiteExclusionUnitsBulkAdditionJobItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_exclusion_units_bulk_addition_jobs/site_exclusion_units_bulk_addition_jobs_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_exclusion_units_bulk_addition_jobs/site_exclusion_units_bulk_addition_jobs_request_builder.py index 022b3eaacc6..a4481033a97 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_exclusion_units_bulk_addition_jobs/site_exclusion_units_bulk_addition_jobs_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_exclusion_units_bulk_addition_jobs/site_exclusion_units_bulk_addition_jobs_request_builder.py @@ -38,6 +38,7 @@ def by_site_exclusion_units_bulk_addition_job_id(self,site_exclusion_units_bulk_ param site_exclusion_units_bulk_addition_job_id: The unique identifier of siteExclusionUnitsBulkAdditionJob Returns: SiteExclusionUnitsBulkAdditionJobItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if site_exclusion_units_bulk_addition_job_id is None: raise TypeError("site_exclusion_units_bulk_addition_job_id cannot be null.") from .item.site_exclusion_units_bulk_addition_job_item_request_builder import SiteExclusionUnitsBulkAdditionJobItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SiteExcl Returns: Optional[SiteExclusionUnitsBulkAdditionJobCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sharepointprotectionpolicy-list-siteexclusionunitsbulkadditionjobs?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -73,6 +75,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -84,6 +87,7 @@ def with_url(self,raw_url: str) -> SiteExclusionUnitsBulkAdditionJobsRequestBuil param raw_url: The raw URL to use for the request builder. Returns: SiteExclusionUnitsBulkAdditionJobsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SiteExclusionUnitsBulkAdditionJobsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_inclusion_rules/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_inclusion_rules/count/count_request_builder.py index fa76ea8c580..061fb42f8d3 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_inclusion_rules/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_inclusion_rules/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_inclusion_rules/item/site_protection_rule_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_inclusion_rules/item/site_protection_rule_item_request_builder.py index 74d4339b369..7474cc9ffb6 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_inclusion_rules/item/site_protection_rule_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_inclusion_rules/item/site_protection_rule_item_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SiteProt Returns: Optional[SiteProtectionRule] Find more info here: https://learn.microsoft.com/graph/api/protectionrulebase-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> SiteProtectionRuleItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SiteProtectionRuleItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SiteProtectionRuleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_inclusion_rules/site_inclusion_rules_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_inclusion_rules/site_inclusion_rules_request_builder.py index 894e453845e..4c87eacc724 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_inclusion_rules/site_inclusion_rules_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_inclusion_rules/site_inclusion_rules_request_builder.py @@ -38,6 +38,7 @@ def by_site_protection_rule_id(self,site_protection_rule_id: str) -> SiteProtect param site_protection_rule_id: The unique identifier of siteProtectionRule Returns: SiteProtectionRuleItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if site_protection_rule_id is None: raise TypeError("site_protection_rule_id cannot be null.") from .item.site_protection_rule_item_request_builder import SiteProtectionRuleItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SiteIncl Returns: Optional[SiteProtectionRuleCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sharepointprotectionpolicy-list-siteinclusionrules?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -73,6 +75,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -84,6 +87,7 @@ def with_url(self,raw_url: str) -> SiteInclusionRulesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SiteInclusionRulesRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SiteInclusionRulesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units/count/count_request_builder.py index 72468c0ab08..41351a0cea9 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units/item/site_protection_unit_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units/item/site_protection_unit_item_request_builder.py index b89ca9d38a1..fb8b2c0bb4e 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units/item/site_protection_unit_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units/item/site_protection_unit_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SiteProt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteProtectionUnit] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> SiteProtectionUnitItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SiteProtectionUnitItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SiteProtectionUnitItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units/site_protection_units_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units/site_protection_units_request_builder.py index 87e84dfb584..43926dbd92e 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units/site_protection_units_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units/site_protection_units_request_builder.py @@ -38,6 +38,7 @@ def by_site_protection_unit_id(self,site_protection_unit_id: str) -> SiteProtect param site_protection_unit_id: The unique identifier of siteProtectionUnit Returns: SiteProtectionUnitItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if site_protection_unit_id is None: raise TypeError("site_protection_unit_id cannot be null.") from .item.site_protection_unit_item_request_builder import SiteProtectionUnitItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SiteProt Returns: Optional[SiteProtectionUnitCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/backuprestoreroot-list-siteprotectionunits?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -73,6 +75,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -84,6 +87,7 @@ def with_url(self,raw_url: str) -> SiteProtectionUnitsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SiteProtectionUnitsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SiteProtectionUnitsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units_bulk_addition_jobs/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units_bulk_addition_jobs/count/count_request_builder.py index 9ad95e8b89e..41920ce1992 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units_bulk_addition_jobs/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units_bulk_addition_jobs/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units_bulk_addition_jobs/item/site_protection_units_bulk_addition_job_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units_bulk_addition_jobs/item/site_protection_units_bulk_addition_job_item_request_builder.py index a85c479696c..d26b0c880af 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units_bulk_addition_jobs/item/site_protection_units_bulk_addition_job_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units_bulk_addition_jobs/item/site_protection_units_bulk_addition_job_item_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SiteProt Returns: Optional[SiteProtectionUnitsBulkAdditionJob] Find more info here: https://learn.microsoft.com/graph/api/siteprotectionunitsbulkadditionjobs-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> SiteProtectionUnitsBulkAdditionJobItemRequest param raw_url: The raw URL to use for the request builder. Returns: SiteProtectionUnitsBulkAdditionJobItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SiteProtectionUnitsBulkAdditionJobItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units_bulk_addition_jobs/site_protection_units_bulk_addition_jobs_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units_bulk_addition_jobs/site_protection_units_bulk_addition_jobs_request_builder.py index 1bbee488794..2e29df692c1 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units_bulk_addition_jobs/site_protection_units_bulk_addition_jobs_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units_bulk_addition_jobs/site_protection_units_bulk_addition_jobs_request_builder.py @@ -38,6 +38,7 @@ def by_site_protection_units_bulk_addition_job_id(self,site_protection_units_bul param site_protection_units_bulk_addition_job_id: The unique identifier of siteProtectionUnitsBulkAdditionJob Returns: SiteProtectionUnitsBulkAdditionJobItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if site_protection_units_bulk_addition_job_id is None: raise TypeError("site_protection_units_bulk_addition_job_id cannot be null.") from .item.site_protection_units_bulk_addition_job_item_request_builder import SiteProtectionUnitsBulkAdditionJobItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SiteProt Returns: Optional[SiteProtectionUnitsBulkAdditionJobCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sharepointprotectionpolicy-list-siteprotectionunitsbulkadditionjobs?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -73,6 +75,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -84,6 +87,7 @@ def with_url(self,raw_url: str) -> SiteProtectionUnitsBulkAdditionJobsRequestBui param raw_url: The raw URL to use for the request builder. Returns: SiteProtectionUnitsBulkAdditionJobsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SiteProtectionUnitsBulkAdditionJobsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/share_point_protection_policies_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/share_point_protection_policies_request_builder.py index 38bea519acd..63b36260d53 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/share_point_protection_policies_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_protection_policies/share_point_protection_policies_request_builder.py @@ -39,6 +39,7 @@ def by_share_point_protection_policy_id(self,share_point_protection_policy_id: s param share_point_protection_policy_id: The unique identifier of sharePointProtectionPolicy Returns: SharePointProtectionPolicyItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if share_point_protection_policy_id is None: raise TypeError("share_point_protection_policy_id cannot be null.") from .item.share_point_protection_policy_item_request_builder import SharePointProtectionPolicyItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SharePoi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharePointProtectionPolicyCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: SharePointProtectionPolicy, request_configuration: Opt Returns: Optional[SharePointProtectionPolicy] Find more info here: https://learn.microsoft.com/graph/api/backuprestoreroot-post-sharepointprotectionpolicies?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: SharePointProtectionPolicy, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> SharePointProtectionPoliciesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SharePointProtectionPoliciesRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SharePointProtectionPoliciesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/count/count_request_builder.py index d0dc8a2d541..c7e55d7370e 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/granular_site_restore_artifacts/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/granular_site_restore_artifacts/count/count_request_builder.py index 64c076a4966..1530a816fb3 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/granular_site_restore_artifacts/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/granular_site_restore_artifacts/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/granular_site_restore_artifacts/granular_site_restore_artifacts_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/granular_site_restore_artifacts/granular_site_restore_artifacts_request_builder.py index b8935a7a167..9f5f29c9a71 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/granular_site_restore_artifacts/granular_site_restore_artifacts_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/granular_site_restore_artifacts/granular_site_restore_artifacts_request_builder.py @@ -39,6 +39,7 @@ def by_granular_site_restore_artifact_id(self,granular_site_restore_artifact_id: param granular_site_restore_artifact_id: The unique identifier of granularSiteRestoreArtifact Returns: GranularSiteRestoreArtifactItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if granular_site_restore_artifact_id is None: raise TypeError("granular_site_restore_artifact_id cannot be null.") from .item.granular_site_restore_artifact_item_request_builder import GranularSiteRestoreArtifactItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Granular Returns: Optional[GranularSiteRestoreArtifactCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sharepointrestoresession-list-granularsiterestoreartifacts?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: GranularSiteRestoreArtifact, request_configuration: Op param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GranularSiteRestoreArtifact] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: GranularSiteRestoreArtifact, request_ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> GranularSiteRestoreArtifactsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GranularSiteRestoreArtifactsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GranularSiteRestoreArtifactsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/granular_site_restore_artifacts/item/granular_site_restore_artifact_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/granular_site_restore_artifacts/item/granular_site_restore_artifact_item_request_builder.py index ce0626e4fb8..86bb1b32bf5 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/granular_site_restore_artifacts/item/granular_site_restore_artifact_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/granular_site_restore_artifacts/item/granular_site_restore_artifact_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Granular param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GranularSiteRestoreArtifact] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: GranularSiteRestoreArtifact, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GranularSiteRestoreArtifact] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: GranularSiteRestoreArtifact, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> GranularSiteRestoreArtifactItemRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: GranularSiteRestoreArtifactItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GranularSiteRestoreArtifactItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/share_point_restore_session_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/share_point_restore_session_item_request_builder.py index 4b6abc4bb01..a1b7d8ba1ad 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/share_point_restore_session_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/share_point_restore_session_item_request_builder.py @@ -39,6 +39,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SharePoi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharePointRestoreSession] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def patch(self,body: SharePointRestoreSession, request_configuration: Opti Returns: Optional[SharePointRestoreSession] Find more info here: https://learn.microsoft.com/graph/api/sharepointrestoresession-update?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,6 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,6 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -124,6 +129,7 @@ def to_patch_request_information(self,body: SharePointRestoreSession, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -138,6 +144,7 @@ def with_url(self,raw_url: str) -> SharePointRestoreSessionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SharePointRestoreSessionItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SharePointRestoreSessionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts/count/count_request_builder.py index e12b7abb87f..a54c282ad91 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts/item/restore_point/restore_point_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts/item/restore_point/restore_point_request_builder.py index 5ea88426abd..70398c6f376 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts/item/restore_point/restore_point_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts/item/restore_point/restore_point_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RestoreP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RestorePoint] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RestorePointRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RestorePointRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RestorePointRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts/item/site_restore_artifact_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts/item/site_restore_artifact_item_request_builder.py index 1346f8472e6..5dcdaca20ea 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts/item/site_restore_artifact_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts/item/site_restore_artifact_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SiteRest param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteRestoreArtifact] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: SiteRestoreArtifact, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteRestoreArtifact] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: SiteRestoreArtifact, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> SiteRestoreArtifactItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SiteRestoreArtifactItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SiteRestoreArtifactItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts/site_restore_artifacts_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts/site_restore_artifacts_request_builder.py index 962a646dce4..edd4f9d9c50 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts/site_restore_artifacts_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts/site_restore_artifacts_request_builder.py @@ -39,6 +39,7 @@ def by_site_restore_artifact_id(self,site_restore_artifact_id: str) -> SiteResto param site_restore_artifact_id: The unique identifier of siteRestoreArtifact Returns: SiteRestoreArtifactItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if site_restore_artifact_id is None: raise TypeError("site_restore_artifact_id cannot be null.") from .item.site_restore_artifact_item_request_builder import SiteRestoreArtifactItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SiteRest Returns: Optional[SiteRestoreArtifactCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sharepointrestoresession-list-siterestoreartifacts?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: SiteRestoreArtifact, request_configuration: Optional[R param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteRestoreArtifact] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: SiteRestoreArtifact, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> SiteRestoreArtifactsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SiteRestoreArtifactsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SiteRestoreArtifactsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts_bulk_addition_requests/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts_bulk_addition_requests/count/count_request_builder.py index 2a050cdcca0..781a1ac9593 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts_bulk_addition_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts_bulk_addition_requests/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts_bulk_addition_requests/item/site_restore_artifacts_bulk_addition_request_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts_bulk_addition_requests/item/site_restore_artifacts_bulk_addition_request_item_request_builder.py index f150316bb51..6e9e1634116 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts_bulk_addition_requests/item/site_restore_artifacts_bulk_addition_request_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts_bulk_addition_requests/item/site_restore_artifacts_bulk_addition_request_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/siterestoreartifactsbulkadditionrequest-delete?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SiteRest Returns: Optional[SiteRestoreArtifactsBulkAdditionRequest] Find more info here: https://learn.microsoft.com/graph/api/siterestoreartifactsbulkadditionrequest-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: SiteRestoreArtifactsBulkAdditionRequest, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteRestoreArtifactsBulkAdditionRequest] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: SiteRestoreArtifactsBulkAdditionRequ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> SiteRestoreArtifactsBulkAdditionRequestItemRe param raw_url: The raw URL to use for the request builder. Returns: SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts_bulk_addition_requests/site_restore_artifacts_bulk_addition_requests_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts_bulk_addition_requests/site_restore_artifacts_bulk_addition_requests_request_builder.py index eabbc6e10d3..f2c381a2576 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts_bulk_addition_requests/site_restore_artifacts_bulk_addition_requests_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/item/site_restore_artifacts_bulk_addition_requests/site_restore_artifacts_bulk_addition_requests_request_builder.py @@ -39,6 +39,7 @@ def by_site_restore_artifacts_bulk_addition_request_id(self,site_restore_artifac param site_restore_artifacts_bulk_addition_request_id: The unique identifier of siteRestoreArtifactsBulkAdditionRequest Returns: SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if site_restore_artifacts_bulk_addition_request_id is None: raise TypeError("site_restore_artifacts_bulk_addition_request_id cannot be null.") from .item.site_restore_artifacts_bulk_addition_request_item_request_builder import SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SiteRest Returns: Optional[SiteRestoreArtifactsBulkAdditionRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sharepointrestoresession-list-siterestoreartifactsbulkadditionrequests?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def post(self,body: SiteRestoreArtifactsBulkAdditionRequest, request_confi Returns: Optional[SiteRestoreArtifactsBulkAdditionRequest] Find more info here: https://learn.microsoft.com/graph/api/sharepointrestoresession-post-siterestoreartifactsbulkadditionrequests?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -98,6 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_post_request_information(self,body: SiteRestoreArtifactsBulkAdditionReque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -124,6 +129,7 @@ def with_url(self,raw_url: str) -> SiteRestoreArtifactsBulkAdditionRequestsReque param raw_url: The raw URL to use for the request builder. Returns: SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/share_point_restore_sessions_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/share_point_restore_sessions_request_builder.py index 50466a23d4d..955c3b79435 100644 --- a/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/share_point_restore_sessions_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/share_point_restore_sessions/share_point_restore_sessions_request_builder.py @@ -39,6 +39,7 @@ def by_share_point_restore_session_id(self,share_point_restore_session_id: str) param share_point_restore_session_id: The unique identifier of sharePointRestoreSession Returns: SharePointRestoreSessionItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if share_point_restore_session_id is None: raise TypeError("share_point_restore_session_id cannot be null.") from .item.share_point_restore_session_item_request_builder import SharePointRestoreSessionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SharePoi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharePointRestoreSessionCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: SharePointRestoreSession, request_configuration: Optio Returns: Optional[SharePointRestoreSession] Find more info here: https://learn.microsoft.com/graph/api/backuprestoreroot-post-sharepointrestoresessions?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: SharePointRestoreSession, request_con param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> SharePointRestoreSessionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SharePointRestoreSessionsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SharePointRestoreSessionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/site_exclusion_units/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/site_exclusion_units/count/count_request_builder.py index 787b4b6f602..05a5a6374ba 100644 --- a/msgraph_beta/generated/solutions/backup_restore/site_exclusion_units/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/site_exclusion_units/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/site_exclusion_units/item/site_exclusion_unit_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/site_exclusion_units/item/site_exclusion_unit_item_request_builder.py index c00228c6b70..9c07f6c2ebe 100644 --- a/msgraph_beta/generated/solutions/backup_restore/site_exclusion_units/item/site_exclusion_unit_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/site_exclusion_units/item/site_exclusion_unit_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SiteExcl param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteExclusionUnit] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: SiteExclusionUnit, request_configuration: Optional[Re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteExclusionUnit] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: SiteExclusionUnit, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> SiteExclusionUnitItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SiteExclusionUnitItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SiteExclusionUnitItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/site_exclusion_units/site_exclusion_units_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/site_exclusion_units/site_exclusion_units_request_builder.py index 92def6a22b3..818025332fc 100644 --- a/msgraph_beta/generated/solutions/backup_restore/site_exclusion_units/site_exclusion_units_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/site_exclusion_units/site_exclusion_units_request_builder.py @@ -39,6 +39,7 @@ def by_site_exclusion_unit_id(self,site_exclusion_unit_id: str) -> SiteExclusion param site_exclusion_unit_id: The unique identifier of siteExclusionUnit Returns: SiteExclusionUnitItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if site_exclusion_unit_id is None: raise TypeError("site_exclusion_unit_id cannot be null.") from .item.site_exclusion_unit_item_request_builder import SiteExclusionUnitItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SiteExcl param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteExclusionUnitCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: SiteExclusionUnit, request_configuration: Optional[Req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteExclusionUnit] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: SiteExclusionUnit, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> SiteExclusionUnitsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SiteExclusionUnitsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SiteExclusionUnitsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/site_exclusion_units_bulk_addition_jobs/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/site_exclusion_units_bulk_addition_jobs/count/count_request_builder.py index 0af9d1c6530..249a349551e 100644 --- a/msgraph_beta/generated/solutions/backup_restore/site_exclusion_units_bulk_addition_jobs/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/site_exclusion_units_bulk_addition_jobs/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/site_exclusion_units_bulk_addition_jobs/item/site_exclusion_units_bulk_addition_job_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/site_exclusion_units_bulk_addition_jobs/item/site_exclusion_units_bulk_addition_job_item_request_builder.py index 3cbade64ec4..3beaf86534a 100644 --- a/msgraph_beta/generated/solutions/backup_restore/site_exclusion_units_bulk_addition_jobs/item/site_exclusion_units_bulk_addition_job_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/site_exclusion_units_bulk_addition_jobs/item/site_exclusion_units_bulk_addition_job_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SiteExcl param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteExclusionUnitsBulkAdditionJob] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: SiteExclusionUnitsBulkAdditionJob, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteExclusionUnitsBulkAdditionJob] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: SiteExclusionUnitsBulkAdditionJob, r param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> SiteExclusionUnitsBulkAdditionJobItemRequestB param raw_url: The raw URL to use for the request builder. Returns: SiteExclusionUnitsBulkAdditionJobItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SiteExclusionUnitsBulkAdditionJobItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/site_exclusion_units_bulk_addition_jobs/site_exclusion_units_bulk_addition_jobs_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/site_exclusion_units_bulk_addition_jobs/site_exclusion_units_bulk_addition_jobs_request_builder.py index c5aadb4a980..4db20ec8766 100644 --- a/msgraph_beta/generated/solutions/backup_restore/site_exclusion_units_bulk_addition_jobs/site_exclusion_units_bulk_addition_jobs_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/site_exclusion_units_bulk_addition_jobs/site_exclusion_units_bulk_addition_jobs_request_builder.py @@ -39,6 +39,7 @@ def by_site_exclusion_units_bulk_addition_job_id(self,site_exclusion_units_bulk_ param site_exclusion_units_bulk_addition_job_id: The unique identifier of siteExclusionUnitsBulkAdditionJob Returns: SiteExclusionUnitsBulkAdditionJobItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if site_exclusion_units_bulk_addition_job_id is None: raise TypeError("site_exclusion_units_bulk_addition_job_id cannot be null.") from .item.site_exclusion_units_bulk_addition_job_item_request_builder import SiteExclusionUnitsBulkAdditionJobItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SiteExcl param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteExclusionUnitsBulkAdditionJobCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: SiteExclusionUnitsBulkAdditionJob, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteExclusionUnitsBulkAdditionJob] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: SiteExclusionUnitsBulkAdditionJob, re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> SiteExclusionUnitsBulkAdditionJobsRequestBuil param raw_url: The raw URL to use for the request builder. Returns: SiteExclusionUnitsBulkAdditionJobsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SiteExclusionUnitsBulkAdditionJobsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/site_inclusion_rules/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/site_inclusion_rules/count/count_request_builder.py index 6dbea59cd49..b3df7cc19ab 100644 --- a/msgraph_beta/generated/solutions/backup_restore/site_inclusion_rules/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/site_inclusion_rules/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/site_inclusion_rules/item/site_protection_rule_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/site_inclusion_rules/item/site_protection_rule_item_request_builder.py index 034d1243f03..a2a1d7bbbe0 100644 --- a/msgraph_beta/generated/solutions/backup_restore/site_inclusion_rules/item/site_protection_rule_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/site_inclusion_rules/item/site_protection_rule_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SiteProt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteProtectionRule] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: SiteProtectionRule, request_configuration: Optional[R param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteProtectionRule] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: SiteProtectionRule, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> SiteProtectionRuleItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SiteProtectionRuleItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SiteProtectionRuleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/site_inclusion_rules/site_inclusion_rules_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/site_inclusion_rules/site_inclusion_rules_request_builder.py index 9c70cfe8d1f..bc99cb7c0ea 100644 --- a/msgraph_beta/generated/solutions/backup_restore/site_inclusion_rules/site_inclusion_rules_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/site_inclusion_rules/site_inclusion_rules_request_builder.py @@ -39,6 +39,7 @@ def by_site_protection_rule_id(self,site_protection_rule_id: str) -> SiteProtect param site_protection_rule_id: The unique identifier of siteProtectionRule Returns: SiteProtectionRuleItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if site_protection_rule_id is None: raise TypeError("site_protection_rule_id cannot be null.") from .item.site_protection_rule_item_request_builder import SiteProtectionRuleItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SiteIncl param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteProtectionRuleCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: SiteProtectionRule, request_configuration: Optional[Re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteProtectionRule] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: SiteProtectionRule, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> SiteInclusionRulesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SiteInclusionRulesRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SiteInclusionRulesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/site_protection_units/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/site_protection_units/count/count_request_builder.py index 3d78d0796f2..590bc3f93f2 100644 --- a/msgraph_beta/generated/solutions/backup_restore/site_protection_units/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/site_protection_units/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/site_protection_units/item/site_protection_unit_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/site_protection_units/item/site_protection_unit_item_request_builder.py index 86448bdb06e..c3b7bcdeff6 100644 --- a/msgraph_beta/generated/solutions/backup_restore/site_protection_units/item/site_protection_unit_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/site_protection_units/item/site_protection_unit_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SiteProt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteProtectionUnit] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: SiteProtectionUnit, request_configuration: Optional[R param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteProtectionUnit] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: SiteProtectionUnit, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> SiteProtectionUnitItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SiteProtectionUnitItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SiteProtectionUnitItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/site_protection_units/site_protection_units_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/site_protection_units/site_protection_units_request_builder.py index 465ad5e24cb..f83fe214bfa 100644 --- a/msgraph_beta/generated/solutions/backup_restore/site_protection_units/site_protection_units_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/site_protection_units/site_protection_units_request_builder.py @@ -39,6 +39,7 @@ def by_site_protection_unit_id(self,site_protection_unit_id: str) -> SiteProtect param site_protection_unit_id: The unique identifier of siteProtectionUnit Returns: SiteProtectionUnitItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if site_protection_unit_id is None: raise TypeError("site_protection_unit_id cannot be null.") from .item.site_protection_unit_item_request_builder import SiteProtectionUnitItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SiteProt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteProtectionUnitCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: SiteProtectionUnit, request_configuration: Optional[Re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteProtectionUnit] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: SiteProtectionUnit, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> SiteProtectionUnitsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SiteProtectionUnitsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SiteProtectionUnitsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/site_protection_units_bulk_addition_jobs/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/site_protection_units_bulk_addition_jobs/count/count_request_builder.py index 47248bbd0ee..186fbd705fb 100644 --- a/msgraph_beta/generated/solutions/backup_restore/site_protection_units_bulk_addition_jobs/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/site_protection_units_bulk_addition_jobs/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/site_protection_units_bulk_addition_jobs/item/site_protection_units_bulk_addition_job_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/site_protection_units_bulk_addition_jobs/item/site_protection_units_bulk_addition_job_item_request_builder.py index df3310ba282..f0b7641c3d8 100644 --- a/msgraph_beta/generated/solutions/backup_restore/site_protection_units_bulk_addition_jobs/item/site_protection_units_bulk_addition_job_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/site_protection_units_bulk_addition_jobs/item/site_protection_units_bulk_addition_job_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SiteProt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteProtectionUnitsBulkAdditionJob] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: SiteProtectionUnitsBulkAdditionJob, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteProtectionUnitsBulkAdditionJob] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: SiteProtectionUnitsBulkAdditionJob, param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> SiteProtectionUnitsBulkAdditionJobItemRequest param raw_url: The raw URL to use for the request builder. Returns: SiteProtectionUnitsBulkAdditionJobItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SiteProtectionUnitsBulkAdditionJobItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/backup_restore/site_protection_units_bulk_addition_jobs/site_protection_units_bulk_addition_jobs_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/site_protection_units_bulk_addition_jobs/site_protection_units_bulk_addition_jobs_request_builder.py index 732cc3a5da5..4e2478f8353 100644 --- a/msgraph_beta/generated/solutions/backup_restore/site_protection_units_bulk_addition_jobs/site_protection_units_bulk_addition_jobs_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/site_protection_units_bulk_addition_jobs/site_protection_units_bulk_addition_jobs_request_builder.py @@ -39,6 +39,7 @@ def by_site_protection_units_bulk_addition_job_id(self,site_protection_units_bul param site_protection_units_bulk_addition_job_id: The unique identifier of siteProtectionUnitsBulkAdditionJob Returns: SiteProtectionUnitsBulkAdditionJobItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if site_protection_units_bulk_addition_job_id is None: raise TypeError("site_protection_units_bulk_addition_job_id cannot be null.") from .item.site_protection_units_bulk_addition_job_item_request_builder import SiteProtectionUnitsBulkAdditionJobItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SiteProt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteProtectionUnitsBulkAdditionJobCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: SiteProtectionUnitsBulkAdditionJob, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteProtectionUnitsBulkAdditionJob] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: SiteProtectionUnitsBulkAdditionJob, r param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> SiteProtectionUnitsBulkAdditionJobsRequestBui param raw_url: The raw URL to use for the request builder. Returns: SiteProtectionUnitsBulkAdditionJobsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SiteProtectionUnitsBulkAdditionJobsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/booking_businesses/booking_businesses_request_builder.py b/msgraph_beta/generated/solutions/booking_businesses/booking_businesses_request_builder.py index 8f78ec466dd..fc92a595b3c 100644 --- a/msgraph_beta/generated/solutions/booking_businesses/booking_businesses_request_builder.py +++ b/msgraph_beta/generated/solutions/booking_businesses/booking_businesses_request_builder.py @@ -39,6 +39,7 @@ def by_booking_business_id(self,booking_business_id: str) -> BookingBusinessItem param booking_business_id: The unique identifier of bookingBusiness Returns: BookingBusinessItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if booking_business_id is None: raise TypeError("booking_business_id cannot be null.") from .item.booking_business_item_request_builder import BookingBusinessItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[BookingB param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingBusinessCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: BookingBusiness, request_configuration: Optional[Reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingBusiness] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: BookingBusiness, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> BookingBusinessesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BookingBusinessesRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BookingBusinessesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/booking_businesses/count/count_request_builder.py b/msgraph_beta/generated/solutions/booking_businesses/count/count_request_builder.py index 826d2741eb2..1f0591bf5e0 100644 --- a/msgraph_beta/generated/solutions/booking_businesses/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/booking_businesses/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/booking_businesses/item/appointments/appointments_request_builder.py b/msgraph_beta/generated/solutions/booking_businesses/item/appointments/appointments_request_builder.py index 18a5c64940f..eb76bbf24f3 100644 --- a/msgraph_beta/generated/solutions/booking_businesses/item/appointments/appointments_request_builder.py +++ b/msgraph_beta/generated/solutions/booking_businesses/item/appointments/appointments_request_builder.py @@ -39,6 +39,7 @@ def by_booking_appointment_id(self,booking_appointment_id: str) -> BookingAppoin param booking_appointment_id: The unique identifier of bookingAppointment Returns: BookingAppointmentItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if booking_appointment_id is None: raise TypeError("booking_appointment_id cannot be null.") from .item.booking_appointment_item_request_builder import BookingAppointmentItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Appointm param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingAppointmentCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: BookingAppointment, request_configuration: Optional[Re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingAppointment] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: BookingAppointment, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AppointmentsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppointmentsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppointmentsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/booking_businesses/item/appointments/count/count_request_builder.py b/msgraph_beta/generated/solutions/booking_businesses/item/appointments/count/count_request_builder.py index 6ba6f5913a6..7b438962e8c 100644 --- a/msgraph_beta/generated/solutions/booking_businesses/item/appointments/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/booking_businesses/item/appointments/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/booking_businesses/item/appointments/item/booking_appointment_item_request_builder.py b/msgraph_beta/generated/solutions/booking_businesses/item/appointments/item/booking_appointment_item_request_builder.py index 0f02b8a6120..0c4c13e013f 100644 --- a/msgraph_beta/generated/solutions/booking_businesses/item/appointments/item/booking_appointment_item_request_builder.py +++ b/msgraph_beta/generated/solutions/booking_businesses/item/appointments/item/booking_appointment_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/bookingappointment-delete?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[BookingA Returns: Optional[BookingAppointment] Find more info here: https://learn.microsoft.com/graph/api/bookingappointment-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def patch(self,body: BookingAppointment, request_configuration: Optional[R Returns: Optional[BookingAppointment] Find more info here: https://learn.microsoft.com/graph/api/bookingappointment-update?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,6 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,6 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -124,6 +129,7 @@ def to_patch_request_information(self,body: BookingAppointment, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -138,6 +144,7 @@ def with_url(self,raw_url: str) -> BookingAppointmentItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BookingAppointmentItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BookingAppointmentItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/booking_businesses/item/appointments/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/solutions/booking_businesses/item/appointments/item/cancel/cancel_request_builder.py index 11c13728eb7..4f44a22a84c 100644 --- a/msgraph_beta/generated/solutions/booking_businesses/item/appointments/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/solutions/booking_businesses/item/appointments/item/cancel/cancel_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: CancelPostRequestBody, request_configuration: Optional Returns: None Find more info here: https://learn.microsoft.com/graph/api/bookingappointment-cancel?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: CancelPostRequestBody, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> CancelRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CancelRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CancelRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/booking_businesses/item/booking_business_item_request_builder.py b/msgraph_beta/generated/solutions/booking_businesses/item/booking_business_item_request_builder.py index 8d4b45faf1c..2e599e47305 100644 --- a/msgraph_beta/generated/solutions/booking_businesses/item/booking_business_item_request_builder.py +++ b/msgraph_beta/generated/solutions/booking_businesses/item/booking_business_item_request_builder.py @@ -46,6 +46,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/bookingbusiness-delete?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -64,6 +65,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[BookingB param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingBusiness] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -85,6 +87,7 @@ async def patch(self,body: BookingBusiness, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingBusiness] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -107,6 +110,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -118,6 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -130,6 +135,7 @@ def to_patch_request_information(self,body: BookingBusiness, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -144,6 +150,7 @@ def with_url(self,raw_url: str) -> BookingBusinessItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BookingBusinessItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BookingBusinessItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/booking_businesses/item/calendar_view/calendar_view_request_builder.py b/msgraph_beta/generated/solutions/booking_businesses/item/calendar_view/calendar_view_request_builder.py index f7bbff19dae..5828e3aebcc 100644 --- a/msgraph_beta/generated/solutions/booking_businesses/item/calendar_view/calendar_view_request_builder.py +++ b/msgraph_beta/generated/solutions/booking_businesses/item/calendar_view/calendar_view_request_builder.py @@ -39,6 +39,7 @@ def by_booking_appointment_id(self,booking_appointment_id: str) -> BookingAppoin param booking_appointment_id: The unique identifier of bookingAppointment Returns: BookingAppointmentItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if booking_appointment_id is None: raise TypeError("booking_appointment_id cannot be null.") from .item.booking_appointment_item_request_builder import BookingAppointmentItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Calendar param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingAppointmentCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: BookingAppointment, request_configuration: Optional[Re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingAppointment] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, '{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView?end={end}&start={start}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}', self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: BookingAppointment, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> CalendarViewRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CalendarViewRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CalendarViewRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/booking_businesses/item/calendar_view/count/count_request_builder.py b/msgraph_beta/generated/solutions/booking_businesses/item/calendar_view/count/count_request_builder.py index 81fccf7b3a5..2c6bac79efe 100644 --- a/msgraph_beta/generated/solutions/booking_businesses/item/calendar_view/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/booking_businesses/item/calendar_view/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/booking_businesses/item/calendar_view/item/booking_appointment_item_request_builder.py b/msgraph_beta/generated/solutions/booking_businesses/item/calendar_view/item/booking_appointment_item_request_builder.py index 6b18081781a..d88e7c79da5 100644 --- a/msgraph_beta/generated/solutions/booking_businesses/item/calendar_view/item/booking_appointment_item_request_builder.py +++ b/msgraph_beta/generated/solutions/booking_businesses/item/calendar_view/item/booking_appointment_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[BookingA param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingAppointment] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: BookingAppointment, request_configuration: Optional[R param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingAppointment] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, '{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView/{bookingAppointment%2Did}?end={end}&start={start}{&%24expand,%24select}', self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: BookingAppointment, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> BookingAppointmentItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BookingAppointmentItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BookingAppointmentItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/booking_businesses/item/calendar_view/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/solutions/booking_businesses/item/calendar_view/item/cancel/cancel_request_builder.py index f8cf3a5c94b..c32bb2745a8 100644 --- a/msgraph_beta/generated/solutions/booking_businesses/item/calendar_view/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/solutions/booking_businesses/item/calendar_view/item/cancel/cancel_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: CancelPostRequestBody, request_configuration: Optional Returns: None Find more info here: https://learn.microsoft.com/graph/api/bookingappointment-cancel?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: CancelPostRequestBody, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> CancelRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CancelRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CancelRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/booking_businesses/item/custom_questions/count/count_request_builder.py b/msgraph_beta/generated/solutions/booking_businesses/item/custom_questions/count/count_request_builder.py index 24b478a1c37..09c48df48ef 100644 --- a/msgraph_beta/generated/solutions/booking_businesses/item/custom_questions/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/booking_businesses/item/custom_questions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/booking_businesses/item/custom_questions/custom_questions_request_builder.py b/msgraph_beta/generated/solutions/booking_businesses/item/custom_questions/custom_questions_request_builder.py index 89478adaee1..88ccbe2db7c 100644 --- a/msgraph_beta/generated/solutions/booking_businesses/item/custom_questions/custom_questions_request_builder.py +++ b/msgraph_beta/generated/solutions/booking_businesses/item/custom_questions/custom_questions_request_builder.py @@ -39,6 +39,7 @@ def by_booking_custom_question_id(self,booking_custom_question_id: str) -> Booki param booking_custom_question_id: The unique identifier of bookingCustomQuestion Returns: BookingCustomQuestionItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if booking_custom_question_id is None: raise TypeError("booking_custom_question_id cannot be null.") from .item.booking_custom_question_item_request_builder import BookingCustomQuestionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomQu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingCustomQuestionCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: BookingCustomQuestion, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingCustomQuestion] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: BookingCustomQuestion, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> CustomQuestionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CustomQuestionsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomQuestionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/booking_businesses/item/custom_questions/item/booking_custom_question_item_request_builder.py b/msgraph_beta/generated/solutions/booking_businesses/item/custom_questions/item/booking_custom_question_item_request_builder.py index ac944f3faf5..15707271ae9 100644 --- a/msgraph_beta/generated/solutions/booking_businesses/item/custom_questions/item/booking_custom_question_item_request_builder.py +++ b/msgraph_beta/generated/solutions/booking_businesses/item/custom_questions/item/booking_custom_question_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[BookingC param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingCustomQuestion] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: BookingCustomQuestion, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingCustomQuestion] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: BookingCustomQuestion, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> BookingCustomQuestionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BookingCustomQuestionItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BookingCustomQuestionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/booking_businesses/item/customers/count/count_request_builder.py b/msgraph_beta/generated/solutions/booking_businesses/item/customers/count/count_request_builder.py index 7c396dee472..c3b23b89383 100644 --- a/msgraph_beta/generated/solutions/booking_businesses/item/customers/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/booking_businesses/item/customers/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/booking_businesses/item/customers/customers_request_builder.py b/msgraph_beta/generated/solutions/booking_businesses/item/customers/customers_request_builder.py index 53c136d92f2..6c869c5c5c0 100644 --- a/msgraph_beta/generated/solutions/booking_businesses/item/customers/customers_request_builder.py +++ b/msgraph_beta/generated/solutions/booking_businesses/item/customers/customers_request_builder.py @@ -39,6 +39,7 @@ def by_booking_customer_id(self,booking_customer_id: str) -> BookingCustomerItem param booking_customer_id: The unique identifier of bookingCustomer Returns: BookingCustomerItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if booking_customer_id is None: raise TypeError("booking_customer_id cannot be null.") from .item.booking_customer_item_request_builder import BookingCustomerItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Customer param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingCustomerCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: BookingCustomer, request_configuration: Optional[Reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingCustomer] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: BookingCustomer, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> CustomersRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CustomersRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomersRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/booking_businesses/item/customers/item/booking_customer_item_request_builder.py b/msgraph_beta/generated/solutions/booking_businesses/item/customers/item/booking_customer_item_request_builder.py index 151bf990bb0..0b80d3b617c 100644 --- a/msgraph_beta/generated/solutions/booking_businesses/item/customers/item/booking_customer_item_request_builder.py +++ b/msgraph_beta/generated/solutions/booking_businesses/item/customers/item/booking_customer_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[BookingC param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingCustomer] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: BookingCustomer, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingCustomer] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: BookingCustomer, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> BookingCustomerItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BookingCustomerItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BookingCustomerItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/booking_businesses/item/get_staff_availability/get_staff_availability_request_builder.py b/msgraph_beta/generated/solutions/booking_businesses/item/get_staff_availability/get_staff_availability_request_builder.py index a818d40513f..b8970d06bae 100644 --- a/msgraph_beta/generated/solutions/booking_businesses/item/get_staff_availability/get_staff_availability_request_builder.py +++ b/msgraph_beta/generated/solutions/booking_businesses/item/get_staff_availability/get_staff_availability_request_builder.py @@ -39,6 +39,7 @@ async def post(self,body: GetStaffAvailabilityPostRequestBody, request_configura Returns: Optional[GetStaffAvailabilityPostResponse] Find more info here: https://learn.microsoft.com/graph/api/bookingbusiness-getstaffavailability?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -62,6 +63,7 @@ def to_post_request_information(self,body: GetStaffAvailabilityPostRequestBody, param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -76,6 +78,7 @@ def with_url(self,raw_url: str) -> GetStaffAvailabilityRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GetStaffAvailabilityRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GetStaffAvailabilityRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/booking_businesses/item/publish/publish_request_builder.py b/msgraph_beta/generated/solutions/booking_businesses/item/publish/publish_request_builder.py index d2ca6d0b3c4..15b5b02fa61 100644 --- a/msgraph_beta/generated/solutions/booking_businesses/item/publish/publish_request_builder.py +++ b/msgraph_beta/generated/solutions/booking_businesses/item/publish/publish_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/bookingbusiness-publish?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> PublishRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PublishRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PublishRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/booking_businesses/item/services/count/count_request_builder.py b/msgraph_beta/generated/solutions/booking_businesses/item/services/count/count_request_builder.py index 5819a5cf8e1..012b2545759 100644 --- a/msgraph_beta/generated/solutions/booking_businesses/item/services/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/booking_businesses/item/services/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/booking_businesses/item/services/item/booking_service_item_request_builder.py b/msgraph_beta/generated/solutions/booking_businesses/item/services/item/booking_service_item_request_builder.py index b8ddbfb33a4..a3376818234 100644 --- a/msgraph_beta/generated/solutions/booking_businesses/item/services/item/booking_service_item_request_builder.py +++ b/msgraph_beta/generated/solutions/booking_businesses/item/services/item/booking_service_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[BookingS param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingService] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: BookingService, request_configuration: Optional[Reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingService] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: BookingService, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> BookingServiceItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BookingServiceItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BookingServiceItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/booking_businesses/item/services/services_request_builder.py b/msgraph_beta/generated/solutions/booking_businesses/item/services/services_request_builder.py index e419ab6b2c1..fc6fff08a1e 100644 --- a/msgraph_beta/generated/solutions/booking_businesses/item/services/services_request_builder.py +++ b/msgraph_beta/generated/solutions/booking_businesses/item/services/services_request_builder.py @@ -39,6 +39,7 @@ def by_booking_service_id(self,booking_service_id: str) -> BookingServiceItemReq param booking_service_id: The unique identifier of bookingService Returns: BookingServiceItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if booking_service_id is None: raise TypeError("booking_service_id cannot be null.") from .item.booking_service_item_request_builder import BookingServiceItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Services param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingServiceCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: BookingService, request_configuration: Optional[Reques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingService] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: BookingService, request_configuration param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> ServicesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ServicesRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ServicesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/booking_businesses/item/staff_members/count/count_request_builder.py b/msgraph_beta/generated/solutions/booking_businesses/item/staff_members/count/count_request_builder.py index db89d825e97..db2f630c92c 100644 --- a/msgraph_beta/generated/solutions/booking_businesses/item/staff_members/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/booking_businesses/item/staff_members/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/booking_businesses/item/staff_members/item/booking_staff_member_item_request_builder.py b/msgraph_beta/generated/solutions/booking_businesses/item/staff_members/item/booking_staff_member_item_request_builder.py index f851cb725b7..a8816d43d03 100644 --- a/msgraph_beta/generated/solutions/booking_businesses/item/staff_members/item/booking_staff_member_item_request_builder.py +++ b/msgraph_beta/generated/solutions/booking_businesses/item/staff_members/item/booking_staff_member_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[BookingS param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingStaffMember] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: BookingStaffMember, request_configuration: Optional[R param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingStaffMember] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: BookingStaffMember, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> BookingStaffMemberItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BookingStaffMemberItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BookingStaffMemberItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/booking_businesses/item/staff_members/staff_members_request_builder.py b/msgraph_beta/generated/solutions/booking_businesses/item/staff_members/staff_members_request_builder.py index cd38afe43ac..ed8b99f11bc 100644 --- a/msgraph_beta/generated/solutions/booking_businesses/item/staff_members/staff_members_request_builder.py +++ b/msgraph_beta/generated/solutions/booking_businesses/item/staff_members/staff_members_request_builder.py @@ -39,6 +39,7 @@ def by_booking_staff_member_id(self,booking_staff_member_id: str) -> BookingStaf param booking_staff_member_id: The unique identifier of bookingStaffMember Returns: BookingStaffMemberItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if booking_staff_member_id is None: raise TypeError("booking_staff_member_id cannot be null.") from .item.booking_staff_member_item_request_builder import BookingStaffMemberItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[StaffMem param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingStaffMemberCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: BookingStaffMember, request_configuration: Optional[Re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingStaffMember] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: BookingStaffMember, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> StaffMembersRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: StaffMembersRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return StaffMembersRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/booking_businesses/item/unpublish/unpublish_request_builder.py b/msgraph_beta/generated/solutions/booking_businesses/item/unpublish/unpublish_request_builder.py index 35d5ecd1f63..58f336fb1c6 100644 --- a/msgraph_beta/generated/solutions/booking_businesses/item/unpublish/unpublish_request_builder.py +++ b/msgraph_beta/generated/solutions/booking_businesses/item/unpublish/unpublish_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/bookingbusiness-unpublish?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> UnpublishRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UnpublishRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnpublishRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/booking_currencies/booking_currencies_request_builder.py b/msgraph_beta/generated/solutions/booking_currencies/booking_currencies_request_builder.py index 1ed6a91befe..92f8d8ac9fc 100644 --- a/msgraph_beta/generated/solutions/booking_currencies/booking_currencies_request_builder.py +++ b/msgraph_beta/generated/solutions/booking_currencies/booking_currencies_request_builder.py @@ -39,6 +39,7 @@ def by_booking_currency_id(self,booking_currency_id: str) -> BookingCurrencyItem param booking_currency_id: The unique identifier of bookingCurrency Returns: BookingCurrencyItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if booking_currency_id is None: raise TypeError("booking_currency_id cannot be null.") from .item.booking_currency_item_request_builder import BookingCurrencyItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[BookingC Returns: Optional[BookingCurrencyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/bookingcurrency-list?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: BookingCurrency, request_configuration: Optional[Reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingCurrency] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: BookingCurrency, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> BookingCurrenciesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BookingCurrenciesRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BookingCurrenciesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/booking_currencies/count/count_request_builder.py b/msgraph_beta/generated/solutions/booking_currencies/count/count_request_builder.py index c978774130b..240586ad4b3 100644 --- a/msgraph_beta/generated/solutions/booking_currencies/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/booking_currencies/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/booking_currencies/item/booking_currency_item_request_builder.py b/msgraph_beta/generated/solutions/booking_currencies/item/booking_currency_item_request_builder.py index f2e3570318c..840d2cb178f 100644 --- a/msgraph_beta/generated/solutions/booking_currencies/item/booking_currency_item_request_builder.py +++ b/msgraph_beta/generated/solutions/booking_currencies/item/booking_currency_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[BookingC Returns: Optional[BookingCurrency] Find more info here: https://learn.microsoft.com/graph/api/bookingcurrency-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: BookingCurrency, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingCurrency] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: BookingCurrency, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> BookingCurrencyItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BookingCurrencyItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BookingCurrencyItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/business_scenarios/business_scenarios_request_builder.py b/msgraph_beta/generated/solutions/business_scenarios/business_scenarios_request_builder.py index fad2c916760..4a4f02ea744 100644 --- a/msgraph_beta/generated/solutions/business_scenarios/business_scenarios_request_builder.py +++ b/msgraph_beta/generated/solutions/business_scenarios/business_scenarios_request_builder.py @@ -39,6 +39,7 @@ def by_business_scenario_id(self,business_scenario_id: str) -> BusinessScenarioI param business_scenario_id: The unique identifier of businessScenario Returns: BusinessScenarioItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if business_scenario_id is None: raise TypeError("business_scenario_id cannot be null.") from .item.business_scenario_item_request_builder import BusinessScenarioItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Business Returns: Optional[BusinessScenarioCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/solutionsroot-list-businessscenarios?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def post(self,body: BusinessScenario, request_configuration: Optional[Requ Returns: Optional[BusinessScenario] Find more info here: https://learn.microsoft.com/graph/api/solutionsroot-post-businessscenarios?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -98,6 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_post_request_information(self,body: BusinessScenario, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -124,6 +129,7 @@ def with_url(self,raw_url: str) -> BusinessScenariosRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BusinessScenariosRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BusinessScenariosRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/business_scenarios/count/count_request_builder.py b/msgraph_beta/generated/solutions/business_scenarios/count/count_request_builder.py index 6ba61b6b5b0..d947526d3bb 100644 --- a/msgraph_beta/generated/solutions/business_scenarios/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/business_scenarios/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/business_scenarios/item/business_scenario_item_request_builder.py b/msgraph_beta/generated/solutions/business_scenarios/item/business_scenario_item_request_builder.py index 26b8f6219f5..242fa1f69c3 100644 --- a/msgraph_beta/generated/solutions/business_scenarios/item/business_scenario_item_request_builder.py +++ b/msgraph_beta/generated/solutions/business_scenarios/item/business_scenario_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/businessscenario-delete?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Business Returns: Optional[BusinessScenario] Find more info here: https://learn.microsoft.com/graph/api/businessscenario-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def patch(self,body: BusinessScenario, request_configuration: Optional[Req Returns: Optional[BusinessScenario] Find more info here: https://learn.microsoft.com/graph/api/businessscenario-update?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,6 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,6 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -124,6 +129,7 @@ def to_patch_request_information(self,body: BusinessScenario, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -138,6 +144,7 @@ def with_url(self,raw_url: str) -> BusinessScenarioItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BusinessScenarioItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BusinessScenarioItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/business_scenarios/item/planner/get_plan/get_plan_request_builder.py b/msgraph_beta/generated/solutions/business_scenarios/item/planner/get_plan/get_plan_request_builder.py index 4a45f195bd1..bd564544b5a 100644 --- a/msgraph_beta/generated/solutions/business_scenarios/item/planner/get_plan/get_plan_request_builder.py +++ b/msgraph_beta/generated/solutions/business_scenarios/item/planner/get_plan/get_plan_request_builder.py @@ -39,6 +39,7 @@ async def post(self,body: GetPlanPostRequestBody, request_configuration: Optiona Returns: Optional[BusinessScenarioPlanReference] Find more info here: https://learn.microsoft.com/graph/api/businessscenarioplanner-getplan?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -62,6 +63,7 @@ def to_post_request_information(self,body: GetPlanPostRequestBody, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -76,6 +78,7 @@ def with_url(self,raw_url: str) -> GetPlanRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GetPlanRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GetPlanRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/business_scenarios/item/planner/plan_configuration/localizations/count/count_request_builder.py b/msgraph_beta/generated/solutions/business_scenarios/item/planner/plan_configuration/localizations/count/count_request_builder.py index bfb0fe9c4de..d282787f508 100644 --- a/msgraph_beta/generated/solutions/business_scenarios/item/planner/plan_configuration/localizations/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/business_scenarios/item/planner/plan_configuration/localizations/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/business_scenarios/item/planner/plan_configuration/localizations/item/planner_plan_configuration_localization_item_request_builder.py b/msgraph_beta/generated/solutions/business_scenarios/item/planner/plan_configuration/localizations/item/planner_plan_configuration_localization_item_request_builder.py index a8986a441b4..1f46a45e868 100644 --- a/msgraph_beta/generated/solutions/business_scenarios/item/planner/plan_configuration/localizations/item/planner_plan_configuration_localization_item_request_builder.py +++ b/msgraph_beta/generated/solutions/business_scenarios/item/planner/plan_configuration/localizations/item/planner_plan_configuration_localization_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[PlannerP param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerPlanConfigurationLocalization] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: PlannerPlanConfigurationLocalization, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerPlanConfigurationLocalization] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: PlannerPlanConfigurationLocalization param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> PlannerPlanConfigurationLocalizationItemReque param raw_url: The raw URL to use for the request builder. Returns: PlannerPlanConfigurationLocalizationItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PlannerPlanConfigurationLocalizationItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/business_scenarios/item/planner/plan_configuration/localizations/localizations_request_builder.py b/msgraph_beta/generated/solutions/business_scenarios/item/planner/plan_configuration/localizations/localizations_request_builder.py index 739653f301f..268e6bd699c 100644 --- a/msgraph_beta/generated/solutions/business_scenarios/item/planner/plan_configuration/localizations/localizations_request_builder.py +++ b/msgraph_beta/generated/solutions/business_scenarios/item/planner/plan_configuration/localizations/localizations_request_builder.py @@ -39,6 +39,7 @@ def by_planner_plan_configuration_localization_id(self,planner_plan_configuratio param planner_plan_configuration_localization_id: The unique identifier of plannerPlanConfigurationLocalization Returns: PlannerPlanConfigurationLocalizationItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if planner_plan_configuration_localization_id is None: raise TypeError("planner_plan_configuration_localization_id cannot be null.") from .item.planner_plan_configuration_localization_item_request_builder import PlannerPlanConfigurationLocalizationItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Localiza Returns: Optional[PlannerPlanConfigurationLocalizationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/plannerplanconfiguration-list-localizations?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: PlannerPlanConfigurationLocalization, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerPlanConfigurationLocalization] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: PlannerPlanConfigurationLocalization, param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> LocalizationsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: LocalizationsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return LocalizationsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/business_scenarios/item/planner/plan_configuration/plan_configuration_request_builder.py b/msgraph_beta/generated/solutions/business_scenarios/item/planner/plan_configuration/plan_configuration_request_builder.py index 1c8a43b889c..7498f00d400 100644 --- a/msgraph_beta/generated/solutions/business_scenarios/item/planner/plan_configuration/plan_configuration_request_builder.py +++ b/msgraph_beta/generated/solutions/business_scenarios/item/planner/plan_configuration/plan_configuration_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[PlanConf Returns: Optional[PlannerPlanConfiguration] Find more info here: https://learn.microsoft.com/graph/api/plannerplanconfiguration-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,6 +80,7 @@ async def patch(self,body: PlannerPlanConfiguration, request_configuration: Opti Returns: Optional[PlannerPlanConfiguration] Find more info here: https://learn.microsoft.com/graph/api/plannerplanconfiguration-update?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,6 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -111,6 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -123,6 +128,7 @@ def to_patch_request_information(self,body: PlannerPlanConfiguration, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -137,6 +143,7 @@ def with_url(self,raw_url: str) -> PlanConfigurationRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PlanConfigurationRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PlanConfigurationRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/business_scenarios/item/planner/planner_request_builder.py b/msgraph_beta/generated/solutions/business_scenarios/item/planner/planner_request_builder.py index a1ba9700ec8..8ace0213cc1 100644 --- a/msgraph_beta/generated/solutions/business_scenarios/item/planner/planner_request_builder.py +++ b/msgraph_beta/generated/solutions/business_scenarios/item/planner/planner_request_builder.py @@ -40,6 +40,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,6 +60,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[PlannerR Returns: Optional[BusinessScenarioPlanner] Find more info here: https://learn.microsoft.com/graph/api/businessscenarioplanner-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,6 +82,7 @@ async def patch(self,body: BusinessScenarioPlanner, request_configuration: Optio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BusinessScenarioPlanner] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -102,6 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,6 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,6 +130,7 @@ def to_patch_request_information(self,body: BusinessScenarioPlanner, request_con param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -139,6 +145,7 @@ def with_url(self,raw_url: str) -> PlannerRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PlannerRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PlannerRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/business_scenarios/item/planner/task_configuration/task_configuration_request_builder.py b/msgraph_beta/generated/solutions/business_scenarios/item/planner/task_configuration/task_configuration_request_builder.py index 942b7b6585d..6cc30ffea43 100644 --- a/msgraph_beta/generated/solutions/business_scenarios/item/planner/task_configuration/task_configuration_request_builder.py +++ b/msgraph_beta/generated/solutions/business_scenarios/item/planner/task_configuration/task_configuration_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TaskConf Returns: Optional[PlannerTaskConfiguration] Find more info here: https://learn.microsoft.com/graph/api/plannertaskconfiguration-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: PlannerTaskConfiguration, request_configuration: Opti Returns: Optional[PlannerTaskConfiguration] Find more info here: https://learn.microsoft.com/graph/api/plannertaskconfiguration-update?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: PlannerTaskConfiguration, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> TaskConfigurationRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TaskConfigurationRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TaskConfigurationRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/count/count_request_builder.py b/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/count/count_request_builder.py index e86089de7d7..984fd1409fa 100644 --- a/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.py b/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.py index b5dc8c61d40..1b4da4eab19 100644 --- a/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.py +++ b/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Assigned param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerAssignedToTaskBoardTaskFormat] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: PlannerAssignedToTaskBoardTaskFormat, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerAssignedToTaskBoardTaskFormat] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: PlannerAssignedToTaskBoardTaskFormat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> AssignedToTaskBoardFormatRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AssignedToTaskBoardFormatRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AssignedToTaskBoardFormatRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.py b/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.py index 37ad8741b91..22114d495af 100644 --- a/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.py +++ b/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[BucketTa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerBucketTaskBoardTaskFormat] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: PlannerBucketTaskBoardTaskFormat, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerBucketTaskBoardTaskFormat] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: PlannerBucketTaskBoardTaskFormat, re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> BucketTaskBoardFormatRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BucketTaskBoardFormatRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BucketTaskBoardFormatRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/item/business_scenario_task_item_request_builder.py b/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/item/business_scenario_task_item_request_builder.py index d3d467f83f8..b1d808f402f 100644 --- a/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/item/business_scenario_task_item_request_builder.py +++ b/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/item/business_scenario_task_item_request_builder.py @@ -42,6 +42,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/businessscenarioplanner-delete-tasks?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -61,6 +62,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Business Returns: Optional[BusinessScenarioTask] Find more info here: https://learn.microsoft.com/graph/api/businessscenariotask-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -83,6 +85,7 @@ async def patch(self,body: BusinessScenarioTask, request_configuration: Optional Returns: Optional[BusinessScenarioTask] Find more info here: https://learn.microsoft.com/graph/api/businessscenariotask-update?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -105,6 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -116,6 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -128,6 +133,7 @@ def to_patch_request_information(self,body: BusinessScenarioTask, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -142,6 +148,7 @@ def with_url(self,raw_url: str) -> BusinessScenarioTaskItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: BusinessScenarioTaskItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BusinessScenarioTaskItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/item/details/details_request_builder.py b/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/item/details/details_request_builder.py index 80bd8e29a0f..12f3d463f8d 100644 --- a/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/item/details/details_request_builder.py +++ b/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/item/details/details_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DetailsR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerTaskDetails] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: PlannerTaskDetails, request_configuration: Optional[R param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerTaskDetails] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: PlannerTaskDetails, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> DetailsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DetailsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DetailsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/item/messages/count/count_request_builder.py b/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/item/messages/count/count_request_builder.py index a9fe5148847..8a69b4da96a 100644 --- a/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/item/messages/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/item/messages/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/item/messages/item/planner_task_chat_message_item_request_builder.py b/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/item/messages/item/planner_task_chat_message_item_request_builder.py index d2f279e6b09..7f5f07774ab 100644 --- a/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/item/messages/item/planner_task_chat_message_item_request_builder.py +++ b/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/item/messages/item/planner_task_chat_message_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[PlannerT param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerTaskChatMessage] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: PlannerTaskChatMessage, request_configuration: Option param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerTaskChatMessage] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: PlannerTaskChatMessage, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> PlannerTaskChatMessageItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PlannerTaskChatMessageItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PlannerTaskChatMessageItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/item/messages/item/set_reaction/set_reaction_request_builder.py b/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/item/messages/item/set_reaction/set_reaction_request_builder.py index 845cda2ece5..1ed5adca893 100644 --- a/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/item/messages/item/set_reaction/set_reaction_request_builder.py +++ b/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/item/messages/item/set_reaction/set_reaction_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: SetReactionPostRequestBody, request_configuration: Opt Returns: None Find more info here: https://learn.microsoft.com/graph/api/plannertaskchatmessage-setreaction?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: SetReactionPostRequestBody, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> SetReactionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SetReactionRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SetReactionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/item/messages/item/unset_reaction/unset_reaction_request_builder.py b/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/item/messages/item/unset_reaction/unset_reaction_request_builder.py index ce560646f8b..e586abefae8 100644 --- a/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/item/messages/item/unset_reaction/unset_reaction_request_builder.py +++ b/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/item/messages/item/unset_reaction/unset_reaction_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: UnsetReactionPostRequestBody, request_configuration: O Returns: None Find more info here: https://learn.microsoft.com/graph/api/plannertaskchatmessage-unsetreaction?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -59,6 +60,7 @@ def to_post_request_information(self,body: UnsetReactionPostRequestBody, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> UnsetReactionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UnsetReactionRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnsetReactionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/item/messages/messages_request_builder.py b/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/item/messages/messages_request_builder.py index e3c0be18b58..cd05b8bfd24 100644 --- a/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/item/messages/messages_request_builder.py +++ b/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/item/messages/messages_request_builder.py @@ -39,6 +39,7 @@ def by_planner_task_chat_message_id(self,planner_task_chat_message_id: str) -> P param planner_task_chat_message_id: The unique identifier of plannerTaskChatMessage Returns: PlannerTaskChatMessageItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if planner_task_chat_message_id is None: raise TypeError("planner_task_chat_message_id cannot be null.") from .item.planner_task_chat_message_item_request_builder import PlannerTaskChatMessageItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Messages param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerTaskChatMessageCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: PlannerTaskChatMessage, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerTaskChatMessage] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: PlannerTaskChatMessage, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> MessagesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MessagesRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MessagesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.py b/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.py index 4fbc064737a..3bfd56fb2d9 100644 --- a/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.py +++ b/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Progress param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerProgressTaskBoardTaskFormat] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: PlannerProgressTaskBoardTaskFormat, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerProgressTaskBoardTaskFormat] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: PlannerProgressTaskBoardTaskFormat, param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> ProgressTaskBoardFormatRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ProgressTaskBoardFormatRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ProgressTaskBoardFormatRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/tasks_request_builder.py b/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/tasks_request_builder.py index c0e0c10169f..678faa8693f 100644 --- a/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/tasks_request_builder.py +++ b/msgraph_beta/generated/solutions/business_scenarios/item/planner/tasks/tasks_request_builder.py @@ -39,6 +39,7 @@ def by_business_scenario_task_id(self,business_scenario_task_id: str) -> Busines param business_scenario_task_id: The unique identifier of businessScenarioTask Returns: BusinessScenarioTaskItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if business_scenario_task_id is None: raise TypeError("business_scenario_task_id cannot be null.") from .item.business_scenario_task_item_request_builder import BusinessScenarioTaskItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TasksReq Returns: Optional[BusinessScenarioTaskCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/businessscenarioplanner-list-tasks?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def post(self,body: BusinessScenarioTask, request_configuration: Optional[ Returns: Optional[BusinessScenarioTask] Find more info here: https://learn.microsoft.com/graph/api/businessscenarioplanner-post-tasks?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -98,6 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_post_request_information(self,body: BusinessScenarioTask, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -124,6 +129,7 @@ def with_url(self,raw_url: str) -> TasksRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TasksRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TasksRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/business_scenarios_with_unique_name/business_scenarios_with_unique_name_request_builder.py b/msgraph_beta/generated/solutions/business_scenarios_with_unique_name/business_scenarios_with_unique_name_request_builder.py index 12ea7a97189..94c4c81e080 100644 --- a/msgraph_beta/generated/solutions/business_scenarios_with_unique_name/business_scenarios_with_unique_name_request_builder.py +++ b/msgraph_beta/generated/solutions/business_scenarios_with_unique_name/business_scenarios_with_unique_name_request_builder.py @@ -40,6 +40,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/businessscenario-delete?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,6 +60,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Business Returns: Optional[BusinessScenario] Find more info here: https://learn.microsoft.com/graph/api/businessscenario-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,6 +83,7 @@ async def patch(self,body: BusinessScenario, request_configuration: Optional[Req Returns: Optional[BusinessScenario] Find more info here: https://learn.microsoft.com/graph/api/businessscenario-update?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,6 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -114,6 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,6 +131,7 @@ def to_patch_request_information(self,body: BusinessScenario, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,6 +146,7 @@ def with_url(self,raw_url: str) -> BusinessScenariosWithUniqueNameRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: BusinessScenariosWithUniqueNameRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return BusinessScenariosWithUniqueNameRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs/count/count_request_builder.py b/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs/count/count_request_builder.py index 51e6d6bd2d8..f35cfdd2789 100644 --- a/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs/count/count_request_builder.py @@ -35,7 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -54,7 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -66,7 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs/cross_tenant_migration_jobs_request_builder.py b/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs/cross_tenant_migration_jobs_request_builder.py index 361991d71e2..2fa910fb5df 100644 --- a/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs/cross_tenant_migration_jobs_request_builder.py +++ b/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs/cross_tenant_migration_jobs_request_builder.py @@ -39,7 +39,7 @@ def by_cross_tenant_migration_job_id(self,cross_tenant_migration_job_id: str) -> param cross_tenant_migration_job_id: The unique identifier of crossTenantMigrationJob Returns: CrossTenantMigrationJobItemRequestBuilder """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if cross_tenant_migration_job_id is None: raise TypeError("cross_tenant_migration_job_id cannot be null.") from .item.cross_tenant_migration_job_item_request_builder import CrossTenantMigrationJobItemRequestBuilder @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CrossTen Returns: Optional[CrossTenantMigrationJobCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/migrationsroot-list-crosstenantmigrationjobs?view=graph-rest-beta """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,7 +78,7 @@ async def post(self,body: CrossTenantMigrationJob, request_configuration: Option Returns: Optional[CrossTenantMigrationJob] Find more info here: https://learn.microsoft.com/graph/api/migrationsroot-post-crosstenantmigrationjobs?view=graph-rest-beta """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -101,7 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -114,7 +114,7 @@ def to_post_request_information(self,body: CrossTenantMigrationJob, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -129,7 +129,7 @@ def with_url(self,raw_url: str) -> CrossTenantMigrationJobsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CrossTenantMigrationJobsRequestBuilder """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CrossTenantMigrationJobsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs/item/cancel/cancel_request_builder.py index 76642c775e3..cec066019e7 100644 --- a/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs/item/cancel/cancel_request_builder.py @@ -37,7 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[CrossTenantMigrationCancelResponse] Find more info here: https://learn.microsoft.com/graph/api/crosstenantmigrationjob-cancel?view=graph-rest-beta """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,7 +70,7 @@ def with_url(self,raw_url: str) -> CancelRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CancelRequestBuilder """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CancelRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs/item/cross_tenant_migration_job_item_request_builder.py b/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs/item/cross_tenant_migration_job_item_request_builder.py index ca448ce97b7..d5f40966656 100644 --- a/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs/item/cross_tenant_migration_job_item_request_builder.py +++ b/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs/item/cross_tenant_migration_job_item_request_builder.py @@ -40,7 +40,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -60,7 +60,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CrossTen Returns: Optional[CrossTenantMigrationJob] Find more info here: https://learn.microsoft.com/graph/api/crosstenantmigrationjob-get?view=graph-rest-beta """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -83,7 +83,7 @@ async def patch(self,body: CrossTenantMigrationJob, request_configuration: Optio Returns: Optional[CrossTenantMigrationJob] Find more info here: https://learn.microsoft.com/graph/api/crosstenantmigrationjob-update?view=graph-rest-beta """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -118,7 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -131,7 +131,7 @@ def to_patch_request_information(self,body: CrossTenantMigrationJob, request_con param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -146,7 +146,7 @@ def with_url(self,raw_url: str) -> CrossTenantMigrationJobItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CrossTenantMigrationJobItemRequestBuilder """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CrossTenantMigrationJobItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs/item/migrate/migrate_request_builder.py b/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs/item/migrate/migrate_request_builder.py index 5978b5f6b19..0dd674430b8 100644 --- a/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs/item/migrate/migrate_request_builder.py +++ b/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs/item/migrate/migrate_request_builder.py @@ -37,7 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[CrossTenantMigrationJob] Find more info here: https://learn.microsoft.com/graph/api/crosstenantmigrationjob-migrate?view=graph-rest-beta """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,7 +70,7 @@ def with_url(self,raw_url: str) -> MigrateRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MigrateRequestBuilder """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MigrateRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs/item/users/count/count_request_builder.py b/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs/item/users/count/count_request_builder.py index 4106cf877c0..ff581c38985 100644 --- a/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs/item/users/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs/item/users/count/count_request_builder.py @@ -35,7 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -54,7 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -66,7 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs/item/users/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs/item/users/item/cancel/cancel_request_builder.py index 96f7162082a..fdcfd9b8ae8 100644 --- a/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs/item/users/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs/item/users/item/cancel/cancel_request_builder.py @@ -37,7 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[CrossTenantMigrationCancelResponse] Find more info here: https://learn.microsoft.com/graph/api/crosstenantmigrationtask-cancel?view=graph-rest-beta """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,7 +70,7 @@ def with_url(self,raw_url: str) -> CancelRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CancelRequestBuilder """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CancelRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs/item/users/item/cross_tenant_migration_task_item_request_builder.py b/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs/item/users/item/cross_tenant_migration_task_item_request_builder.py index 2b9df941a18..839c5629624 100644 --- a/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs/item/users/item/cross_tenant_migration_task_item_request_builder.py +++ b/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs/item/users/item/cross_tenant_migration_task_item_request_builder.py @@ -37,7 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,7 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CrossTen Returns: Optional[CrossTenantMigrationTask] Find more info here: https://learn.microsoft.com/graph/api/crosstenantmigrationtask-get?view=graph-rest-beta """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,7 +79,7 @@ async def patch(self,body: CrossTenantMigrationTask, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CrossTenantMigrationTask] """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -102,7 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -114,7 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -127,7 +127,7 @@ def to_patch_request_information(self,body: CrossTenantMigrationTask, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -142,7 +142,7 @@ def with_url(self,raw_url: str) -> CrossTenantMigrationTaskItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CrossTenantMigrationTaskItemRequestBuilder """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CrossTenantMigrationTaskItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs/item/users/users_request_builder.py b/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs/item/users/users_request_builder.py index 248d119e8ed..ce005a88eb3 100644 --- a/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs/item/users/users_request_builder.py +++ b/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs/item/users/users_request_builder.py @@ -39,7 +39,7 @@ def by_cross_tenant_migration_task_id(self,cross_tenant_migration_task_id: str) param cross_tenant_migration_task_id: The unique identifier of crossTenantMigrationTask Returns: CrossTenantMigrationTaskItemRequestBuilder """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if cross_tenant_migration_task_id is None: raise TypeError("cross_tenant_migration_task_id cannot be null.") from .item.cross_tenant_migration_task_item_request_builder import CrossTenantMigrationTaskItemRequestBuilder @@ -55,7 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UsersReq Returns: Optional[CrossTenantMigrationTaskCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/crosstenantmigrationjob-list-users?view=graph-rest-beta """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,7 +77,7 @@ async def post(self,body: CrossTenantMigrationTask, request_configuration: Optio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CrossTenantMigrationTask] """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -100,7 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,7 +113,7 @@ def to_post_request_information(self,body: CrossTenantMigrationTask, request_con param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -128,7 +128,7 @@ def with_url(self,raw_url: str) -> UsersRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UsersRequestBuilder """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UsersRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs/item/validate/validate_request_builder.py b/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs/item/validate/validate_request_builder.py index c50182a4abb..b39e3065fad 100644 --- a/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs/item/validate/validate_request_builder.py +++ b/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs/item/validate/validate_request_builder.py @@ -37,7 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[CrossTenantMigrationJob] Find more info here: https://learn.microsoft.com/graph/api/crosstenantmigrationjob-validate?view=graph-rest-beta """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,7 +70,7 @@ def with_url(self,raw_url: str) -> ValidateRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ValidateRequestBuilder """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ValidateRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs_with_display_name/cancel/cancel_request_builder.py b/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs_with_display_name/cancel/cancel_request_builder.py index 3dd8d81f831..f8e054685f5 100644 --- a/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs_with_display_name/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs_with_display_name/cancel/cancel_request_builder.py @@ -37,7 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[CrossTenantMigrationCancelResponse] Find more info here: https://learn.microsoft.com/graph/api/crosstenantmigrationjob-cancel?view=graph-rest-beta """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,7 +70,7 @@ def with_url(self,raw_url: str) -> CancelRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CancelRequestBuilder """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CancelRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs_with_display_name/cross_tenant_migration_jobs_with_display_name_request_builder.py b/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs_with_display_name/cross_tenant_migration_jobs_with_display_name_request_builder.py index e8be8ad29cf..d36d62d44e3 100644 --- a/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs_with_display_name/cross_tenant_migration_jobs_with_display_name_request_builder.py +++ b/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs_with_display_name/cross_tenant_migration_jobs_with_display_name_request_builder.py @@ -42,7 +42,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -62,7 +62,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CrossTen Returns: Optional[CrossTenantMigrationJob] Find more info here: https://learn.microsoft.com/graph/api/crosstenantmigrationjob-get?view=graph-rest-beta """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -85,7 +85,7 @@ async def patch(self,body: CrossTenantMigrationJob, request_configuration: Optio Returns: Optional[CrossTenantMigrationJob] Find more info here: https://learn.microsoft.com/graph/api/crosstenantmigrationjob-update?view=graph-rest-beta """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -133,7 +133,7 @@ def to_patch_request_information(self,body: CrossTenantMigrationJob, request_con param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -148,7 +148,7 @@ def with_url(self,raw_url: str) -> CrossTenantMigrationJobsWithDisplayNameReques param raw_url: The raw URL to use for the request builder. Returns: CrossTenantMigrationJobsWithDisplayNameRequestBuilder """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CrossTenantMigrationJobsWithDisplayNameRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs_with_display_name/migrate/migrate_request_builder.py b/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs_with_display_name/migrate/migrate_request_builder.py index fb311552093..e62fcb3dbac 100644 --- a/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs_with_display_name/migrate/migrate_request_builder.py +++ b/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs_with_display_name/migrate/migrate_request_builder.py @@ -37,7 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[CrossTenantMigrationJob] Find more info here: https://learn.microsoft.com/graph/api/crosstenantmigrationjob-migrate?view=graph-rest-beta """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,7 +70,7 @@ def with_url(self,raw_url: str) -> MigrateRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MigrateRequestBuilder """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MigrateRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs_with_display_name/validate/validate_request_builder.py b/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs_with_display_name/validate/validate_request_builder.py index 563e4092de3..106fb075ffe 100644 --- a/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs_with_display_name/validate/validate_request_builder.py +++ b/msgraph_beta/generated/solutions/migrations/cross_tenant_migration_jobs_with_display_name/validate/validate_request_builder.py @@ -37,7 +37,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: Optional[CrossTenantMigrationJob] Find more info here: https://learn.microsoft.com/graph/api/crosstenantmigrationjob-validate?view=graph-rest-beta """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,7 +70,7 @@ def with_url(self,raw_url: str) -> ValidateRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ValidateRequestBuilder """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ValidateRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/migrations/migrations_request_builder.py b/msgraph_beta/generated/solutions/migrations/migrations_request_builder.py index e1d33541634..8a40fec9f60 100644 --- a/msgraph_beta/generated/solutions/migrations/migrations_request_builder.py +++ b/msgraph_beta/generated/solutions/migrations/migrations_request_builder.py @@ -38,7 +38,7 @@ def cross_tenant_migration_jobs_with_display_name(self,display_name: str) -> Cro param display_name: Alternate key of crossTenantMigrationJob Returns: CrossTenantMigrationJobsWithDisplayNameRequestBuilder """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if display_name is None: raise TypeError("display_name cannot be null.") from .cross_tenant_migration_jobs_with_display_name.cross_tenant_migration_jobs_with_display_name_request_builder import CrossTenantMigrationJobsWithDisplayNameRequestBuilder @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Migratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MigrationsRoot] """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -92,7 +92,7 @@ async def patch(self,body: MigrationsRoot, request_configuration: Optional[Reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MigrationsRoot] """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -115,7 +115,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -127,7 +127,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: MigrationsRoot, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -155,7 +155,7 @@ def with_url(self,raw_url: str) -> MigrationsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MigrationsRequestBuilder """ - warn(" as of 2023-11/PrivatePreview:CrossTenantContentMigrationAPI on 2023-11-15 and will be removed 2026-07-09", DeprecationWarning) + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MigrationsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_group_mappings/count/count_request_builder.py b/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_group_mappings/count/count_request_builder.py index 9da964e5033..ad898b92b80 100644 --- a/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_group_mappings/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_group_mappings/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_group_mappings/cross_organization_group_mappings_request_builder.py b/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_group_mappings/cross_organization_group_mappings_request_builder.py index baa9828ec3e..33b2a14bc74 100644 --- a/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_group_mappings/cross_organization_group_mappings_request_builder.py +++ b/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_group_mappings/cross_organization_group_mappings_request_builder.py @@ -39,6 +39,7 @@ def by_share_point_group_identity_mapping_id(self,share_point_group_identity_map param share_point_group_identity_mapping_id: The unique identifier of sharePointGroupIdentityMapping Returns: SharePointGroupIdentityMappingItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if share_point_group_identity_mapping_id is None: raise TypeError("share_point_group_identity_mapping_id cannot be null.") from .item.share_point_group_identity_mapping_item_request_builder import SharePointGroupIdentityMappingItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CrossOrg Returns: Optional[SharePointGroupIdentityMappingCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sharepointgroupidentitymapping-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: SharePointGroupIdentityMapping, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharePointGroupIdentityMapping] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: SharePointGroupIdentityMapping, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> CrossOrganizationGroupMappingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CrossOrganizationGroupMappingsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CrossOrganizationGroupMappingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_group_mappings/item/share_point_group_identity_mapping_item_request_builder.py b/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_group_mappings/item/share_point_group_identity_mapping_item_request_builder.py index db9369f0cf5..edbf56090ec 100644 --- a/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_group_mappings/item/share_point_group_identity_mapping_item_request_builder.py +++ b/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_group_mappings/item/share_point_group_identity_mapping_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SharePoi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharePointGroupIdentityMapping] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: SharePointGroupIdentityMapping, request_configuration Returns: Optional[SharePointGroupIdentityMapping] Find more info here: https://learn.microsoft.com/graph/api/sharepointgroupidentitymapping-update?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: SharePointGroupIdentityMapping, requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> SharePointGroupIdentityMappingItemRequestBuil param raw_url: The raw URL to use for the request builder. Returns: SharePointGroupIdentityMappingItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SharePointGroupIdentityMappingItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_migration_tasks/count/count_request_builder.py b/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_migration_tasks/count/count_request_builder.py index 7df609d9e8a..7308bf0fbd9 100644 --- a/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_migration_tasks/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_migration_tasks/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_migration_tasks/cross_organization_migration_tasks_request_builder.py b/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_migration_tasks/cross_organization_migration_tasks_request_builder.py index e549d4548fc..62e1b9f9659 100644 --- a/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_migration_tasks/cross_organization_migration_tasks_request_builder.py +++ b/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_migration_tasks/cross_organization_migration_tasks_request_builder.py @@ -42,6 +42,7 @@ def by_share_point_migration_task_id(self,share_point_migration_task_id: str) -> param share_point_migration_task_id: The unique identifier of sharePointMigrationTask Returns: SharePointMigrationTaskItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if share_point_migration_task_id is None: raise TypeError("share_point_migration_task_id cannot be null.") from .item.share_point_migration_task_item_request_builder import SharePointMigrationTaskItemRequestBuilder @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CrossOrg param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharePointMigrationTaskCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ def get_by_source_group_mail_nickname_with_source_group_mail_nickname(self,sourc param source_group_mail_nickname: Usage: sourceGroupMailNickname='{sourceGroupMailNickname}' Returns: GetBySourceGroupMailNicknameWithSourceGroupMailNicknameRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if source_group_mail_nickname is None: raise TypeError("source_group_mail_nickname cannot be null.") from .get_by_source_group_mail_nickname_with_source_group_mail_nickname.get_by_source_group_mail_nickname_with_source_group_mail_nickname_request_builder import GetBySourceGroupMailNicknameWithSourceGroupMailNicknameRequestBuilder @@ -88,6 +91,7 @@ def get_by_source_site_url_with_source_site_url(self,source_site_url: str) -> Ge param source_site_url: Usage: sourceSiteUrl='{sourceSiteUrl}' Returns: GetBySourceSiteUrlWithSourceSiteUrlRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if source_site_url is None: raise TypeError("source_site_url cannot be null.") from .get_by_source_site_url_with_source_site_url.get_by_source_site_url_with_source_site_url_request_builder import GetBySourceSiteUrlWithSourceSiteUrlRequestBuilder @@ -100,6 +104,7 @@ def get_by_source_user_principal_name_with_source_principal_name(self,source_pri param source_principal_name: Usage: sourcePrincipalName='{sourcePrincipalName}' Returns: GetBySourceUserPrincipalNameWithSourcePrincipalNameRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if source_principal_name is None: raise TypeError("source_principal_name cannot be null.") from .get_by_source_user_principal_name_with_source_principal_name.get_by_source_user_principal_name_with_source_principal_name_request_builder import GetBySourceUserPrincipalNameWithSourcePrincipalNameRequestBuilder @@ -114,6 +119,7 @@ async def post(self,body: SharePointMigrationTask, request_configuration: Option Returns: Optional[SharePointMigrationTask] Find more info here: https://learn.microsoft.com/graph/api/sharepointmigrationtask-update?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -136,6 +142,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -148,6 +155,7 @@ def to_post_request_information(self,body: SharePointMigrationTask, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -162,6 +170,7 @@ def with_url(self,raw_url: str) -> CrossOrganizationMigrationTasksRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: CrossOrganizationMigrationTasksRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CrossOrganizationMigrationTasksRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_migration_tasks/get_by_source_group_mail_nickname_with_source_group_mail_nickname/get_by_source_group_mail_nickname_with_source_group_mail_nickname_request_builder.py b/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_migration_tasks/get_by_source_group_mail_nickname_with_source_group_mail_nickname/get_by_source_group_mail_nickname_with_source_group_mail_nickname_request_builder.py index edbd10ee569..d7f47d4a373 100644 --- a/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_migration_tasks/get_by_source_group_mail_nickname_with_source_group_mail_nickname/get_by_source_group_mail_nickname_with_source_group_mail_nickname_request_builder.py +++ b/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_migration_tasks/get_by_source_group_mail_nickname_with_source_group_mail_nickname/get_by_source_group_mail_nickname_with_source_group_mail_nickname_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar Returns: Optional[SharePointMigrationTask] Find more info here: https://learn.microsoft.com/graph/api/sharepointmigrationtask-getbysourcegroupmailnickname?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> GetBySourceGroupMailNicknameWithSourceGroupMa param raw_url: The raw URL to use for the request builder. Returns: GetBySourceGroupMailNicknameWithSourceGroupMailNicknameRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GetBySourceGroupMailNicknameWithSourceGroupMailNicknameRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_migration_tasks/get_by_source_site_url_with_source_site_url/get_by_source_site_url_with_source_site_url_request_builder.py b/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_migration_tasks/get_by_source_site_url_with_source_site_url/get_by_source_site_url_with_source_site_url_request_builder.py index 5d3b07ab79c..e2bf4ccf54c 100644 --- a/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_migration_tasks/get_by_source_site_url_with_source_site_url/get_by_source_site_url_with_source_site_url_request_builder.py +++ b/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_migration_tasks/get_by_source_site_url_with_source_site_url/get_by_source_site_url_with_source_site_url_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar Returns: Optional[SharePointMigrationTask] Find more info here: https://learn.microsoft.com/graph/api/sharepointmigrationtask-getbysourcesiteurl?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> GetBySourceSiteUrlWithSourceSiteUrlRequestBui param raw_url: The raw URL to use for the request builder. Returns: GetBySourceSiteUrlWithSourceSiteUrlRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GetBySourceSiteUrlWithSourceSiteUrlRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_migration_tasks/get_by_source_user_principal_name_with_source_principal_name/get_by_source_user_principal_name_with_source_principal_name_request_builder.py b/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_migration_tasks/get_by_source_user_principal_name_with_source_principal_name/get_by_source_user_principal_name_with_source_principal_name_request_builder.py index d7a7952e8c4..7eaf85112a9 100644 --- a/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_migration_tasks/get_by_source_user_principal_name_with_source_principal_name/get_by_source_user_principal_name_with_source_principal_name_request_builder.py +++ b/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_migration_tasks/get_by_source_user_principal_name_with_source_principal_name/get_by_source_user_principal_name_with_source_principal_name_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar Returns: Optional[SharePointMigrationTask] Find more info here: https://learn.microsoft.com/graph/api/sharepointmigrationtask-getbysourceuserprincipalname?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> GetBySourceUserPrincipalNameWithSourcePrincip param raw_url: The raw URL to use for the request builder. Returns: GetBySourceUserPrincipalNameWithSourcePrincipalNameRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GetBySourceUserPrincipalNameWithSourcePrincipalNameRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_migration_tasks/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_migration_tasks/item/cancel/cancel_request_builder.py index 4e9b930f29e..afc6bad9555 100644 --- a/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_migration_tasks/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_migration_tasks/item/cancel/cancel_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/sharepointmigrationtask-cancel?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -65,6 +67,7 @@ def with_url(self,raw_url: str) -> CancelRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CancelRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CancelRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_migration_tasks/item/share_point_migration_task_item_request_builder.py b/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_migration_tasks/item/share_point_migration_task_item_request_builder.py index 8cbbd202967..561c34caef0 100644 --- a/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_migration_tasks/item/share_point_migration_task_item_request_builder.py +++ b/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_migration_tasks/item/share_point_migration_task_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SharePoi Returns: Optional[SharePointMigrationTask] Find more info here: https://learn.microsoft.com/graph/api/sharepointmigrationtask-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: SharePointMigrationTask, request_configuration: Optio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharePointMigrationTask] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: SharePointMigrationTask, request_con param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> SharePointMigrationTaskItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SharePointMigrationTaskItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SharePointMigrationTaskItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_user_mappings/count/count_request_builder.py b/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_user_mappings/count/count_request_builder.py index 00a84e541d1..ec56da77869 100644 --- a/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_user_mappings/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_user_mappings/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_user_mappings/cross_organization_user_mappings_request_builder.py b/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_user_mappings/cross_organization_user_mappings_request_builder.py index 040e5eaf337..31b8517e0ff 100644 --- a/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_user_mappings/cross_organization_user_mappings_request_builder.py +++ b/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_user_mappings/cross_organization_user_mappings_request_builder.py @@ -39,6 +39,7 @@ def by_share_point_user_identity_mapping_id(self,share_point_user_identity_mappi param share_point_user_identity_mapping_id: The unique identifier of sharePointUserIdentityMapping Returns: SharePointUserIdentityMappingItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if share_point_user_identity_mapping_id is None: raise TypeError("share_point_user_identity_mapping_id cannot be null.") from .item.share_point_user_identity_mapping_item_request_builder import SharePointUserIdentityMappingItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CrossOrg Returns: Optional[SharePointUserIdentityMappingCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sharepointuseridentitymapping-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: SharePointUserIdentityMapping, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharePointUserIdentityMapping] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: SharePointUserIdentityMapping, reques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> CrossOrganizationUserMappingsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CrossOrganizationUserMappingsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CrossOrganizationUserMappingsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_user_mappings/item/share_point_user_identity_mapping_item_request_builder.py b/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_user_mappings/item/share_point_user_identity_mapping_item_request_builder.py index 321a8a7983a..4ce5788950e 100644 --- a/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_user_mappings/item/share_point_user_identity_mapping_item_request_builder.py +++ b/msgraph_beta/generated/solutions/share_point/migrations/cross_organization_user_mappings/item/share_point_user_identity_mapping_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SharePoi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharePointUserIdentityMapping] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: SharePointUserIdentityMapping, request_configuration: Returns: Optional[SharePointUserIdentityMapping] Find more info here: https://learn.microsoft.com/graph/api/sharepointuseridentitymapping-update?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: SharePointUserIdentityMapping, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> SharePointUserIdentityMappingItemRequestBuild param raw_url: The raw URL to use for the request builder. Returns: SharePointUserIdentityMappingItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SharePointUserIdentityMappingItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/share_point/migrations/migrations_request_builder.py b/msgraph_beta/generated/solutions/share_point/migrations/migrations_request_builder.py index f135feb52c4..184b06fc71b 100644 --- a/msgraph_beta/generated/solutions/share_point/migrations/migrations_request_builder.py +++ b/msgraph_beta/generated/solutions/share_point/migrations/migrations_request_builder.py @@ -39,6 +39,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Migratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharePointMigrationsRoot] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,6 +80,7 @@ async def patch(self,body: SharePointMigrationsRoot, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharePointMigrationsRoot] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,6 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -111,6 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -123,6 +128,7 @@ def to_patch_request_information(self,body: SharePointMigrationsRoot, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -137,6 +143,7 @@ def with_url(self,raw_url: str) -> MigrationsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MigrationsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MigrationsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/share_point/share_point_request_builder.py b/msgraph_beta/generated/solutions/share_point/share_point_request_builder.py index 12a34a50e84..0fbe32ab169 100644 --- a/msgraph_beta/generated/solutions/share_point/share_point_request_builder.py +++ b/msgraph_beta/generated/solutions/share_point/share_point_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SharePoi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharePointRoot] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: SharePointRoot, request_configuration: Optional[Reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharePointRoot] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: SharePointRoot, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> SharePointRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SharePointRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SharePointRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/solutions_request_builder.py b/msgraph_beta/generated/solutions/solutions_request_builder.py index 6912d519a10..b45c6fd3d01 100644 --- a/msgraph_beta/generated/solutions/solutions_request_builder.py +++ b/msgraph_beta/generated/solutions/solutions_request_builder.py @@ -45,6 +45,7 @@ def business_scenarios_with_unique_name(self,unique_name: str) -> BusinessScenar param unique_name: Alternate key of businessScenario Returns: BusinessScenariosWithUniqueNameRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if unique_name is None: raise TypeError("unique_name cannot be null.") from .business_scenarios_with_unique_name.business_scenarios_with_unique_name_request_builder import BusinessScenariosWithUniqueNameRequestBuilder @@ -57,6 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Solution param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SolutionsRoot] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,6 +80,7 @@ async def patch(self,body: SolutionsRoot, request_configuration: Optional[Reques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SolutionsRoot] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,6 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,6 +116,7 @@ def to_patch_request_information(self,body: SolutionsRoot, request_configuration param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -126,6 +131,7 @@ def with_url(self,raw_url: str) -> SolutionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SolutionsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SolutionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/events/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/count/count_request_builder.py index a79b6e2c9fa..bf0548095e0 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/events/events_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/events_request_builder.py index d6717e196d2..bc67b2fc4c6 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/events_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/events_request_builder.py @@ -39,6 +39,7 @@ def by_virtual_event_id(self,virtual_event_id: str) -> VirtualEventItemRequestBu param virtual_event_id: The unique identifier of virtualEvent Returns: VirtualEventItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if virtual_event_id is None: raise TypeError("virtual_event_id cannot be null.") from .item.virtual_event_item_request_builder import VirtualEventItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[EventsRe param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: VirtualEvent, request_configuration: Optional[RequestC param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEvent] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: VirtualEvent, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> EventsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: EventsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return EventsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/cancel/cancel_request_builder.py index 9bdd83e9852..6a7897dce2d 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/cancel/cancel_request_builder.py @@ -35,6 +35,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CancelRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CancelRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CancelRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/count/count_request_builder.py index 07c56cb0686..d1f509599dc 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/item/sessions/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/item/sessions/count/count_request_builder.py index 25688da298b..d63f41eb049 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/item/sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/item/sessions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/item/sessions/item/virtual_event_session_item_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/item/sessions/item/virtual_event_session_item_request_builder.py index 8a3ee3eacf9..07ba8009f95 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/item/sessions/item/virtual_event_session_item_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/item/sessions/item/virtual_event_session_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[VirtualE param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventSession] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> VirtualEventSessionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: VirtualEventSessionItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return VirtualEventSessionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/item/sessions/sessions_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/item/sessions/sessions_request_builder.py index 1694fbf06c6..f2804418bd6 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/item/sessions/sessions_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/item/sessions/sessions_request_builder.py @@ -38,6 +38,7 @@ def by_virtual_event_session_id(self,virtual_event_session_id: str) -> VirtualEv param virtual_event_session_id: The unique identifier of virtualEventSession Returns: VirtualEventSessionItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if virtual_event_session_id is None: raise TypeError("virtual_event_session_id cannot be null.") from .item.virtual_event_session_item_request_builder import VirtualEventSessionItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Sessions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventSessionCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> SessionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SessionsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SessionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/item/sessions_with_join_web_url/sessions_with_join_web_url_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/item/sessions_with_join_web_url/sessions_with_join_web_url_request_builder.py index 1667e7b2681..76d31dd742c 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/item/sessions_with_join_web_url/sessions_with_join_web_url_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/item/sessions_with_join_web_url/sessions_with_join_web_url_request_builder.py @@ -39,6 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Sessions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventSession] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,6 +72,7 @@ def with_url(self,raw_url: str) -> SessionsWithJoinWebUrlRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SessionsWithJoinWebUrlRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SessionsWithJoinWebUrlRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/item/virtual_event_presenter_item_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/item/virtual_event_presenter_item_request_builder.py index 01c64074665..5d72c7f462e 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/item/virtual_event_presenter_item_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/item/virtual_event_presenter_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[VirtualE param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventPresenter] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: VirtualEventPresenter, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventPresenter] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def sessions_with_join_web_url(self,join_web_url: str) -> SessionsWithJoinWebUrl param join_web_url: Alternate key of virtualEventSession Returns: SessionsWithJoinWebUrlRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if join_web_url is None: raise TypeError("join_web_url cannot be null.") from .sessions_with_join_web_url.sessions_with_join_web_url_request_builder import SessionsWithJoinWebUrlRequestBuilder @@ -111,6 +115,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -134,6 +140,7 @@ def to_patch_request_information(self,body: VirtualEventPresenter, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -148,6 +155,7 @@ def with_url(self,raw_url: str) -> VirtualEventPresenterItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: VirtualEventPresenterItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return VirtualEventPresenterItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/presenters_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/presenters_request_builder.py index 849cbc277c5..d2ab294cad0 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/presenters_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/presenters_request_builder.py @@ -39,6 +39,7 @@ def by_virtual_event_presenter_id(self,virtual_event_presenter_id: str) -> Virtu param virtual_event_presenter_id: The unique identifier of virtualEventPresenter Returns: VirtualEventPresenterItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if virtual_event_presenter_id is None: raise TypeError("virtual_event_presenter_id cannot be null.") from .item.virtual_event_presenter_item_request_builder import VirtualEventPresenterItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Presente param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventPresenterCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: VirtualEventPresenter, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventPresenter] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: VirtualEventPresenter, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> PresentersRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PresentersRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PresentersRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/publish/publish_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/publish/publish_request_builder.py index 0cab7de67d3..47edacfbd91 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/publish/publish_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/publish/publish_request_builder.py @@ -35,6 +35,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> PublishRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PublishRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PublishRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/count/count_request_builder.py index 9c667cfaf62..b8909923858 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/attendance_reports/attendance_reports_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/attendance_reports/attendance_reports_request_builder.py index 90878768117..b6dd14e811f 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/attendance_reports/attendance_reports_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/attendance_reports/attendance_reports_request_builder.py @@ -39,6 +39,7 @@ def by_meeting_attendance_report_id(self,meeting_attendance_report_id: str) -> M param meeting_attendance_report_id: The unique identifier of meetingAttendanceReport Returns: MeetingAttendanceReportItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if meeting_attendance_report_id is None: raise TypeError("meeting_attendance_report_id cannot be null.") from .item.meeting_attendance_report_item_request_builder import MeetingAttendanceReportItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Attendan param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingAttendanceReportCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: MeetingAttendanceReport, request_configuration: Option param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingAttendanceReport] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: MeetingAttendanceReport, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AttendanceReportsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AttendanceReportsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AttendanceReportsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/attendance_reports/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/attendance_reports/count/count_request_builder.py index 77ca8f19589..bfa697a6351 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/attendance_reports/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/attendance_reports/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/attendance_reports/item/attendance_records/attendance_records_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/attendance_reports/item/attendance_records/attendance_records_request_builder.py index 24271660a20..f24f4f72ea2 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/attendance_reports/item/attendance_records/attendance_records_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/attendance_reports/item/attendance_records/attendance_records_request_builder.py @@ -39,6 +39,7 @@ def by_attendance_record_id(self,attendance_record_id: str) -> AttendanceRecordI param attendance_record_id: The unique identifier of attendanceRecord Returns: AttendanceRecordItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if attendance_record_id is None: raise TypeError("attendance_record_id cannot be null.") from .item.attendance_record_item_request_builder import AttendanceRecordItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Attendan param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttendanceRecordCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AttendanceRecord, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttendanceRecord] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AttendanceRecord, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AttendanceRecordsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AttendanceRecordsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AttendanceRecordsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/attendance_reports/item/attendance_records/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/attendance_reports/item/attendance_records/count/count_request_builder.py index b64d4097077..5933699925f 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/attendance_reports/item/attendance_records/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/attendance_reports/item/attendance_records/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/attendance_reports/item/attendance_records/item/attendance_record_item_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/attendance_reports/item/attendance_records/item/attendance_record_item_request_builder.py index f355cc56bcd..5b597867dbe 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/attendance_reports/item/attendance_records/item/attendance_record_item_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/attendance_reports/item/attendance_records/item/attendance_record_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Attendan param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttendanceRecord] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AttendanceRecord, request_configuration: Optional[Req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttendanceRecord] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: AttendanceRecord, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> AttendanceRecordItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AttendanceRecordItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AttendanceRecordItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/attendance_reports/item/meeting_attendance_report_item_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/attendance_reports/item/meeting_attendance_report_item_request_builder.py index 84416354a6d..4654a3ff5a0 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/attendance_reports/item/meeting_attendance_report_item_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/attendance_reports/item/meeting_attendance_report_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MeetingA param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingAttendanceReport] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: MeetingAttendanceReport, request_configuration: Optio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingAttendanceReport] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: MeetingAttendanceReport, request_con param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> MeetingAttendanceReportItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MeetingAttendanceReportItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MeetingAttendanceReportItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/presenters/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/presenters/count/count_request_builder.py index 35ead05af32..d7452357e2e 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/presenters/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/presenters/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/presenters/item/virtual_event_presenter_item_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/presenters/item/virtual_event_presenter_item_request_builder.py index c6f39374483..9e32f9f6060 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/presenters/item/virtual_event_presenter_item_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/presenters/item/virtual_event_presenter_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[VirtualE param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventPresenter] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> VirtualEventPresenterItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: VirtualEventPresenterItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return VirtualEventPresenterItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/presenters/presenters_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/presenters/presenters_request_builder.py index 757a293e756..c4e8745c70e 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/presenters/presenters_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/presenters/presenters_request_builder.py @@ -38,6 +38,7 @@ def by_virtual_event_presenter_id(self,virtual_event_presenter_id: str) -> Virtu param virtual_event_presenter_id: The unique identifier of virtualEventPresenter Returns: VirtualEventPresenterItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if virtual_event_presenter_id is None: raise TypeError("virtual_event_presenter_id cannot be null.") from .item.virtual_event_presenter_item_request_builder import VirtualEventPresenterItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Presente param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventPresenterCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> PresentersRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PresentersRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PresentersRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registrations/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registrations/count/count_request_builder.py index 5fc51920231..7fae7ae4ada 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registrations/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registrations/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registrations/item/virtual_event_registration_item_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registrations/item/virtual_event_registration_item_request_builder.py index c5a37212225..7bbd77ea4f4 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registrations/item/virtual_event_registration_item_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registrations/item/virtual_event_registration_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[VirtualE param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventRegistration] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> VirtualEventRegistrationItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: VirtualEventRegistrationItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return VirtualEventRegistrationItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registrations/registrations_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registrations/registrations_request_builder.py index 7758386a273..e7fc24a90c7 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registrations/registrations_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registrations/registrations_request_builder.py @@ -38,6 +38,7 @@ def by_virtual_event_registration_id(self,virtual_event_registration_id: str) -> param virtual_event_registration_id: The unique identifier of virtualEventRegistration Returns: VirtualEventRegistrationItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if virtual_event_registration_id is None: raise TypeError("virtual_event_registration_id cannot be null.") from .item.virtual_event_registration_item_request_builder import VirtualEventRegistrationItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Registra param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventRegistrationCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> RegistrationsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RegistrationsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RegistrationsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registrations_with_email/registrations_with_email_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registrations_with_email/registrations_with_email_request_builder.py index c3dc83a73c3..4d39636c172 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registrations_with_email/registrations_with_email_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registrations_with_email/registrations_with_email_request_builder.py @@ -39,6 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Registra param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventRegistration] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,6 +72,7 @@ def with_url(self,raw_url: str) -> RegistrationsWithEmailRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RegistrationsWithEmailRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RegistrationsWithEmailRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registrations_with_user_id/registrations_with_user_id_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registrations_with_user_id/registrations_with_user_id_request_builder.py index 63fcca50ab3..06ec2295384 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registrations_with_user_id/registrations_with_user_id_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registrations_with_user_id/registrations_with_user_id_request_builder.py @@ -39,6 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Registra param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventRegistration] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,6 +72,7 @@ def with_url(self,raw_url: str) -> RegistrationsWithUserIdRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RegistrationsWithUserIdRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RegistrationsWithUserIdRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/virtual_event_session_item_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/virtual_event_session_item_request_builder.py index 1da4713e8bf..35ca496da22 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/virtual_event_session_item_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/virtual_event_session_item_request_builder.py @@ -41,6 +41,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,6 +60,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[VirtualE param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventSession] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,6 +82,7 @@ async def patch(self,body: VirtualEventSession, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventSession] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -102,6 +105,7 @@ def registrations_with_email(self,email: str) -> RegistrationsWithEmailRequestBu param email: Alternate key of virtualEventRegistration Returns: RegistrationsWithEmailRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if email is None: raise TypeError("email cannot be null.") from .registrations_with_email.registrations_with_email_request_builder import RegistrationsWithEmailRequestBuilder @@ -114,6 +118,7 @@ def registrations_with_user_id(self,user_id: str) -> RegistrationsWithUserIdRequ param user_id: Alternate key of virtualEventRegistration Returns: RegistrationsWithUserIdRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if user_id is None: raise TypeError("user_id cannot be null.") from .registrations_with_user_id.registrations_with_user_id_request_builder import RegistrationsWithUserIdRequestBuilder @@ -126,6 +131,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -137,6 +143,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -149,6 +156,7 @@ def to_patch_request_information(self,body: VirtualEventSession, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -163,6 +171,7 @@ def with_url(self,raw_url: str) -> VirtualEventSessionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: VirtualEventSessionItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return VirtualEventSessionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/sessions_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/sessions_request_builder.py index 3a4962dfcfc..a027fd27197 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/sessions_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/sessions_request_builder.py @@ -39,6 +39,7 @@ def by_virtual_event_session_id(self,virtual_event_session_id: str) -> VirtualEv param virtual_event_session_id: The unique identifier of virtualEventSession Returns: VirtualEventSessionItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if virtual_event_session_id is None: raise TypeError("virtual_event_session_id cannot be null.") from .item.virtual_event_session_item_request_builder import VirtualEventSessionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Sessions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventSessionCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: VirtualEventSession, request_configuration: Optional[R param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventSession] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: VirtualEventSession, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> SessionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SessionsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SessionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions_with_join_web_url/sessions_with_join_web_url_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions_with_join_web_url/sessions_with_join_web_url_request_builder.py index 9140c8396ff..8a95d029390 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions_with_join_web_url/sessions_with_join_web_url_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions_with_join_web_url/sessions_with_join_web_url_request_builder.py @@ -39,6 +39,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Sessions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventSession] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,6 +80,7 @@ async def patch(self,body: VirtualEventSession, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventSession] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,6 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -111,6 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -123,6 +128,7 @@ def to_patch_request_information(self,body: VirtualEventSession, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -137,6 +143,7 @@ def with_url(self,raw_url: str) -> SessionsWithJoinWebUrlRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SessionsWithJoinWebUrlRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SessionsWithJoinWebUrlRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/set_external_event_information/set_external_event_information_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/set_external_event_information/set_external_event_information_request_builder.py index dc831631ac3..ba9b2f0f7a3 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/set_external_event_information/set_external_event_information_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/set_external_event_information/set_external_event_information_request_builder.py @@ -37,6 +37,7 @@ async def post(self,body: SetExternalEventInformationPostRequestBody, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -58,6 +59,7 @@ def to_post_request_information(self,body: SetExternalEventInformationPostReques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -72,6 +74,7 @@ def with_url(self,raw_url: str) -> SetExternalEventInformationRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SetExternalEventInformationRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SetExternalEventInformationRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/virtual_event_item_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/virtual_event_item_request_builder.py index eee200b5ffc..b5b171ef430 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/virtual_event_item_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/virtual_event_item_request_builder.py @@ -42,6 +42,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -60,6 +61,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[VirtualE param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEvent] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,6 +83,7 @@ async def patch(self,body: VirtualEvent, request_configuration: Optional[Request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEvent] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,6 +106,7 @@ def sessions_with_join_web_url(self,join_web_url: str) -> SessionsWithJoinWebUrl param join_web_url: Alternate key of virtualEventSession Returns: SessionsWithJoinWebUrlRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if join_web_url is None: raise TypeError("join_web_url cannot be null.") from .sessions_with_join_web_url.sessions_with_join_web_url_request_builder import SessionsWithJoinWebUrlRequestBuilder @@ -115,6 +119,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,6 +131,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -138,6 +144,7 @@ def to_patch_request_information(self,body: VirtualEvent, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -152,6 +159,7 @@ def with_url(self,raw_url: str) -> VirtualEventItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: VirtualEventItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return VirtualEventItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/count/count_request_builder.py index a98d1655641..62244381f84 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/get_by_user_id_and_role_with_user_id_with_role/get_by_user_id_and_role_with_user_id_with_role_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/get_by_user_id_and_role_with_user_id_with_role/get_by_user_id_and_role_with_user_id_with_role_request_builder.py index 5d3d916335d..c5b96463c47 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/get_by_user_id_and_role_with_user_id_with_role/get_by_user_id_and_role_with_user_id_with_role_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/get_by_user_id_and_role_with_user_id_with_role/get_by_user_id_and_role_with_user_id_with_role_request_builder.py @@ -42,6 +42,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GetByUse Returns: Optional[GetByUserIdAndRoleWithUserIdWithRoleGetResponse] Find more info here: https://learn.microsoft.com/graph/api/virtualeventtownhall-getbyuseridandrole?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -62,6 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> GetByUserIdAndRoleWithUserIdWithRoleRequestBu param raw_url: The raw URL to use for the request builder. Returns: GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/get_by_user_role_with_role/get_by_user_role_with_role_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/get_by_user_role_with_role/get_by_user_role_with_role_request_builder.py index 7d3f1992747..9495f073af4 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/get_by_user_role_with_role/get_by_user_role_with_role_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/get_by_user_role_with_role/get_by_user_role_with_role_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GetByUse Returns: Optional[GetByUserRoleWithRoleGetResponse] Find more info here: https://learn.microsoft.com/graph/api/virtualeventtownhall-getbyuserrole?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> GetByUserRoleWithRoleRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GetByUserRoleWithRoleRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GetByUserRoleWithRoleRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/count/count_request_builder.py index d99cf6d12ce..b5db3cddcc8 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/item/sessions/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/item/sessions/count/count_request_builder.py index 0084c730839..e18e74f890f 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/item/sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/item/sessions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/item/sessions/item/virtual_event_session_item_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/item/sessions/item/virtual_event_session_item_request_builder.py index b690301afb7..517cd43aa5c 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/item/sessions/item/virtual_event_session_item_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/item/sessions/item/virtual_event_session_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[VirtualE param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventSession] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> VirtualEventSessionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: VirtualEventSessionItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return VirtualEventSessionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/item/sessions/sessions_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/item/sessions/sessions_request_builder.py index bd8410559f0..f8b2ed128c2 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/item/sessions/sessions_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/item/sessions/sessions_request_builder.py @@ -38,6 +38,7 @@ def by_virtual_event_session_id(self,virtual_event_session_id: str) -> VirtualEv param virtual_event_session_id: The unique identifier of virtualEventSession Returns: VirtualEventSessionItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if virtual_event_session_id is None: raise TypeError("virtual_event_session_id cannot be null.") from .item.virtual_event_session_item_request_builder import VirtualEventSessionItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Sessions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventSessionCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> SessionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SessionsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SessionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/item/sessions_with_join_web_url/sessions_with_join_web_url_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/item/sessions_with_join_web_url/sessions_with_join_web_url_request_builder.py index fec7af003c1..1d581e74c20 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/item/sessions_with_join_web_url/sessions_with_join_web_url_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/item/sessions_with_join_web_url/sessions_with_join_web_url_request_builder.py @@ -39,6 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Sessions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventSession] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,6 +72,7 @@ def with_url(self,raw_url: str) -> SessionsWithJoinWebUrlRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SessionsWithJoinWebUrlRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SessionsWithJoinWebUrlRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/item/virtual_event_presenter_item_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/item/virtual_event_presenter_item_request_builder.py index a50311164db..5f675270b70 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/item/virtual_event_presenter_item_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/item/virtual_event_presenter_item_request_builder.py @@ -39,6 +39,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/virtualeventpresenter-delete?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,6 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[VirtualE Returns: Optional[VirtualEventPresenter] Find more info here: https://learn.microsoft.com/graph/api/virtualeventpresenter-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def patch(self,body: VirtualEventPresenter, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventPresenter] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,6 +104,7 @@ def sessions_with_join_web_url(self,join_web_url: str) -> SessionsWithJoinWebUrl param join_web_url: Alternate key of virtualEventSession Returns: SessionsWithJoinWebUrlRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if join_web_url is None: raise TypeError("join_web_url cannot be null.") from .sessions_with_join_web_url.sessions_with_join_web_url_request_builder import SessionsWithJoinWebUrlRequestBuilder @@ -113,6 +117,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -124,6 +129,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -136,6 +142,7 @@ def to_patch_request_information(self,body: VirtualEventPresenter, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -150,6 +157,7 @@ def with_url(self,raw_url: str) -> VirtualEventPresenterItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: VirtualEventPresenterItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return VirtualEventPresenterItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/presenters_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/presenters_request_builder.py index bfea156c9e7..2d651860617 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/presenters_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/presenters_request_builder.py @@ -39,6 +39,7 @@ def by_virtual_event_presenter_id(self,virtual_event_presenter_id: str) -> Virtu param virtual_event_presenter_id: The unique identifier of virtualEventPresenter Returns: VirtualEventPresenterItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if virtual_event_presenter_id is None: raise TypeError("virtual_event_presenter_id cannot be null.") from .item.virtual_event_presenter_item_request_builder import VirtualEventPresenterItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Presente Returns: Optional[VirtualEventPresenterCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/virtualevent-list-presenters?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def post(self,body: VirtualEventPresenter, request_configuration: Optional Returns: Optional[VirtualEventPresenter] Find more info here: https://learn.microsoft.com/graph/api/virtualevent-post-presenters?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -98,6 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_post_request_information(self,body: VirtualEventPresenter, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -124,6 +129,7 @@ def with_url(self,raw_url: str) -> PresentersRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PresentersRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PresentersRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registration_configuration/questions/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registration_configuration/questions/count/count_request_builder.py index 941d6e1798a..ceed1770c41 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registration_configuration/questions/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registration_configuration/questions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registration_configuration/questions/item/virtual_event_registration_question_base_item_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registration_configuration/questions/item/virtual_event_registration_question_base_item_request_builder.py index 8c31bcf438e..808afadd43e 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registration_configuration/questions/item/virtual_event_registration_question_base_item_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registration_configuration/questions/item/virtual_event_registration_question_base_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[VirtualE param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventRegistrationQuestionBase] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: VirtualEventRegistrationQuestionBase, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventRegistrationQuestionBase] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: VirtualEventRegistrationQuestionBase param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> VirtualEventRegistrationQuestionBaseItemReque param raw_url: The raw URL to use for the request builder. Returns: VirtualEventRegistrationQuestionBaseItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return VirtualEventRegistrationQuestionBaseItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registration_configuration/questions/questions_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registration_configuration/questions/questions_request_builder.py index 8b9795c6a8a..149aa2bded6 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registration_configuration/questions/questions_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registration_configuration/questions/questions_request_builder.py @@ -39,6 +39,7 @@ def by_virtual_event_registration_question_base_id(self,virtual_event_registrati param virtual_event_registration_question_base_id: The unique identifier of virtualEventRegistrationQuestionBase Returns: VirtualEventRegistrationQuestionBaseItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if virtual_event_registration_question_base_id is None: raise TypeError("virtual_event_registration_question_base_id cannot be null.") from .item.virtual_event_registration_question_base_item_request_builder import VirtualEventRegistrationQuestionBaseItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Question param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventRegistrationQuestionBaseCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: VirtualEventRegistrationQuestionBase, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventRegistrationQuestionBase] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: VirtualEventRegistrationQuestionBase, param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> QuestionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: QuestionsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return QuestionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registration_configuration/registration_configuration_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registration_configuration/registration_configuration_request_builder.py index 9154ec9ce97..725871556b7 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registration_configuration/registration_configuration_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registration_configuration/registration_configuration_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Registra Returns: Optional[VirtualEventTownhallRegistrationConfiguration] Find more info here: https://learn.microsoft.com/graph/api/virtualeventtownhallregistrationconfiguration-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: VirtualEventTownhallRegistrationConfiguration, reques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventTownhallRegistrationConfiguration] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: VirtualEventTownhallRegistrationConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> RegistrationConfigurationRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RegistrationConfigurationRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RegistrationConfigurationRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations/count/count_request_builder.py index d4537e630ca..412979067b3 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations/item/cancel/cancel_request_builder.py index 0ea5d09c633..94ee3078899 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations/item/cancel/cancel_request_builder.py @@ -35,6 +35,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CancelRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CancelRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CancelRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations/item/sessions/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations/item/sessions/count/count_request_builder.py index 67bee03bbed..edde228b07c 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations/item/sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations/item/sessions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations/item/sessions/item/virtual_event_session_item_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations/item/sessions/item/virtual_event_session_item_request_builder.py index 0fe3a858b6d..ca3fd96420a 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations/item/sessions/item/virtual_event_session_item_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations/item/sessions/item/virtual_event_session_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[VirtualE param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventSession] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> VirtualEventSessionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: VirtualEventSessionItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return VirtualEventSessionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations/item/sessions/sessions_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations/item/sessions/sessions_request_builder.py index dc68b5060bd..da2e1f39e89 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations/item/sessions/sessions_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations/item/sessions/sessions_request_builder.py @@ -38,6 +38,7 @@ def by_virtual_event_session_id(self,virtual_event_session_id: str) -> VirtualEv param virtual_event_session_id: The unique identifier of virtualEventSession Returns: VirtualEventSessionItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if virtual_event_session_id is None: raise TypeError("virtual_event_session_id cannot be null.") from .item.virtual_event_session_item_request_builder import VirtualEventSessionItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Sessions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventSessionCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> SessionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SessionsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SessionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations/item/sessions_with_join_web_url/sessions_with_join_web_url_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations/item/sessions_with_join_web_url/sessions_with_join_web_url_request_builder.py index f6fc6e95e57..bbafc2853e1 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations/item/sessions_with_join_web_url/sessions_with_join_web_url_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations/item/sessions_with_join_web_url/sessions_with_join_web_url_request_builder.py @@ -39,6 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Sessions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventSession] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,6 +72,7 @@ def with_url(self,raw_url: str) -> SessionsWithJoinWebUrlRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SessionsWithJoinWebUrlRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SessionsWithJoinWebUrlRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations/item/virtual_event_registration_item_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations/item/virtual_event_registration_item_request_builder.py index 61f19a01477..39ca3fdebd1 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations/item/virtual_event_registration_item_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations/item/virtual_event_registration_item_request_builder.py @@ -39,6 +39,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[VirtualE param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventRegistration] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,6 +80,7 @@ async def patch(self,body: VirtualEventRegistration, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventRegistration] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,6 +103,7 @@ def sessions_with_join_web_url(self,join_web_url: str) -> SessionsWithJoinWebUrl param join_web_url: Alternate key of virtualEventSession Returns: SessionsWithJoinWebUrlRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if join_web_url is None: raise TypeError("join_web_url cannot be null.") from .sessions_with_join_web_url.sessions_with_join_web_url_request_builder import SessionsWithJoinWebUrlRequestBuilder @@ -112,6 +116,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -123,6 +128,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -135,6 +141,7 @@ def to_patch_request_information(self,body: VirtualEventRegistration, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -149,6 +156,7 @@ def with_url(self,raw_url: str) -> VirtualEventRegistrationItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: VirtualEventRegistrationItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return VirtualEventRegistrationItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations/registrations_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations/registrations_request_builder.py index 8109640022b..670cbf75ce3 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations/registrations_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations/registrations_request_builder.py @@ -39,6 +39,7 @@ def by_virtual_event_registration_id(self,virtual_event_registration_id: str) -> param virtual_event_registration_id: The unique identifier of virtualEventRegistration Returns: VirtualEventRegistrationItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if virtual_event_registration_id is None: raise TypeError("virtual_event_registration_id cannot be null.") from .item.virtual_event_registration_item_request_builder import VirtualEventRegistrationItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Registra param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventRegistrationCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: VirtualEventRegistration, request_configuration: Optio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventRegistration] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: VirtualEventRegistration, request_con param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> RegistrationsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RegistrationsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RegistrationsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations_with_email/cancel/cancel_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations_with_email/cancel/cancel_request_builder.py index 72506ce05cf..9d4d027332f 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations_with_email/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations_with_email/cancel/cancel_request_builder.py @@ -35,6 +35,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CancelRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CancelRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CancelRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations_with_email/registrations_with_email_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations_with_email/registrations_with_email_request_builder.py index ce8337bf6bc..32f6e327013 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations_with_email/registrations_with_email_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations_with_email/registrations_with_email_request_builder.py @@ -40,6 +40,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,6 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Registra param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventRegistration] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def patch(self,body: VirtualEventRegistration, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventRegistration] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,6 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,6 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -124,6 +129,7 @@ def to_patch_request_information(self,body: VirtualEventRegistration, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -138,6 +144,7 @@ def with_url(self,raw_url: str) -> RegistrationsWithEmailRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RegistrationsWithEmailRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RegistrationsWithEmailRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations_with_user_id/cancel/cancel_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations_with_user_id/cancel/cancel_request_builder.py index 9d622aeca2d..0973af6534a 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations_with_user_id/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations_with_user_id/cancel/cancel_request_builder.py @@ -35,6 +35,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CancelRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CancelRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CancelRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations_with_user_id/registrations_with_user_id_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations_with_user_id/registrations_with_user_id_request_builder.py index 78ae83707c1..28cb800b77d 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations_with_user_id/registrations_with_user_id_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/registrations_with_user_id/registrations_with_user_id_request_builder.py @@ -40,6 +40,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,6 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Registra param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventRegistration] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def patch(self,body: VirtualEventRegistration, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventRegistration] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,6 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,6 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -124,6 +129,7 @@ def to_patch_request_information(self,body: VirtualEventRegistration, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -138,6 +144,7 @@ def with_url(self,raw_url: str) -> RegistrationsWithUserIdRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RegistrationsWithUserIdRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RegistrationsWithUserIdRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/count/count_request_builder.py index 4c1b67a6805..fbe51a28b06 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/attendance_reports_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/attendance_reports_request_builder.py index e9be8591663..058392ffe6a 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/attendance_reports_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/attendance_reports_request_builder.py @@ -39,6 +39,7 @@ def by_meeting_attendance_report_id(self,meeting_attendance_report_id: str) -> M param meeting_attendance_report_id: The unique identifier of meetingAttendanceReport Returns: MeetingAttendanceReportItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if meeting_attendance_report_id is None: raise TypeError("meeting_attendance_report_id cannot be null.") from .item.meeting_attendance_report_item_request_builder import MeetingAttendanceReportItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Attendan Returns: Optional[MeetingAttendanceReportCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/meetingattendancereport-list?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: MeetingAttendanceReport, request_configuration: Option param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingAttendanceReport] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: MeetingAttendanceReport, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> AttendanceReportsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AttendanceReportsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AttendanceReportsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/count/count_request_builder.py index 2e2637117f0..bb0fa02f9df 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/item/attendance_records/attendance_records_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/item/attendance_records/attendance_records_request_builder.py index 1f749594b13..a177241535c 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/item/attendance_records/attendance_records_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/item/attendance_records/attendance_records_request_builder.py @@ -39,6 +39,7 @@ def by_attendance_record_id(self,attendance_record_id: str) -> AttendanceRecordI param attendance_record_id: The unique identifier of attendanceRecord Returns: AttendanceRecordItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if attendance_record_id is None: raise TypeError("attendance_record_id cannot be null.") from .item.attendance_record_item_request_builder import AttendanceRecordItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Attendan param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttendanceRecordCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AttendanceRecord, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttendanceRecord] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AttendanceRecord, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AttendanceRecordsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AttendanceRecordsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AttendanceRecordsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/item/attendance_records/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/item/attendance_records/count/count_request_builder.py index 59101de51b1..76ca3f9a916 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/item/attendance_records/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/item/attendance_records/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/item/attendance_records/item/attendance_record_item_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/item/attendance_records/item/attendance_record_item_request_builder.py index 7689f914f41..ce43ae4bb7d 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/item/attendance_records/item/attendance_record_item_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/item/attendance_records/item/attendance_record_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Attendan param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttendanceRecord] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AttendanceRecord, request_configuration: Optional[Req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttendanceRecord] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: AttendanceRecord, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> AttendanceRecordItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AttendanceRecordItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AttendanceRecordItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/item/meeting_attendance_report_item_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/item/meeting_attendance_report_item_request_builder.py index 51b01e0501e..40c4879d52b 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/item/meeting_attendance_report_item_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/item/meeting_attendance_report_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MeetingA Returns: Optional[MeetingAttendanceReport] Find more info here: https://learn.microsoft.com/graph/api/meetingattendancereport-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: MeetingAttendanceReport, request_configuration: Optio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingAttendanceReport] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: MeetingAttendanceReport, request_con param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> MeetingAttendanceReportItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MeetingAttendanceReportItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MeetingAttendanceReportItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/presenters/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/presenters/count/count_request_builder.py index f9f03276667..d32e53df71f 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/presenters/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/presenters/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/presenters/item/virtual_event_presenter_item_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/presenters/item/virtual_event_presenter_item_request_builder.py index becb1469b2f..8a2cd351f44 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/presenters/item/virtual_event_presenter_item_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/presenters/item/virtual_event_presenter_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[VirtualE param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventPresenter] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> VirtualEventPresenterItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: VirtualEventPresenterItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return VirtualEventPresenterItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/presenters/presenters_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/presenters/presenters_request_builder.py index 31b3db7c214..169f0426ad6 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/presenters/presenters_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/presenters/presenters_request_builder.py @@ -38,6 +38,7 @@ def by_virtual_event_presenter_id(self,virtual_event_presenter_id: str) -> Virtu param virtual_event_presenter_id: The unique identifier of virtualEventPresenter Returns: VirtualEventPresenterItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if virtual_event_presenter_id is None: raise TypeError("virtual_event_presenter_id cannot be null.") from .item.virtual_event_presenter_item_request_builder import VirtualEventPresenterItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Presente param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventPresenterCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> PresentersRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PresentersRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PresentersRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/registrations/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/registrations/count/count_request_builder.py index 36bbc378fcd..3758a1756de 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/registrations/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/registrations/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/registrations/item/virtual_event_registration_item_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/registrations/item/virtual_event_registration_item_request_builder.py index a78994d817d..46b0f8b1eac 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/registrations/item/virtual_event_registration_item_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/registrations/item/virtual_event_registration_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[VirtualE param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventRegistration] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> VirtualEventRegistrationItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: VirtualEventRegistrationItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return VirtualEventRegistrationItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/registrations/registrations_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/registrations/registrations_request_builder.py index 244fb44fbe6..c6cffe630ba 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/registrations/registrations_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/registrations/registrations_request_builder.py @@ -38,6 +38,7 @@ def by_virtual_event_registration_id(self,virtual_event_registration_id: str) -> param virtual_event_registration_id: The unique identifier of virtualEventRegistration Returns: VirtualEventRegistrationItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if virtual_event_registration_id is None: raise TypeError("virtual_event_registration_id cannot be null.") from .item.virtual_event_registration_item_request_builder import VirtualEventRegistrationItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Registra param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventRegistrationCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> RegistrationsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RegistrationsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RegistrationsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/registrations_with_email/registrations_with_email_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/registrations_with_email/registrations_with_email_request_builder.py index 4b9073a0868..a1f4305e43a 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/registrations_with_email/registrations_with_email_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/registrations_with_email/registrations_with_email_request_builder.py @@ -39,6 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Registra param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventRegistration] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,6 +72,7 @@ def with_url(self,raw_url: str) -> RegistrationsWithEmailRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RegistrationsWithEmailRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RegistrationsWithEmailRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/registrations_with_user_id/registrations_with_user_id_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/registrations_with_user_id/registrations_with_user_id_request_builder.py index 1f7fbe36200..50aac695d10 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/registrations_with_user_id/registrations_with_user_id_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/registrations_with_user_id/registrations_with_user_id_request_builder.py @@ -39,6 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Registra param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventRegistration] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,6 +72,7 @@ def with_url(self,raw_url: str) -> RegistrationsWithUserIdRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RegistrationsWithUserIdRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RegistrationsWithUserIdRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/virtual_event_session_item_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/virtual_event_session_item_request_builder.py index 4eefa2e5762..7fe90e1a027 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/virtual_event_session_item_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/virtual_event_session_item_request_builder.py @@ -41,6 +41,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,6 +60,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[VirtualE param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventSession] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,6 +82,7 @@ async def patch(self,body: VirtualEventSession, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventSession] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -102,6 +105,7 @@ def registrations_with_email(self,email: str) -> RegistrationsWithEmailRequestBu param email: Alternate key of virtualEventRegistration Returns: RegistrationsWithEmailRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if email is None: raise TypeError("email cannot be null.") from .registrations_with_email.registrations_with_email_request_builder import RegistrationsWithEmailRequestBuilder @@ -114,6 +118,7 @@ def registrations_with_user_id(self,user_id: str) -> RegistrationsWithUserIdRequ param user_id: Alternate key of virtualEventRegistration Returns: RegistrationsWithUserIdRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if user_id is None: raise TypeError("user_id cannot be null.") from .registrations_with_user_id.registrations_with_user_id_request_builder import RegistrationsWithUserIdRequestBuilder @@ -126,6 +131,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -137,6 +143,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -149,6 +156,7 @@ def to_patch_request_information(self,body: VirtualEventSession, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -163,6 +171,7 @@ def with_url(self,raw_url: str) -> VirtualEventSessionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: VirtualEventSessionItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return VirtualEventSessionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/sessions_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/sessions_request_builder.py index c70c963258a..05468e936ee 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/sessions_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/sessions_request_builder.py @@ -39,6 +39,7 @@ def by_virtual_event_session_id(self,virtual_event_session_id: str) -> VirtualEv param virtual_event_session_id: The unique identifier of virtualEventSession Returns: VirtualEventSessionItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if virtual_event_session_id is None: raise TypeError("virtual_event_session_id cannot be null.") from .item.virtual_event_session_item_request_builder import VirtualEventSessionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Sessions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventSessionCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: VirtualEventSession, request_configuration: Optional[R param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventSession] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: VirtualEventSession, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> SessionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SessionsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SessionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions_with_join_web_url/sessions_with_join_web_url_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions_with_join_web_url/sessions_with_join_web_url_request_builder.py index 282acdd8f9b..7f1dce57972 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions_with_join_web_url/sessions_with_join_web_url_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions_with_join_web_url/sessions_with_join_web_url_request_builder.py @@ -39,6 +39,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Sessions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventSession] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,6 +80,7 @@ async def patch(self,body: VirtualEventSession, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventSession] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,6 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -111,6 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -123,6 +128,7 @@ def to_patch_request_information(self,body: VirtualEventSession, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -137,6 +143,7 @@ def with_url(self,raw_url: str) -> SessionsWithJoinWebUrlRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SessionsWithJoinWebUrlRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SessionsWithJoinWebUrlRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/virtual_event_townhall_item_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/virtual_event_townhall_item_request_builder.py index ab42ce3fadb..77be020ea80 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/virtual_event_townhall_item_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/virtual_event_townhall_item_request_builder.py @@ -43,6 +43,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -62,6 +63,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[VirtualE Returns: Optional[VirtualEventTownhall] Find more info here: https://learn.microsoft.com/graph/api/virtualeventtownhall-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -84,6 +86,7 @@ async def patch(self,body: VirtualEventTownhall, request_configuration: Optional Returns: Optional[VirtualEventTownhall] Find more info here: https://learn.microsoft.com/graph/api/virtualeventtownhall-update?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -106,6 +109,7 @@ def registrations_with_email(self,email: str) -> RegistrationsWithEmailRequestBu param email: Alternate key of virtualEventRegistration Returns: RegistrationsWithEmailRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if email is None: raise TypeError("email cannot be null.") from .registrations_with_email.registrations_with_email_request_builder import RegistrationsWithEmailRequestBuilder @@ -118,6 +122,7 @@ def registrations_with_user_id(self,user_id: str) -> RegistrationsWithUserIdRequ param user_id: Alternate key of virtualEventRegistration Returns: RegistrationsWithUserIdRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if user_id is None: raise TypeError("user_id cannot be null.") from .registrations_with_user_id.registrations_with_user_id_request_builder import RegistrationsWithUserIdRequestBuilder @@ -130,6 +135,7 @@ def sessions_with_join_web_url(self,join_web_url: str) -> SessionsWithJoinWebUrl param join_web_url: Alternate key of virtualEventSession Returns: SessionsWithJoinWebUrlRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if join_web_url is None: raise TypeError("join_web_url cannot be null.") from .sessions_with_join_web_url.sessions_with_join_web_url_request_builder import SessionsWithJoinWebUrlRequestBuilder @@ -142,6 +148,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -153,6 +160,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -165,6 +173,7 @@ def to_patch_request_information(self,body: VirtualEventTownhall, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -179,6 +188,7 @@ def with_url(self,raw_url: str) -> VirtualEventTownhallItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: VirtualEventTownhallItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return VirtualEventTownhallItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/townhalls_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/townhalls_request_builder.py index 4d9b498cec7..30d099cd106 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/townhalls_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/townhalls_request_builder.py @@ -41,6 +41,7 @@ def by_virtual_event_townhall_id(self,virtual_event_townhall_id: str) -> Virtual param virtual_event_townhall_id: The unique identifier of virtualEventTownhall Returns: VirtualEventTownhallItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if virtual_event_townhall_id is None: raise TypeError("virtual_event_townhall_id cannot be null.") from .item.virtual_event_townhall_item_request_builder import VirtualEventTownhallItemRequestBuilder @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Townhall param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventTownhallCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ def get_by_user_id_and_role_with_user_id_with_role(self,role: str, user_id: str) param user_id: Usage: userId='{userId}' Returns: GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if role is None: raise TypeError("role cannot be null.") if user_id is None: @@ -90,6 +93,7 @@ def get_by_user_role_with_role(self,role: str) -> GetByUserRoleWithRoleRequestBu param role: Usage: role='{role}' Returns: GetByUserRoleWithRoleRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if role is None: raise TypeError("role cannot be null.") from .get_by_user_role_with_role.get_by_user_role_with_role_request_builder import GetByUserRoleWithRoleRequestBuilder @@ -104,6 +108,7 @@ async def post(self,body: VirtualEventTownhall, request_configuration: Optional[ Returns: Optional[VirtualEventTownhall] Find more info here: https://learn.microsoft.com/graph/api/virtualeventsroot-post-townhalls?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -126,6 +131,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -138,6 +144,7 @@ def to_post_request_information(self,body: VirtualEventTownhall, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -152,6 +159,7 @@ def with_url(self,raw_url: str) -> TownhallsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TownhallsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TownhallsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/virtual_events_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/virtual_events_request_builder.py index ed6eaf654ea..00d8376e91a 100644 --- a/msgraph_beta/generated/solutions/virtual_events/virtual_events_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/virtual_events_request_builder.py @@ -39,6 +39,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[VirtualE param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventsRoot] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,6 +80,7 @@ async def patch(self,body: VirtualEventsRoot, request_configuration: Optional[Re param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventsRoot] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,6 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -111,6 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -123,6 +128,7 @@ def to_patch_request_information(self,body: VirtualEventsRoot, request_configura param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -137,6 +143,7 @@ def with_url(self,raw_url: str) -> VirtualEventsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: VirtualEventsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return VirtualEventsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/count/count_request_builder.py index 34dc139fc10..6925d604a63 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/get_by_user_id_and_role_with_user_id_with_role/get_by_user_id_and_role_with_user_id_with_role_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/get_by_user_id_and_role_with_user_id_with_role/get_by_user_id_and_role_with_user_id_with_role_request_builder.py index d15ee29cc6a..9bf487f6bd7 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/get_by_user_id_and_role_with_user_id_with_role/get_by_user_id_and_role_with_user_id_with_role_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/get_by_user_id_and_role_with_user_id_with_role/get_by_user_id_and_role_with_user_id_with_role_request_builder.py @@ -42,6 +42,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GetByUse Returns: Optional[GetByUserIdAndRoleWithUserIdWithRoleGetResponse] Find more info here: https://learn.microsoft.com/graph/api/virtualeventwebinar-getbyuseridandrole?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -62,6 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -73,6 +75,7 @@ def with_url(self,raw_url: str) -> GetByUserIdAndRoleWithUserIdWithRoleRequestBu param raw_url: The raw URL to use for the request builder. Returns: GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/get_by_user_role_with_role/get_by_user_role_with_role_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/get_by_user_role_with_role/get_by_user_role_with_role_request_builder.py index fb1044518c1..7b4b522000a 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/get_by_user_role_with_role/get_by_user_role_with_role_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/get_by_user_role_with_role/get_by_user_role_with_role_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GetByUse Returns: Optional[GetByUserRoleWithRoleGetResponse] Find more info here: https://learn.microsoft.com/graph/api/virtualeventwebinar-getbyuserrole?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> GetByUserRoleWithRoleRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: GetByUserRoleWithRoleRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return GetByUserRoleWithRoleRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/count/count_request_builder.py index b90dfe97dfd..edaaa149ce1 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/item/sessions/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/item/sessions/count/count_request_builder.py index 5200eccfb1c..7bc527c9768 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/item/sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/item/sessions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/item/sessions/item/virtual_event_session_item_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/item/sessions/item/virtual_event_session_item_request_builder.py index 4343736b755..ac4d778e906 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/item/sessions/item/virtual_event_session_item_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/item/sessions/item/virtual_event_session_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[VirtualE param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventSession] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> VirtualEventSessionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: VirtualEventSessionItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return VirtualEventSessionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/item/sessions/sessions_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/item/sessions/sessions_request_builder.py index 50cce2e1bd1..df9dc792e18 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/item/sessions/sessions_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/item/sessions/sessions_request_builder.py @@ -38,6 +38,7 @@ def by_virtual_event_session_id(self,virtual_event_session_id: str) -> VirtualEv param virtual_event_session_id: The unique identifier of virtualEventSession Returns: VirtualEventSessionItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if virtual_event_session_id is None: raise TypeError("virtual_event_session_id cannot be null.") from .item.virtual_event_session_item_request_builder import VirtualEventSessionItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Sessions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventSessionCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> SessionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SessionsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SessionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/item/sessions_with_join_web_url/sessions_with_join_web_url_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/item/sessions_with_join_web_url/sessions_with_join_web_url_request_builder.py index 616d616ced6..8228df222e8 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/item/sessions_with_join_web_url/sessions_with_join_web_url_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/item/sessions_with_join_web_url/sessions_with_join_web_url_request_builder.py @@ -39,6 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Sessions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventSession] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,6 +72,7 @@ def with_url(self,raw_url: str) -> SessionsWithJoinWebUrlRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SessionsWithJoinWebUrlRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SessionsWithJoinWebUrlRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/item/virtual_event_presenter_item_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/item/virtual_event_presenter_item_request_builder.py index 6a260232355..251ac1468d2 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/item/virtual_event_presenter_item_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/item/virtual_event_presenter_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[VirtualE param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventPresenter] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,6 +80,7 @@ async def patch(self,body: VirtualEventPresenter, request_configuration: Optiona Returns: Optional[VirtualEventPresenter] Find more info here: https://learn.microsoft.com/graph/api/virtualeventpresenter-update?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,6 +103,7 @@ def sessions_with_join_web_url(self,join_web_url: str) -> SessionsWithJoinWebUrl param join_web_url: Alternate key of virtualEventSession Returns: SessionsWithJoinWebUrlRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if join_web_url is None: raise TypeError("join_web_url cannot be null.") from .sessions_with_join_web_url.sessions_with_join_web_url_request_builder import SessionsWithJoinWebUrlRequestBuilder @@ -112,6 +116,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -123,6 +128,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -135,6 +141,7 @@ def to_patch_request_information(self,body: VirtualEventPresenter, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -149,6 +156,7 @@ def with_url(self,raw_url: str) -> VirtualEventPresenterItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: VirtualEventPresenterItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return VirtualEventPresenterItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/presenters_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/presenters_request_builder.py index a640e5da218..167c3fc9a70 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/presenters_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/presenters_request_builder.py @@ -39,6 +39,7 @@ def by_virtual_event_presenter_id(self,virtual_event_presenter_id: str) -> Virtu param virtual_event_presenter_id: The unique identifier of virtualEventPresenter Returns: VirtualEventPresenterItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if virtual_event_presenter_id is None: raise TypeError("virtual_event_presenter_id cannot be null.") from .item.virtual_event_presenter_item_request_builder import VirtualEventPresenterItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Presente param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventPresenterCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: VirtualEventPresenter, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventPresenter] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: VirtualEventPresenter, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> PresentersRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PresentersRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PresentersRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registration_configuration/questions/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registration_configuration/questions/count/count_request_builder.py index 1cc3a2109ae..ea0796a110e 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registration_configuration/questions/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registration_configuration/questions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registration_configuration/questions/item/virtual_event_registration_question_base_item_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registration_configuration/questions/item/virtual_event_registration_question_base_item_request_builder.py index 00ed3811b0f..fffcc3d9122 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registration_configuration/questions/item/virtual_event_registration_question_base_item_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registration_configuration/questions/item/virtual_event_registration_question_base_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/virtualeventregistrationquestionbase-delete?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[VirtualE param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventRegistrationQuestionBase] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: VirtualEventRegistrationQuestionBase, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventRegistrationQuestionBase] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: VirtualEventRegistrationQuestionBase param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> VirtualEventRegistrationQuestionBaseItemReque param raw_url: The raw URL to use for the request builder. Returns: VirtualEventRegistrationQuestionBaseItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return VirtualEventRegistrationQuestionBaseItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registration_configuration/questions/questions_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registration_configuration/questions/questions_request_builder.py index b51ddd29b31..fa94c324188 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registration_configuration/questions/questions_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registration_configuration/questions/questions_request_builder.py @@ -39,6 +39,7 @@ def by_virtual_event_registration_question_base_id(self,virtual_event_registrati param virtual_event_registration_question_base_id: The unique identifier of virtualEventRegistrationQuestionBase Returns: VirtualEventRegistrationQuestionBaseItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if virtual_event_registration_question_base_id is None: raise TypeError("virtual_event_registration_question_base_id cannot be null.") from .item.virtual_event_registration_question_base_item_request_builder import VirtualEventRegistrationQuestionBaseItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Question Returns: Optional[VirtualEventRegistrationQuestionBaseCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/virtualeventregistrationconfiguration-list-questions?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def post(self,body: VirtualEventRegistrationQuestionBase, request_configur Returns: Optional[VirtualEventRegistrationQuestionBase] Find more info here: https://learn.microsoft.com/graph/api/virtualeventregistrationconfiguration-post-questions?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -98,6 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_post_request_information(self,body: VirtualEventRegistrationQuestionBase, param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -124,6 +129,7 @@ def with_url(self,raw_url: str) -> QuestionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: QuestionsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return QuestionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registration_configuration/registration_configuration_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registration_configuration/registration_configuration_request_builder.py index 6c95e1bcbbc..8ae1b0587c5 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registration_configuration/registration_configuration_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registration_configuration/registration_configuration_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Registra Returns: Optional[VirtualEventWebinarRegistrationConfiguration] Find more info here: https://learn.microsoft.com/graph/api/virtualeventwebinarregistrationconfiguration-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: VirtualEventWebinarRegistrationConfiguration, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventWebinarRegistrationConfiguration] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: VirtualEventWebinarRegistrationConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> RegistrationConfigurationRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RegistrationConfigurationRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RegistrationConfigurationRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/count/count_request_builder.py index 039847b7478..5fa38730e56 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/cancel/cancel_request_builder.py index 6e3fa61cafd..3391e25f818 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/cancel/cancel_request_builder.py @@ -35,6 +35,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CancelRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CancelRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CancelRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/sessions/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/sessions/count/count_request_builder.py index 9ba8f6ec643..752c383a656 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/sessions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/sessions/item/virtual_event_session_item_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/sessions/item/virtual_event_session_item_request_builder.py index 6ea5ede2362..cc27f0b2d33 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/sessions/item/virtual_event_session_item_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/sessions/item/virtual_event_session_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[VirtualE param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventSession] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> VirtualEventSessionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: VirtualEventSessionItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return VirtualEventSessionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/sessions/sessions_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/sessions/sessions_request_builder.py index 50797a4b844..f5b5356c16e 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/sessions/sessions_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/sessions/sessions_request_builder.py @@ -38,6 +38,7 @@ def by_virtual_event_session_id(self,virtual_event_session_id: str) -> VirtualEv param virtual_event_session_id: The unique identifier of virtualEventSession Returns: VirtualEventSessionItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if virtual_event_session_id is None: raise TypeError("virtual_event_session_id cannot be null.") from .item.virtual_event_session_item_request_builder import VirtualEventSessionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Sessions Returns: Optional[VirtualEventSessionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/virtualeventregistration-list-sessions?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -73,6 +75,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -84,6 +87,7 @@ def with_url(self,raw_url: str) -> SessionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SessionsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SessionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/sessions_with_join_web_url/sessions_with_join_web_url_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/sessions_with_join_web_url/sessions_with_join_web_url_request_builder.py index d54947cb9bb..c6480c7b7cf 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/sessions_with_join_web_url/sessions_with_join_web_url_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/sessions_with_join_web_url/sessions_with_join_web_url_request_builder.py @@ -39,6 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Sessions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventSession] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,6 +72,7 @@ def with_url(self,raw_url: str) -> SessionsWithJoinWebUrlRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SessionsWithJoinWebUrlRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SessionsWithJoinWebUrlRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/virtual_event_registration_item_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/virtual_event_registration_item_request_builder.py index 5ba93cd0104..6f4b2fdcef7 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/virtual_event_registration_item_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/virtual_event_registration_item_request_builder.py @@ -39,6 +39,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,6 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[VirtualE Returns: Optional[VirtualEventRegistration] Find more info here: https://learn.microsoft.com/graph/api/virtualeventregistration-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def patch(self,body: VirtualEventRegistration, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventRegistration] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,6 +104,7 @@ def sessions_with_join_web_url(self,join_web_url: str) -> SessionsWithJoinWebUrl param join_web_url: Alternate key of virtualEventSession Returns: SessionsWithJoinWebUrlRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if join_web_url is None: raise TypeError("join_web_url cannot be null.") from .sessions_with_join_web_url.sessions_with_join_web_url_request_builder import SessionsWithJoinWebUrlRequestBuilder @@ -113,6 +117,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -124,6 +129,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -136,6 +142,7 @@ def to_patch_request_information(self,body: VirtualEventRegistration, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -150,6 +157,7 @@ def with_url(self,raw_url: str) -> VirtualEventRegistrationItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: VirtualEventRegistrationItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return VirtualEventRegistrationItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/registrations_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/registrations_request_builder.py index 66609e5be16..bd81f446992 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/registrations_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/registrations_request_builder.py @@ -39,6 +39,7 @@ def by_virtual_event_registration_id(self,virtual_event_registration_id: str) -> param virtual_event_registration_id: The unique identifier of virtualEventRegistration Returns: VirtualEventRegistrationItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if virtual_event_registration_id is None: raise TypeError("virtual_event_registration_id cannot be null.") from .item.virtual_event_registration_item_request_builder import VirtualEventRegistrationItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Registra Returns: Optional[VirtualEventRegistrationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/virtualeventregistration-list?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def post(self,body: VirtualEventRegistration, request_configuration: Optio Returns: Optional[VirtualEventRegistration] Find more info here: https://learn.microsoft.com/graph/api/virtualeventwebinar-post-registrations?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -98,6 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_post_request_information(self,body: VirtualEventRegistration, request_con param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -124,6 +129,7 @@ def with_url(self,raw_url: str) -> RegistrationsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RegistrationsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RegistrationsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations_with_email/cancel/cancel_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations_with_email/cancel/cancel_request_builder.py index 9f184bc47e7..f188bc7fd5f 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations_with_email/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations_with_email/cancel/cancel_request_builder.py @@ -35,6 +35,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CancelRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CancelRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CancelRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations_with_email/registrations_with_email_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations_with_email/registrations_with_email_request_builder.py index 6e4a2282156..49ecbb19c0e 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations_with_email/registrations_with_email_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations_with_email/registrations_with_email_request_builder.py @@ -40,6 +40,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,6 +60,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Registra Returns: Optional[VirtualEventRegistration] Find more info here: https://learn.microsoft.com/graph/api/virtualeventregistration-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,6 +82,7 @@ async def patch(self,body: VirtualEventRegistration, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventRegistration] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -102,6 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,6 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,6 +130,7 @@ def to_patch_request_information(self,body: VirtualEventRegistration, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -139,6 +145,7 @@ def with_url(self,raw_url: str) -> RegistrationsWithEmailRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RegistrationsWithEmailRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RegistrationsWithEmailRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations_with_user_id/cancel/cancel_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations_with_user_id/cancel/cancel_request_builder.py index 43431a7d21d..a17ec221af2 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations_with_user_id/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations_with_user_id/cancel/cancel_request_builder.py @@ -35,6 +35,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CancelRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CancelRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CancelRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations_with_user_id/registrations_with_user_id_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations_with_user_id/registrations_with_user_id_request_builder.py index da82774fb4e..e32d3400f02 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations_with_user_id/registrations_with_user_id_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations_with_user_id/registrations_with_user_id_request_builder.py @@ -40,6 +40,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,6 +60,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Registra Returns: Optional[VirtualEventRegistration] Find more info here: https://learn.microsoft.com/graph/api/virtualeventregistration-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,6 +82,7 @@ async def patch(self,body: VirtualEventRegistration, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventRegistration] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -102,6 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -113,6 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,6 +130,7 @@ def to_patch_request_information(self,body: VirtualEventRegistration, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -139,6 +145,7 @@ def with_url(self,raw_url: str) -> RegistrationsWithUserIdRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RegistrationsWithUserIdRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RegistrationsWithUserIdRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/count/count_request_builder.py index ab8863063fd..9c4094be446 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/attendance_reports/attendance_reports_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/attendance_reports/attendance_reports_request_builder.py index fa95b95d06a..aba9de8f140 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/attendance_reports/attendance_reports_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/attendance_reports/attendance_reports_request_builder.py @@ -39,6 +39,7 @@ def by_meeting_attendance_report_id(self,meeting_attendance_report_id: str) -> M param meeting_attendance_report_id: The unique identifier of meetingAttendanceReport Returns: MeetingAttendanceReportItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if meeting_attendance_report_id is None: raise TypeError("meeting_attendance_report_id cannot be null.") from .item.meeting_attendance_report_item_request_builder import MeetingAttendanceReportItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Attendan Returns: Optional[MeetingAttendanceReportCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/meetingattendancereport-list?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: MeetingAttendanceReport, request_configuration: Option param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingAttendanceReport] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: MeetingAttendanceReport, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> AttendanceReportsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AttendanceReportsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AttendanceReportsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/attendance_reports/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/attendance_reports/count/count_request_builder.py index e8af75cb4fd..a7d3bfaae73 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/attendance_reports/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/attendance_reports/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/attendance_reports/item/attendance_records/attendance_records_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/attendance_reports/item/attendance_records/attendance_records_request_builder.py index cc13aa5c199..81ce94006e8 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/attendance_reports/item/attendance_records/attendance_records_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/attendance_reports/item/attendance_records/attendance_records_request_builder.py @@ -39,6 +39,7 @@ def by_attendance_record_id(self,attendance_record_id: str) -> AttendanceRecordI param attendance_record_id: The unique identifier of attendanceRecord Returns: AttendanceRecordItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if attendance_record_id is None: raise TypeError("attendance_record_id cannot be null.") from .item.attendance_record_item_request_builder import AttendanceRecordItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Attendan param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttendanceRecordCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AttendanceRecord, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttendanceRecord] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AttendanceRecord, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AttendanceRecordsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AttendanceRecordsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AttendanceRecordsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/attendance_reports/item/attendance_records/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/attendance_reports/item/attendance_records/count/count_request_builder.py index 807a8a0cbf1..59e81e9537d 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/attendance_reports/item/attendance_records/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/attendance_reports/item/attendance_records/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/attendance_reports/item/attendance_records/item/attendance_record_item_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/attendance_reports/item/attendance_records/item/attendance_record_item_request_builder.py index 38300be1f4e..52c70796cc4 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/attendance_reports/item/attendance_records/item/attendance_record_item_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/attendance_reports/item/attendance_records/item/attendance_record_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Attendan param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttendanceRecord] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AttendanceRecord, request_configuration: Optional[Req param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttendanceRecord] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: AttendanceRecord, request_configurat param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> AttendanceRecordItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AttendanceRecordItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AttendanceRecordItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/attendance_reports/item/meeting_attendance_report_item_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/attendance_reports/item/meeting_attendance_report_item_request_builder.py index 329272337c6..9dfceee6223 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/attendance_reports/item/meeting_attendance_report_item_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/attendance_reports/item/meeting_attendance_report_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MeetingA Returns: Optional[MeetingAttendanceReport] Find more info here: https://learn.microsoft.com/graph/api/meetingattendancereport-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: MeetingAttendanceReport, request_configuration: Optio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingAttendanceReport] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: MeetingAttendanceReport, request_con param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> MeetingAttendanceReportItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: MeetingAttendanceReportItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return MeetingAttendanceReportItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/presenters/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/presenters/count/count_request_builder.py index abd304dfe4c..e53cb4a349d 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/presenters/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/presenters/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/presenters/item/virtual_event_presenter_item_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/presenters/item/virtual_event_presenter_item_request_builder.py index c7ecf84a0ba..2932e50993b 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/presenters/item/virtual_event_presenter_item_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/presenters/item/virtual_event_presenter_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[VirtualE param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventPresenter] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> VirtualEventPresenterItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: VirtualEventPresenterItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return VirtualEventPresenterItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/presenters/presenters_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/presenters/presenters_request_builder.py index 987b0166f75..2e2c12e8c54 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/presenters/presenters_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/presenters/presenters_request_builder.py @@ -38,6 +38,7 @@ def by_virtual_event_presenter_id(self,virtual_event_presenter_id: str) -> Virtu param virtual_event_presenter_id: The unique identifier of virtualEventPresenter Returns: VirtualEventPresenterItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if virtual_event_presenter_id is None: raise TypeError("virtual_event_presenter_id cannot be null.") from .item.virtual_event_presenter_item_request_builder import VirtualEventPresenterItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Presente param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventPresenterCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> PresentersRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PresentersRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PresentersRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registrations/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registrations/count/count_request_builder.py index 2184418ed5f..ee899190ba3 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registrations/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registrations/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registrations/item/virtual_event_registration_item_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registrations/item/virtual_event_registration_item_request_builder.py index 957c2854709..695fe5df753 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registrations/item/virtual_event_registration_item_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registrations/item/virtual_event_registration_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[VirtualE param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventRegistration] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> VirtualEventRegistrationItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: VirtualEventRegistrationItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return VirtualEventRegistrationItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registrations/registrations_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registrations/registrations_request_builder.py index 70fe6f2047d..b03dd42777f 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registrations/registrations_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registrations/registrations_request_builder.py @@ -38,6 +38,7 @@ def by_virtual_event_registration_id(self,virtual_event_registration_id: str) -> param virtual_event_registration_id: The unique identifier of virtualEventRegistration Returns: VirtualEventRegistrationItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if virtual_event_registration_id is None: raise TypeError("virtual_event_registration_id cannot be null.") from .item.virtual_event_registration_item_request_builder import VirtualEventRegistrationItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Registra param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventRegistrationCollectionResponse] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> RegistrationsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RegistrationsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RegistrationsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registrations_with_email/registrations_with_email_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registrations_with_email/registrations_with_email_request_builder.py index 30e86def759..698e1fef570 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registrations_with_email/registrations_with_email_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registrations_with_email/registrations_with_email_request_builder.py @@ -39,6 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Registra param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventRegistration] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,6 +72,7 @@ def with_url(self,raw_url: str) -> RegistrationsWithEmailRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RegistrationsWithEmailRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RegistrationsWithEmailRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registrations_with_user_id/registrations_with_user_id_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registrations_with_user_id/registrations_with_user_id_request_builder.py index 9de4e0e2359..b47c4f5b0ee 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registrations_with_user_id/registrations_with_user_id_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registrations_with_user_id/registrations_with_user_id_request_builder.py @@ -39,6 +39,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Registra param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventRegistration] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -59,6 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -70,6 +72,7 @@ def with_url(self,raw_url: str) -> RegistrationsWithUserIdRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RegistrationsWithUserIdRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RegistrationsWithUserIdRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/virtual_event_session_item_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/virtual_event_session_item_request_builder.py index af33524fe11..ec3f9c2e37d 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/virtual_event_session_item_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/virtual_event_session_item_request_builder.py @@ -41,6 +41,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -60,6 +61,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[VirtualE Returns: Optional[VirtualEventSession] Find more info here: https://learn.microsoft.com/graph/api/virtualeventsession-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,6 +83,7 @@ async def patch(self,body: VirtualEventSession, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventSession] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,6 +106,7 @@ def registrations_with_email(self,email: str) -> RegistrationsWithEmailRequestBu param email: Alternate key of virtualEventRegistration Returns: RegistrationsWithEmailRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if email is None: raise TypeError("email cannot be null.") from .registrations_with_email.registrations_with_email_request_builder import RegistrationsWithEmailRequestBuilder @@ -115,6 +119,7 @@ def registrations_with_user_id(self,user_id: str) -> RegistrationsWithUserIdRequ param user_id: Alternate key of virtualEventRegistration Returns: RegistrationsWithUserIdRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if user_id is None: raise TypeError("user_id cannot be null.") from .registrations_with_user_id.registrations_with_user_id_request_builder import RegistrationsWithUserIdRequestBuilder @@ -127,6 +132,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -138,6 +144,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -150,6 +157,7 @@ def to_patch_request_information(self,body: VirtualEventSession, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -164,6 +172,7 @@ def with_url(self,raw_url: str) -> VirtualEventSessionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: VirtualEventSessionItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return VirtualEventSessionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/sessions_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/sessions_request_builder.py index 77a210b3112..8c36211c80b 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/sessions_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/sessions_request_builder.py @@ -39,6 +39,7 @@ def by_virtual_event_session_id(self,virtual_event_session_id: str) -> VirtualEv param virtual_event_session_id: The unique identifier of virtualEventSession Returns: VirtualEventSessionItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if virtual_event_session_id is None: raise TypeError("virtual_event_session_id cannot be null.") from .item.virtual_event_session_item_request_builder import VirtualEventSessionItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Sessions Returns: Optional[VirtualEventSessionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/virtualevent-list-sessions?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: VirtualEventSession, request_configuration: Optional[R param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventSession] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: VirtualEventSession, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> SessionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SessionsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SessionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions_with_join_web_url/sessions_with_join_web_url_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions_with_join_web_url/sessions_with_join_web_url_request_builder.py index 6ad9785c28c..112f64de1cc 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions_with_join_web_url/sessions_with_join_web_url_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions_with_join_web_url/sessions_with_join_web_url_request_builder.py @@ -39,6 +39,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,6 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Sessions Returns: Optional[VirtualEventSession] Find more info here: https://learn.microsoft.com/graph/api/virtualeventsession-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def patch(self,body: VirtualEventSession, request_configuration: Optional[ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventSession] """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,6 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -112,6 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -124,6 +129,7 @@ def to_patch_request_information(self,body: VirtualEventSession, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -138,6 +144,7 @@ def with_url(self,raw_url: str) -> SessionsWithJoinWebUrlRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SessionsWithJoinWebUrlRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SessionsWithJoinWebUrlRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/virtual_event_webinar_item_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/virtual_event_webinar_item_request_builder.py index 3c246793cb0..f7176b95008 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/virtual_event_webinar_item_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/virtual_event_webinar_item_request_builder.py @@ -43,6 +43,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -62,6 +63,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[VirtualE Returns: Optional[VirtualEventWebinar] Find more info here: https://learn.microsoft.com/graph/api/virtualeventwebinar-get?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -84,6 +86,7 @@ async def patch(self,body: VirtualEventWebinar, request_configuration: Optional[ Returns: Optional[VirtualEventWebinar] Find more info here: https://learn.microsoft.com/graph/api/virtualeventwebinar-update?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -106,6 +109,7 @@ def registrations_with_email(self,email: str) -> RegistrationsWithEmailRequestBu param email: Alternate key of virtualEventRegistration Returns: RegistrationsWithEmailRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if email is None: raise TypeError("email cannot be null.") from .registrations_with_email.registrations_with_email_request_builder import RegistrationsWithEmailRequestBuilder @@ -118,6 +122,7 @@ def registrations_with_user_id(self,user_id: str) -> RegistrationsWithUserIdRequ param user_id: Alternate key of virtualEventRegistration Returns: RegistrationsWithUserIdRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if user_id is None: raise TypeError("user_id cannot be null.") from .registrations_with_user_id.registrations_with_user_id_request_builder import RegistrationsWithUserIdRequestBuilder @@ -130,6 +135,7 @@ def sessions_with_join_web_url(self,join_web_url: str) -> SessionsWithJoinWebUrl param join_web_url: Alternate key of virtualEventSession Returns: SessionsWithJoinWebUrlRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if join_web_url is None: raise TypeError("join_web_url cannot be null.") from .sessions_with_join_web_url.sessions_with_join_web_url_request_builder import SessionsWithJoinWebUrlRequestBuilder @@ -142,6 +148,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -153,6 +160,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -165,6 +173,7 @@ def to_patch_request_information(self,body: VirtualEventWebinar, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -179,6 +188,7 @@ def with_url(self,raw_url: str) -> VirtualEventWebinarItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: VirtualEventWebinarItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return VirtualEventWebinarItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/webinars_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/webinars_request_builder.py index 01869171a44..cc9d91d53f1 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/webinars_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/webinars_request_builder.py @@ -41,6 +41,7 @@ def by_virtual_event_webinar_id(self,virtual_event_webinar_id: str) -> VirtualEv param virtual_event_webinar_id: The unique identifier of virtualEventWebinar Returns: VirtualEventWebinarItemRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if virtual_event_webinar_id is None: raise TypeError("virtual_event_webinar_id cannot be null.") from .item.virtual_event_webinar_item_request_builder import VirtualEventWebinarItemRequestBuilder @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Webinars Returns: Optional[VirtualEventWebinarCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/virtualeventsroot-list-webinars?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ def get_by_user_id_and_role_with_user_id_with_role(self,role: str, user_id: str) param user_id: Usage: userId='{userId}' Returns: GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if role is None: raise TypeError("role cannot be null.") if user_id is None: @@ -91,6 +94,7 @@ def get_by_user_role_with_role(self,role: str) -> GetByUserRoleWithRoleRequestBu param role: Usage: role='{role}' Returns: GetByUserRoleWithRoleRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if role is None: raise TypeError("role cannot be null.") from .get_by_user_role_with_role.get_by_user_role_with_role_request_builder import GetByUserRoleWithRoleRequestBuilder @@ -105,6 +109,7 @@ async def post(self,body: VirtualEventWebinar, request_configuration: Optional[R Returns: Optional[VirtualEventWebinar] Find more info here: https://learn.microsoft.com/graph/api/virtualeventsroot-post-webinars?view=graph-rest-beta """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -127,6 +132,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -139,6 +145,7 @@ def to_post_request_information(self,body: VirtualEventWebinar, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -153,6 +160,7 @@ def with_url(self,raw_url: str) -> WebinarsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: WebinarsRequestBuilder """ + warn(" as of 2023-03/PrivatePreview:responderForm on 2025-06-17 and will be removed 2025-12-17", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return WebinarsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/devices/devices_request_builder.py b/msgraph_beta/generated/users/item/devices/devices_request_builder.py index e6c06cef0dc..5292c6b124b 100644 --- a/msgraph_beta/generated/users/item/devices/devices_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/devices_request_builder.py @@ -20,6 +20,7 @@ from .count.count_request_builder import CountRequestBuilder from .delta.delta_request_builder import DeltaRequestBuilder from .item.device_item_request_builder import DeviceItemRequestBuilder + from .provision.provision_request_builder import ProvisionRequestBuilder class DevicesRequestBuilder(BaseRequestBuilder): """ @@ -145,6 +146,15 @@ def delta(self) -> DeltaRequestBuilder: return DeltaRequestBuilder(self.request_adapter, self.path_parameters) + @property + def provision(self) -> ProvisionRequestBuilder: + """ + Provides operations to call the provision method. + """ + from .provision.provision_request_builder import ProvisionRequestBuilder + + return ProvisionRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class DevicesRequestBuilderGetQueryParameters(): """ diff --git a/msgraph_beta/generated/users/item/devices/provision/provision_post_request_body.py b/msgraph_beta/generated/users/item/devices/provision/provision_post_request_body.py new file mode 100644 index 00000000000..2a29e3a01a0 --- /dev/null +++ b/msgraph_beta/generated/users/item/devices/provision/provision_post_request_body.py @@ -0,0 +1,50 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class ProvisionPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The provisioningBlob property + provisioning_blob: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> ProvisionPostRequestBody: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: ProvisionPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return ProvisionPostRequestBody() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "provisioningBlob": lambda n : setattr(self, 'provisioning_blob', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("provisioningBlob", self.provisioning_blob) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/users/item/devices/provision/provision_request_builder.py b/msgraph_beta/generated/users/item/devices/provision/provision_request_builder.py new file mode 100644 index 00000000000..ef91e8f279c --- /dev/null +++ b/msgraph_beta/generated/users/item/devices/provision/provision_request_builder.py @@ -0,0 +1,89 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.provision_response import ProvisionResponse + from .provision_post_request_body import ProvisionPostRequestBody + +class ProvisionRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the provision method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new ProvisionRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/users/{user%2Did}/devices/provision", path_parameters) + + async def post(self,body: ProvisionPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ProvisionResponse]: + """ + Invoke action provision + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ProvisionResponse] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.provision_response import ProvisionResponse + + return await self.request_adapter.send_async(request_info, ProvisionResponse, error_mapping) + + def to_post_request_information(self,body: ProvisionPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action provision + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> ProvisionRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: ProvisionRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ProvisionRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class ProvisionRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/users/item/distribution_lists/item/add_members/add_members_post_request_body.py b/msgraph_beta/generated/users/item/distribution_lists/item/add_members/add_members_post_request_body.py index cb020f0e3ce..ec855e4b65d 100644 --- a/msgraph_beta/generated/users/item/distribution_lists/item/add_members/add_members_post_request_body.py +++ b/msgraph_beta/generated/users/item/distribution_lists/item/add_members/add_members_post_request_body.py @@ -15,7 +15,7 @@ class AddMembersPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # The members property + # The Members property members: Optional[list[Member]] = None @staticmethod @@ -39,7 +39,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from ......models.member import Member fields: dict[str, Callable[[Any], None]] = { - "members": lambda n : setattr(self, 'members', n.get_collection_of_object_values(Member)), + "Members": lambda n : setattr(self, 'members', n.get_collection_of_object_values(Member)), } return fields @@ -51,7 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") - writer.write_collection_of_object_values("members", self.members) + writer.write_collection_of_object_values("Members", self.members) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/distribution_lists/item/delete_members/delete_members_post_request_body.py b/msgraph_beta/generated/users/item/distribution_lists/item/delete_members/delete_members_post_request_body.py index b937b67c892..c86a8b7d661 100644 --- a/msgraph_beta/generated/users/item/distribution_lists/item/delete_members/delete_members_post_request_body.py +++ b/msgraph_beta/generated/users/item/distribution_lists/item/delete_members/delete_members_post_request_body.py @@ -15,7 +15,7 @@ class DeleteMembersPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # The members property + # The Members property members: Optional[list[Member]] = None @staticmethod @@ -39,7 +39,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from ......models.member import Member fields: dict[str, Callable[[Any], None]] = { - "members": lambda n : setattr(self, 'members', n.get_collection_of_object_values(Member)), + "Members": lambda n : setattr(self, 'members', n.get_collection_of_object_values(Member)), } return fields @@ -51,7 +51,7 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") - writer.write_collection_of_object_values("members", self.members) + writer.write_collection_of_object_values("Members", self.members) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/users/item/distribution_lists/item/distribution_list_item_request_builder.py b/msgraph_beta/generated/users/item/distribution_lists/item/distribution_list_item_request_builder.py index e95671bf7a5..7c39229a336 100644 --- a/msgraph_beta/generated/users/item/distribution_lists/item/distribution_list_item_request_builder.py +++ b/msgraph_beta/generated/users/item/distribution_lists/item/distribution_list_item_request_builder.py @@ -18,6 +18,7 @@ from .....models.o_data_errors.o_data_error import ODataError from .add_members.add_members_request_builder import AddMembersRequestBuilder from .delete_members.delete_members_request_builder import DeleteMembersRequestBuilder + from .members.members_request_builder import MembersRequestBuilder class DistributionListItemRequestBuilder(BaseRequestBuilder): """ @@ -158,6 +159,15 @@ def delete_members(self) -> DeleteMembersRequestBuilder: return DeleteMembersRequestBuilder(self.request_adapter, self.path_parameters) + @property + def members(self) -> MembersRequestBuilder: + """ + Provides operations to manage the members property of the microsoft.graph.distributionList entity. + """ + from .members.members_request_builder import MembersRequestBuilder + + return MembersRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class DistributionListItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): """ diff --git a/msgraph_beta/generated/employee_experience/engagement_async_operations/count/count_request_builder.py b/msgraph_beta/generated/users/item/distribution_lists/item/members/count/count_request_builder.py similarity index 93% rename from msgraph_beta/generated/employee_experience/engagement_async_operations/count/count_request_builder.py rename to msgraph_beta/generated/users/item/distribution_lists/item/members/count/count_request_builder.py index 3ccdf0e608d..929ed6c6eb2 100644 --- a/msgraph_beta/generated/employee_experience/engagement_async_operations/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/distribution_lists/item/members/count/count_request_builder.py @@ -14,7 +14,7 @@ from warnings import warn if TYPE_CHECKING: - from ....models.o_data_errors.o_data_error import ODataError + from .......models.o_data_errors.o_data_error import ODataError class CountRequestBuilder(BaseRequestBuilder): """ @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d param request_adapter: The request adapter to use to execute the requests. Returns: None """ - super().__init__(request_adapter, "{+baseurl}/employeeExperience/engagementAsyncOperations/$count{?%24filter,%24search}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/users/{user%2Did}/distributionLists/{distributionList%2Did}/members/$count{?%24filter,%24search}", path_parameters) async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: """ @@ -38,7 +38,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq request_info = self.to_get_request_information( request_configuration ) - from ....models.o_data_errors.o_data_error import ODataError + from .......models.o_data_errors.o_data_error import ODataError error_mapping: dict[str, type[ParsableFactory]] = { "XXX": ODataError, diff --git a/msgraph_beta/generated/employee_experience/roles/count/count_request_builder.py b/msgraph_beta/generated/users/item/distribution_lists/item/members/item/contact/contact_request_builder.py similarity index 62% rename from msgraph_beta/generated/employee_experience/roles/count/count_request_builder.py rename to msgraph_beta/generated/users/item/distribution_lists/item/members/item/contact/contact_request_builder.py index 53ae7d033f4..3b874fbcf2e 100644 --- a/msgraph_beta/generated/employee_experience/roles/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/distribution_lists/item/members/item/contact/contact_request_builder.py @@ -14,64 +14,67 @@ from warnings import warn if TYPE_CHECKING: - from ....models.o_data_errors.o_data_error import ODataError + from ........models.contact import Contact + from ........models.o_data_errors.o_data_error import ODataError -class CountRequestBuilder(BaseRequestBuilder): +class ContactRequestBuilder(BaseRequestBuilder): """ - Provides operations to count the resources in the collection. + Provides operations to manage the contact property of the microsoft.graph.distributionListMember entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: """ - Instantiates a new CountRequestBuilder and sets the default values. + Instantiates a new ContactRequestBuilder and sets the default values. param path_parameters: The raw url or the url-template parameters for the request. param request_adapter: The request adapter to use to execute the requests. Returns: None """ - super().__init__(request_adapter, "{+baseurl}/employeeExperience/roles/$count{?%24filter,%24search}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/users/{user%2Did}/distributionLists/{distributionList%2Did}/members/{distributionListMember%2Did}/contact{?%24expand,%24select}", path_parameters) - async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + async def get(self,request_configuration: Optional[RequestConfiguration[ContactRequestBuilderGetQueryParameters]] = None) -> Optional[Contact]: """ - Get the number of the resource + The contact associated with the distribution list member. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[int] + Returns: Optional[Contact] """ request_info = self.to_get_request_information( request_configuration ) - from ....models.o_data_errors.o_data_error import ODataError + from ........models.o_data_errors.o_data_error import ODataError error_mapping: dict[str, type[ParsableFactory]] = { "XXX": ODataError, } if not self.request_adapter: raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + from ........models.contact import Contact + + return await self.request_adapter.send_async(request_info, Contact, error_mapping) - def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ContactRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get the number of the resource + The contact associated with the distribution list member. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) - request_info.headers.try_add("Accept", "text/plain;q=0.9") + request_info.headers.try_add("Accept", "application/json") return request_info - def with_url(self,raw_url: str) -> CountRequestBuilder: + def with_url(self,raw_url: str) -> ContactRequestBuilder: """ Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. param raw_url: The raw URL to use for the request builder. - Returns: CountRequestBuilder + Returns: ContactRequestBuilder """ if raw_url is None: raise TypeError("raw_url cannot be null.") - return CountRequestBuilder(self.request_adapter, raw_url) + return ContactRequestBuilder(self.request_adapter, raw_url) @dataclass - class CountRequestBuilderGetQueryParameters(): + class ContactRequestBuilderGetQueryParameters(): """ - Get the number of the resource + The contact associated with the distribution list member. Read-only. """ def get_query_parameter(self,original_name: str) -> str: """ @@ -81,21 +84,21 @@ def get_query_parameter(self,original_name: str) -> str: """ if original_name is None: raise TypeError("original_name cannot be null.") - if original_name == "filter": - return "%24filter" - if original_name == "search": - return "%24search" + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" return original_name - # Filter items by property values - filter: Optional[str] = None + # Expand related entities + expand: Optional[list[str]] = None - # Search items by search phrases - search: Optional[str] = None + # Select properties to be returned + select: Optional[list[str]] = None @dataclass - class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + class ContactRequestBuilderGetRequestConfiguration(RequestConfiguration[ContactRequestBuilderGetQueryParameters]): """ Configuration for the request such as headers, query parameters, and middleware options. """ diff --git a/msgraph_beta/generated/users/item/distribution_lists/item/members/item/distribution_list_member_item_request_builder.py b/msgraph_beta/generated/users/item/distribution_lists/item/members/item/distribution_list_member_item_request_builder.py new file mode 100644 index 00000000000..ee77963c847 --- /dev/null +++ b/msgraph_beta/generated/users/item/distribution_lists/item/members/item/distribution_list_member_item_request_builder.py @@ -0,0 +1,117 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.distribution_list_member import DistributionListMember + from .......models.o_data_errors.o_data_error import ODataError + from .contact.contact_request_builder import ContactRequestBuilder + +class DistributionListMemberItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the members property of the microsoft.graph.distributionList entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new DistributionListMemberItemRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/users/{user%2Did}/distributionLists/{distributionList%2Did}/members/{distributionListMember%2Did}{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[DistributionListMemberItemRequestBuilderGetQueryParameters]] = None) -> Optional[DistributionListMember]: + """ + The members of the distribution list. Not returned by default; use $expand=members to include. Read-only. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[DistributionListMember] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.distribution_list_member import DistributionListMember + + return await self.request_adapter.send_async(request_info, DistributionListMember, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DistributionListMemberItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + The members of the distribution list. Not returned by default; use $expand=members to include. Read-only. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> DistributionListMemberItemRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: DistributionListMemberItemRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return DistributionListMemberItemRequestBuilder(self.request_adapter, raw_url) + + @property + def contact(self) -> ContactRequestBuilder: + """ + Provides operations to manage the contact property of the microsoft.graph.distributionListMember entity. + """ + from .contact.contact_request_builder import ContactRequestBuilder + + return ContactRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class DistributionListMemberItemRequestBuilderGetQueryParameters(): + """ + The members of the distribution list. Not returned by default; use $expand=members to include. Read-only. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[list[str]] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + + @dataclass + class DistributionListMemberItemRequestBuilderGetRequestConfiguration(RequestConfiguration[DistributionListMemberItemRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/users/item/distribution_lists/item/members/members_request_builder.py b/msgraph_beta/generated/users/item/distribution_lists/item/members/members_request_builder.py new file mode 100644 index 00000000000..f1ecb616143 --- /dev/null +++ b/msgraph_beta/generated/users/item/distribution_lists/item/members/members_request_builder.py @@ -0,0 +1,162 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.distribution_list_member_collection_response import DistributionListMemberCollectionResponse + from ......models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + from .item.distribution_list_member_item_request_builder import DistributionListMemberItemRequestBuilder + +class MembersRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the members property of the microsoft.graph.distributionList entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new MembersRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/users/{user%2Did}/distributionLists/{distributionList%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_distribution_list_member_id(self,distribution_list_member_id: str) -> DistributionListMemberItemRequestBuilder: + """ + Provides operations to manage the members property of the microsoft.graph.distributionList entity. + param distribution_list_member_id: The unique identifier of distributionListMember + Returns: DistributionListMemberItemRequestBuilder + """ + if distribution_list_member_id is None: + raise TypeError("distribution_list_member_id cannot be null.") + from .item.distribution_list_member_item_request_builder import DistributionListMemberItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["distributionListMember%2Did"] = distribution_list_member_id + return DistributionListMemberItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration[MembersRequestBuilderGetQueryParameters]] = None) -> Optional[DistributionListMemberCollectionResponse]: + """ + The members of the distribution list. Not returned by default; use $expand=members to include. Read-only. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[DistributionListMemberCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.distribution_list_member_collection_response import DistributionListMemberCollectionResponse + + return await self.request_adapter.send_async(request_info, DistributionListMemberCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MembersRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + The members of the distribution list. Not returned by default; use $expand=members to include. Read-only. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> MembersRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: MembersRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return MembersRequestBuilder(self.request_adapter, raw_url) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class MembersRequestBuilderGetQueryParameters(): + """ + The members of the distribution list. Not returned by default; use $expand=members to include. Read-only. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[list[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[list[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class MembersRequestBuilderGetRequestConfiguration(RequestConfiguration[MembersRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/users/item/managed_devices/item/cancel_enhanced_log_collection/cancel_enhanced_log_collection_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/cancel_enhanced_log_collection/cancel_enhanced_log_collection_request_builder.py new file mode 100644 index 00000000000..f51522be8b8 --- /dev/null +++ b/msgraph_beta/generated/users/item/managed_devices/item/cancel_enhanced_log_collection/cancel_enhanced_log_collection_request_builder.py @@ -0,0 +1,78 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + +class CancelEnhancedLogCollectionRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the cancelEnhancedLogCollection method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new CancelEnhancedLogCollectionRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/users/{user%2Did}/managedDevices/{managedDevice%2Did}/cancelEnhancedLogCollection", path_parameters) + + async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Cancels an in-progress enhanced log collection session on a supervised Apple device. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_post_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Cancels an in-progress enhanced log collection session on a supervised Apple device. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> CancelEnhancedLogCollectionRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CancelEnhancedLogCollectionRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CancelEnhancedLogCollectionRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CancelEnhancedLogCollectionRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/users/item/managed_devices/item/managed_device_item_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/managed_device_item_request_builder.py index bb8ad429bd1..cd67f8f6884 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/managed_device_item_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/managed_device_item_request_builder.py @@ -19,6 +19,7 @@ from .activate_device_esim.activate_device_esim_request_builder import ActivateDeviceEsimRequestBuilder from .assignment_filter_evaluation_status_details.assignment_filter_evaluation_status_details_request_builder import AssignmentFilterEvaluationStatusDetailsRequestBuilder from .bypass_activation_lock.bypass_activation_lock_request_builder import BypassActivationLockRequestBuilder + from .cancel_enhanced_log_collection.cancel_enhanced_log_collection_request_builder import CancelEnhancedLogCollectionRequestBuilder from .change_assignments.change_assignments_request_builder import ChangeAssignmentsRequestBuilder from .clean_windows_device.clean_windows_device_request_builder import CleanWindowsDeviceRequestBuilder from .create_device_log_collection_request.create_device_log_collection_request_request_builder import CreateDeviceLogCollectionRequestRequestBuilder @@ -71,6 +72,7 @@ from .suspend_managed_home_screen.suspend_managed_home_screen_request_builder import SuspendManagedHomeScreenRequestBuilder from .sync_device.sync_device_request_builder import SyncDeviceRequestBuilder from .trigger_configuration_manager_action.trigger_configuration_manager_action_request_builder import TriggerConfigurationManagerActionRequestBuilder + from .trigger_enhanced_log_collection.trigger_enhanced_log_collection_request_builder import TriggerEnhancedLogCollectionRequestBuilder from .update_windows_device_account.update_windows_device_account_request_builder import UpdateWindowsDeviceAccountRequestBuilder from .users.users_request_builder import UsersRequestBuilder from .windows_defender_scan.windows_defender_scan_request_builder import WindowsDefenderScanRequestBuilder @@ -226,6 +228,15 @@ def bypass_activation_lock(self) -> BypassActivationLockRequestBuilder: return BypassActivationLockRequestBuilder(self.request_adapter, self.path_parameters) + @property + def cancel_enhanced_log_collection(self) -> CancelEnhancedLogCollectionRequestBuilder: + """ + Provides operations to call the cancelEnhancedLogCollection method. + """ + from .cancel_enhanced_log_collection.cancel_enhanced_log_collection_request_builder import CancelEnhancedLogCollectionRequestBuilder + + return CancelEnhancedLogCollectionRequestBuilder(self.request_adapter, self.path_parameters) + @property def change_assignments(self) -> ChangeAssignmentsRequestBuilder: """ @@ -694,6 +705,15 @@ def trigger_configuration_manager_action(self) -> TriggerConfigurationManagerAct return TriggerConfigurationManagerActionRequestBuilder(self.request_adapter, self.path_parameters) + @property + def trigger_enhanced_log_collection(self) -> TriggerEnhancedLogCollectionRequestBuilder: + """ + Provides operations to call the triggerEnhancedLogCollection method. + """ + from .trigger_enhanced_log_collection.trigger_enhanced_log_collection_request_builder import TriggerEnhancedLogCollectionRequestBuilder + + return TriggerEnhancedLogCollectionRequestBuilder(self.request_adapter, self.path_parameters) + @property def update_windows_device_account(self) -> UpdateWindowsDeviceAccountRequestBuilder: """ diff --git a/msgraph_beta/generated/users/item/managed_devices/item/security_baseline_states/count/count_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/security_baseline_states/count/count_request_builder.py index f127b3e8e77..72076e7ffe7 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/security_baseline_states/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/security_baseline_states/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/managed_devices/item/security_baseline_states/item/security_baseline_state_item_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/security_baseline_states/item/security_baseline_state_item_request_builder.py index fd559f6fe75..02cb77908d8 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/security_baseline_states/item/security_baseline_state_item_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/security_baseline_states/item/security_baseline_state_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Security param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SecurityBaselineState] """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: SecurityBaselineState, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SecurityBaselineState] """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: SecurityBaselineState, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> SecurityBaselineStateItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SecurityBaselineStateItemRequestBuilder """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SecurityBaselineStateItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/managed_devices/item/security_baseline_states/item/setting_states/count/count_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/security_baseline_states/item/setting_states/count/count_request_builder.py index ebe4386ae95..07e69d53e69 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/security_baseline_states/item/setting_states/count/count_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/security_baseline_states/item/setting_states/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/managed_devices/item/security_baseline_states/item/setting_states/item/security_baseline_setting_state_item_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/security_baseline_states/item/setting_states/item/security_baseline_setting_state_item_request_builder.py index 04a4c3d30e2..9af2dce2bb0 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/security_baseline_states/item/setting_states/item/security_baseline_setting_state_item_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/security_baseline_states/item/setting_states/item/security_baseline_setting_state_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Security param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SecurityBaselineSettingState] """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: SecurityBaselineSettingState, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SecurityBaselineSettingState] """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: SecurityBaselineSettingState, reques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> SecurityBaselineSettingStateItemRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: SecurityBaselineSettingStateItemRequestBuilder """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SecurityBaselineSettingStateItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/managed_devices/item/security_baseline_states/item/setting_states/setting_states_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/security_baseline_states/item/setting_states/setting_states_request_builder.py index fb31ad64742..266bc32e05c 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/security_baseline_states/item/setting_states/setting_states_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/security_baseline_states/item/setting_states/setting_states_request_builder.py @@ -39,6 +39,7 @@ def by_security_baseline_setting_state_id(self,security_baseline_setting_state_i param security_baseline_setting_state_id: The unique identifier of securityBaselineSettingState Returns: SecurityBaselineSettingStateItemRequestBuilder """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if security_baseline_setting_state_id is None: raise TypeError("security_baseline_setting_state_id cannot be null.") from .item.security_baseline_setting_state_item_request_builder import SecurityBaselineSettingStateItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SettingS param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SecurityBaselineSettingStateCollectionResponse] """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: SecurityBaselineSettingState, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SecurityBaselineSettingState] """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: SecurityBaselineSettingState, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> SettingStatesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SettingStatesRequestBuilder """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SettingStatesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/managed_devices/item/security_baseline_states/security_baseline_states_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/security_baseline_states/security_baseline_states_request_builder.py index 02829eb2c50..05070134ca2 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/security_baseline_states/security_baseline_states_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/security_baseline_states/security_baseline_states_request_builder.py @@ -39,6 +39,7 @@ def by_security_baseline_state_id(self,security_baseline_state_id: str) -> Secur param security_baseline_state_id: The unique identifier of securityBaselineState Returns: SecurityBaselineStateItemRequestBuilder """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if security_baseline_state_id is None: raise TypeError("security_baseline_state_id cannot be null.") from .item.security_baseline_state_item_request_builder import SecurityBaselineStateItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Security param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SecurityBaselineStateCollectionResponse] """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: SecurityBaselineState, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SecurityBaselineState] """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: SecurityBaselineState, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> SecurityBaselineStatesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: SecurityBaselineStatesRequestBuilder """ + warn("This API is deprecated and will stop returning data on July 7, 2026. Use POST /deviceManagement/reports/getConfigurationSettingsReport instead. as of 2026-04/Rv1MigrationDeprecation on 2026-04-03 and will be removed 2026-07-07", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return SecurityBaselineStatesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/users/item/managed_devices/item/trigger_enhanced_log_collection/trigger_enhanced_log_collection_post_request_body.py b/msgraph_beta/generated/users/item/managed_devices/item/trigger_enhanced_log_collection/trigger_enhanced_log_collection_post_request_body.py new file mode 100644 index 00000000000..f5bb01bb0d1 --- /dev/null +++ b/msgraph_beta/generated/users/item/managed_devices/item/trigger_enhanced_log_collection/trigger_enhanced_log_collection_post_request_body.py @@ -0,0 +1,50 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class TriggerEnhancedLogCollectionPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The appleCareToken property + apple_care_token: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> TriggerEnhancedLogCollectionPostRequestBody: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: TriggerEnhancedLogCollectionPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return TriggerEnhancedLogCollectionPostRequestBody() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "appleCareToken": lambda n : setattr(self, 'apple_care_token', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("appleCareToken", self.apple_care_token) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/users/item/managed_devices/item/trigger_enhanced_log_collection/trigger_enhanced_log_collection_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/trigger_enhanced_log_collection/trigger_enhanced_log_collection_request_builder.py new file mode 100644 index 00000000000..7913944fea8 --- /dev/null +++ b/msgraph_beta/generated/users/item/managed_devices/item/trigger_enhanced_log_collection/trigger_enhanced_log_collection_request_builder.py @@ -0,0 +1,86 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + from .trigger_enhanced_log_collection_post_request_body import TriggerEnhancedLogCollectionPostRequestBody + +class TriggerEnhancedLogCollectionRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the triggerEnhancedLogCollection method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new TriggerEnhancedLogCollectionRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/users/{user%2Did}/managedDevices/{managedDevice%2Did}/triggerEnhancedLogCollection", path_parameters) + + async def post(self,body: TriggerEnhancedLogCollectionPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Triggers an AppleCare-authorized enhanced log collection session on a supervised Apple device. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + def to_post_request_information(self,body: TriggerEnhancedLogCollectionPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Triggers an AppleCare-authorized enhanced log collection session on a supervised Apple device. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> TriggerEnhancedLogCollectionRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: TriggerEnhancedLogCollectionRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return TriggerEnhancedLogCollectionRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class TriggerEnhancedLogCollectionRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/users/item/teamwork/sections/item/items/items_request_builder.py b/msgraph_beta/generated/users/item/teamwork/sections/item/items/items_request_builder.py index 65bdaf5303e..73fff27308f 100644 --- a/msgraph_beta/generated/users/item/teamwork/sections/item/items/items_request_builder.py +++ b/msgraph_beta/generated/users/item/teamwork/sections/item/items/items_request_builder.py @@ -19,6 +19,7 @@ from .......models.teamwork_section_item_collection_response import TeamworkSectionItemCollectionResponse from .count.count_request_builder import CountRequestBuilder from .item.teamwork_section_item_item_request_builder import TeamworkSectionItemItemRequestBuilder + from .reorder.reorder_request_builder import ReorderRequestBuilder class ItemsRequestBuilder(BaseRequestBuilder): """ @@ -137,6 +138,15 @@ def count(self) -> CountRequestBuilder: return CountRequestBuilder(self.request_adapter, self.path_parameters) + @property + def reorder(self) -> ReorderRequestBuilder: + """ + Provides operations to call the reorder method. + """ + from .reorder.reorder_request_builder import ReorderRequestBuilder + + return ReorderRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class ItemsRequestBuilderGetQueryParameters(): """ diff --git a/msgraph_beta/generated/users/item/teamwork/sections/item/items/reorder/reorder_post_request_body.py b/msgraph_beta/generated/users/item/teamwork/sections/item/items/reorder/reorder_post_request_body.py new file mode 100644 index 00000000000..dc234382b74 --- /dev/null +++ b/msgraph_beta/generated/users/item/teamwork/sections/item/items/reorder/reorder_post_request_body.py @@ -0,0 +1,50 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class ReorderPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The itemsOrder property + items_order: Optional[list[str]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> ReorderPostRequestBody: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: ReorderPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return ReorderPostRequestBody() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "itemsOrder": lambda n : setattr(self, 'items_order', n.get_collection_of_primitive_values(str)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_collection_of_primitive_values("itemsOrder", self.items_order) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/users/item/teamwork/sections/item/items/reorder/reorder_post_response.py b/msgraph_beta/generated/users/item/teamwork/sections/item/items/reorder/reorder_post_response.py new file mode 100644 index 00000000000..f29ec5a20ec --- /dev/null +++ b/msgraph_beta/generated/users/item/teamwork/sections/item/items/reorder/reorder_post_response.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ........models.teamwork_section_item import TeamworkSectionItem + +from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class ReorderPostResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[list[TeamworkSectionItem]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> ReorderPostResponse: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: ReorderPostResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return ReorderPostResponse() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ........models.teamwork_section_item import TeamworkSectionItem + + from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ........models.teamwork_section_item import TeamworkSectionItem + + fields: dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(TeamworkSectionItem)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/users/item/teamwork/sections/item/items/reorder/reorder_request_builder.py b/msgraph_beta/generated/users/item/teamwork/sections/item/items/reorder/reorder_request_builder.py new file mode 100644 index 00000000000..14eeff52e37 --- /dev/null +++ b/msgraph_beta/generated/users/item/teamwork/sections/item/items/reorder/reorder_request_builder.py @@ -0,0 +1,90 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ........models.o_data_errors.o_data_error import ODataError + from .reorder_post_request_body import ReorderPostRequestBody + from .reorder_post_response import ReorderPostResponse + +class ReorderRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the reorder method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new ReorderRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/users/{user%2Did}/teamwork/sections/{teamworkSection%2Did}/items/reorder", path_parameters) + + async def post(self,body: ReorderPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ReorderPostResponse]: + """ + Reorder the items in a user-defined section in a user's teamwork. The section must have sortType set to userDefinedCustomOrder, and the itemsOrder collection must contain every item ID returned by List items, exactly once. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ReorderPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/teamworksectionitem-reorder?view=graph-rest-beta + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .reorder_post_response import ReorderPostResponse + + return await self.request_adapter.send_async(request_info, ReorderPostResponse, error_mapping) + + def to_post_request_information(self,body: ReorderPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Reorder the items in a user-defined section in a user's teamwork. The section must have sortType set to userDefinedCustomOrder, and the itemsOrder collection must contain every item ID returned by List items, exactly once. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> ReorderRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: ReorderRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ReorderRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class ReorderRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/users/item/teamwork/sections/reorder/reorder_post_request_body.py b/msgraph_beta/generated/users/item/teamwork/sections/reorder/reorder_post_request_body.py new file mode 100644 index 00000000000..8a5ce3bd6c4 --- /dev/null +++ b/msgraph_beta/generated/users/item/teamwork/sections/reorder/reorder_post_request_body.py @@ -0,0 +1,50 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class ReorderPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The sectionsOrder property + sections_order: Optional[list[str]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> ReorderPostRequestBody: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: ReorderPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return ReorderPostRequestBody() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "sectionsOrder": lambda n : setattr(self, 'sections_order', n.get_collection_of_primitive_values(str)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_collection_of_primitive_values("sectionsOrder", self.sections_order) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/users/item/teamwork/sections/reorder/reorder_post_response.py b/msgraph_beta/generated/users/item/teamwork/sections/reorder/reorder_post_response.py new file mode 100644 index 00000000000..4875a48e6f0 --- /dev/null +++ b/msgraph_beta/generated/users/item/teamwork/sections/reorder/reorder_post_response.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.teamwork_section import TeamworkSection + +from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class ReorderPostResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[list[TeamworkSection]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> ReorderPostResponse: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: ReorderPostResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return ReorderPostResponse() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.teamwork_section import TeamworkSection + + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.teamwork_section import TeamworkSection + + fields: dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(TeamworkSection)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/users/item/teamwork/sections/reorder/reorder_request_builder.py b/msgraph_beta/generated/users/item/teamwork/sections/reorder/reorder_request_builder.py new file mode 100644 index 00000000000..d2ff6aa16be --- /dev/null +++ b/msgraph_beta/generated/users/item/teamwork/sections/reorder/reorder_request_builder.py @@ -0,0 +1,90 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + from .reorder_post_request_body import ReorderPostRequestBody + from .reorder_post_response import ReorderPostResponse + +class ReorderRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the reorder method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new ReorderRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/users/{user%2Did}/teamwork/sections/reorder", path_parameters) + + async def post(self,body: ReorderPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ReorderPostResponse]: + """ + Reorder the sections in a user's teamwork. The sectionsOrder collection must contain every section ID returned by List sections, exactly once. If the collection contains the *QuickViews* system section, that section must be first. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ReorderPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/teamworksection-reorder?view=graph-rest-beta + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .reorder_post_response import ReorderPostResponse + + return await self.request_adapter.send_async(request_info, ReorderPostResponse, error_mapping) + + def to_post_request_information(self,body: ReorderPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Reorder the sections in a user's teamwork. The sectionsOrder collection must contain every section ID returned by List sections, exactly once. If the collection contains the *QuickViews* system section, that section must be first. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> ReorderRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: ReorderRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ReorderRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class ReorderRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/users/item/teamwork/sections/sections_request_builder.py b/msgraph_beta/generated/users/item/teamwork/sections/sections_request_builder.py index c752c5e84dd..118bf5afa56 100644 --- a/msgraph_beta/generated/users/item/teamwork/sections/sections_request_builder.py +++ b/msgraph_beta/generated/users/item/teamwork/sections/sections_request_builder.py @@ -19,6 +19,7 @@ from .....models.teamwork_section_collection_response import TeamworkSectionCollectionResponse from .count.count_request_builder import CountRequestBuilder from .item.teamwork_section_item_request_builder import TeamworkSectionItemRequestBuilder + from .reorder.reorder_request_builder import ReorderRequestBuilder class SectionsRequestBuilder(BaseRequestBuilder): """ @@ -137,6 +138,15 @@ def count(self) -> CountRequestBuilder: return CountRequestBuilder(self.request_adapter, self.path_parameters) + @property + def reorder(self) -> ReorderRequestBuilder: + """ + Provides operations to call the reorder method. + """ + from .reorder.reorder_request_builder import ReorderRequestBuilder + + return ReorderRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class SectionsRequestBuilderGetQueryParameters(): """